[問題] SAMBA+CUPS+非postscript印表機 (已解決)

看板Linux作者 (RU~)時間16年前 (2009/08/09 18:04), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
自問自答......... 分享一下解決方法........ 我被預設的設定檔陰了..... 預設的/etc/samba/smb.conf 裡面有一行 cups options = raw ...........把他註解掉就好了 也就是改成 ; cups options = raw 真是太蠢了......... ※ 引述《x4base (RU~)》之銘言: : 請問一下 : 我的作業系統是Fedora 10 (64-bit) : 我安裝了 : samba-3.2.11 : cups-1:1.3.10-5 : hplip-2.8.12-6 : ghostscript-8.63-6 : 設定大多是參考鳥哥的網站 : http://linux.vbird.org/linux_server/0370samba.php#server_printer : windows postscript驅動也是用上面網頁提供的 : (ps5ui.dll, pscript5.dll, pscript.hlp, pscript.ntf) : cups的驅動則是用cups-windows-1:6.0-1(i386) : (cups-windows-6.0-1.i386.rpm from http://www.cups.org/software.php ) : (cups6.inf. cups6.ini, cupsps6.dll, cupsui6.dll) : (不知道用i386版本是不是正確) : 我想分享印表機給室友的Windows XP (32-bit) : 我的印表機是 HP PSC 2210 多功能事務機 : http://tinyurl.com/l9r4gg : 印表機的驅動是Fedora自動幫我裝好的 : 本機列印完全正常 : 從windows端可以新增印表機 : 但是 : 當我在記事上打「123」測試列印 : 印出來的結果卻是一整張 : %!PS-Adobe-3.0 : %cupsJobTicket: job-hold-until=no-hold : %cupsJobTicket: job-sheets=n : %%Title: <AE4CA474A5D1A8BD2DB25CA5FAB07BB07B> : %%Creator> PScripts5.dll Version 5.2 : ......... : 滿滿的指令 : 我自己是猜可能是PostScript指令 : 而且我猜我的印表機應該也不是支援PostScript的機型 : 但我本機列印非常正常 : 表示postScript interpreter應該存在吧? : 為什麼透過samba結果卻不一樣呢 : 請問我應該調整哪邊的設定 : 或者打什麼關鍵字或參考什麼文件 : 謝謝! : 印出來的內容長得像這樣 : %!PS-Adobe-3.0 : %%Title: <A5BCA952A657202D20B04FA8C6A5BB> : %%Creator: PScript5.dll Version 5.2 : %%CreationDate: 8/9/2009 1:59:23 : %%BoundingBox: (atend) : %%Pages: (atend) : %%Orientation: Portrait : %%PageOrder: Ascend : %%DocumentNeededResources: (atend) : %%DocumentSuppliedResources: (atend) : %%DocumentData: Clean7Bit : %%TargetDevice: (PSC 2200 Series) (3010.000) 550 : %%LanguageLevel: 3 : %%EndComments : %%BeginDefaults : %%PageBoundingBox: 18 36 594 783 : %%ViewingOrientation: 1 0 0 1 : %%EndDefaults : %%BeginProlog : %%BeginResource: file Pscript_WinNT_ErrorHandler 5.0 0 : /currentpacking where{pop/oldpack currentpacking def/setpacking where{pop : false : setpacking}if}if/$brkpage 64 dict def $brkpage begin/prnt{dup type/stringtype : ne{=string cvs}if dup length 6 mul/tx exch def/ty 10 def currentpoint/toy : exch : def/tox exch def 1 setgray newpath tox toy 2 sub moveto 0 ty rlineto tx 0 : rlineto 0 ty neg rlineto closepath fill tox toy moveto 0 setgray show}bind : def : /nl{currentpoint exch pop lmargin exch moveto 0 -10 rmoveto}def/=={/cp 0 def : typeprint nl}def/typeprint{dup type exec}readonly def/lmargin 72 def/rmargin : 72 : def/tprint{dup length cp add rmargin gt{nl/cp 0 def}if dup length cp add/cp : ................ : Pscript_WinNT_ErrorHandler會出現 : 是表示我的驅動程式是錯的嗎? -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 122.116.238.74
文章代碼(AID): #1AVfyZQm (Linux)
文章代碼(AID): #1AVfyZQm (Linux)