cups,攪不定...

如果您覺得您的問題不屬於 debian desktop 或是 debian server 版的範圍內,請在這裡發問。

版主: mufa

cups,攪不定...

文章訪客 » 週六 1月 10, 2004 11:06 am

小弟依據moto前輩的無痛起步裝好了cups,也設好了印表機
利用http://localhost:631/設定好了印表機
並可以藉以列印 Test Page

不過當我用其他程式去列印時,總是石沈大海
例如gedit、openoffice都一樣,他們送出列印要求後
整個都沒下文了,印表機動也不動
我連用最簡單的指令如下:

$ lp file
request id is hp692-32 (1 file(s))

如各位所見,會出現cups已接受的訊息,但是根本沒印
不知道這是不是cups設定的問題呢?
先謝謝各位前輩了

/var/log/cups/error_log如下:


I [10/Jan/2004:10:04:32 +0800] Listening to 0:631
I [10/Jan/2004:10:04:32 +0800] Loaded configuration file "/etc/cups/cupsd.conf"
I [10/Jan/2004:10:04:32 +0800] Configured for up to 100 clients.
I [10/Jan/2004:10:04:32 +0800] Allowing up to 100 client connections per host.
I [10/Jan/2004:10:04:32 +0800] Full reload is required.
I [10/Jan/2004:10:04:38 +0800] LoadPPDs: Wrote "/etc/cups/ppds.dat", 925 PPDs...
E [10/Jan/2004:10:04:38 +0800] LoadAllJobs: Unable to queue job for destination "http://ooxx.ooxx.org:631/printers/hp692"!
E [10/Jan/2004:10:04:38 +0800] LoadAllJobs: Unable to queue job for destination "http://ooxx.ooxx.org:631/printers/hp692"!
E [10/Jan/2004:10:04:38 +0800] LoadAllJobs: Unable to queue job for destination "http://ooxx.ooxx.org:631/printers/hp692"!
E [10/Jan/2004:10:04:38 +0800] LoadAllJobs: Unable to queue job for destination "http://ooxx.ooxx.org:631/printers/hp692"!
E [10/Jan/2004:10:04:38 +0800] LoadAllJobs: Unable to queue job for destination "http://ooxx.ooxx.org:631/printers/hp692"!
E [10/Jan/2004:10:04:38 +0800] LoadAllJobs: Unable to queue job for destination "http://ooxx.ooxx.org:631/printers/hp692"!
E [10/Jan/2004:10:04:38 +0800] LoadAllJobs: Unable to queue job for destination "http://ooxx.ooxx.org:631/printers/hp692"!
E [10/Jan/2004:10:04:38 +0800] LoadAllJobs: Unable to queue job for destination "http://ooxx.ooxx.org:631/printers/hp692"!
E [10/Jan/2004:10:04:38 +0800] LoadAllJobs: Unable to queue job for destination "http://ooxx.ooxx.org:631/printers/hp692"!
E [10/Jan/2004:10:04:38 +0800] LoadAllJobs: Unable to queue job for destination "http://ooxx.ooxx.org:631/printers/hp692"!
E [10/Jan/2004:10:04:38 +0800] LoadAllJobs: Unable to queue job for destination "http://ooxx.ooxx.org:631/printers/hp692"!
E [10/Jan/2004:10:04:38 +0800] LoadAllJobs: Unable to queue job for destination "http://ooxx.ooxx.org:631/printers/hp692"!
I [10/Jan/2004:10:04:39 +0800] Full reload complete.
I [10/Jan/2004:10:04:58 +0800] Started "/usr/lib/cups/cgi-bin/printers.cgi" (pid=1743)
I [10/Jan/2004:10:05:35 +0800] Started "/usr/lib/cups/cgi-bin/admin.cgi" (pid=1744)
I [10/Jan/2004:10:06:15 +0800] Started "/usr/lib/cups/cgi-bin/admin.cgi" (pid=1747)
I [10/Jan/2004:10:06:23 +0800] Started "/usr/lib/cups/cgi-bin/admin.cgi" (pid=1748)
I [10/Jan/2004:10:06:29 +0800] Started "/usr/lib/cups/cgi-bin/admin.cgi" (pid=1749)
I [10/Jan/2004:10:06:37 +0800] Started "/usr/lib/cups/cgi-bin/admin.cgi" (pid=1750)
I [10/Jan/2004:10:07:00 +0800] Started "/usr/lib/cups/cgi-bin/admin.cgi" (pid=1752)
I [10/Jan/2004:10:07:01 +0800] Setting hp692 device-uri to "parallel:/dev/lp0" (was "file:/dev/null".)
I [10/Jan/2004:10:07:01 +0800] Setting hp692 printer-is-accepting-jobs to 1 (was 0.)
I [10/Jan/2004:10:07:01 +0800] Setting hp692 printer-state to 3 (was 5.)
I [10/Jan/2004:10:07:01 +0800] Saving printers.conf...
I [10/Jan/2004:10:07:01 +0800] New printer 'hp692' added by 'root'.
I [10/Jan/2004:10:07:06 +0800] Started "/usr/lib/cups/cgi-bin/printers.cgi" (pid=1753)
I [10/Jan/2004:10:07:09 +0800] Started "/usr/lib/cups/cgi-bin/printers.cgi" (pid=1754)
I [10/Jan/2004:10:07:09 +0800] Adding start banner page "none" to job 13.
I [10/Jan/2004:10:07:09 +0800] Adding end banner page "none" to job 13.
I [10/Jan/2004:10:07:09 +0800] Job 13 queued on 'hp692' by 'root'.
I [10/Jan/2004:10:07:09 +0800] Started filter /usr/lib/cups/filter/pstops (PID 1755) for job 13.
I [10/Jan/2004:10:07:09 +0800] Started filter /usr/lib/cups/filter/cupsomatic (PID 1756) for job 13.
I [10/Jan/2004:10:07:09 +0800] Started backend /usr/lib/cups/backend/parallel (PID 1757) for job 13.
I [10/Jan/2004:10:07:38 +0800] Started "/usr/lib/cups/cgi-bin/printers.cgi" (pid=1762)
I [10/Jan/2004:10:07:41 +0800] Started "/usr/lib/cups/cgi-bin/admin.cgi" (pid=1763)
I [10/Jan/2004:10:07:44 +0800] Started "/usr/lib/cups/cgi-bin/admin.cgi" (pid=1764)
I [10/Jan/2004:10:07:47 +0800] Started "/usr/lib/cups/cgi-bin/admin.cgi" (pid=1765)
I [10/Jan/2004:10:46:08 +0800] Started backend /usr/lib/cups/backend/parallel (PID 4459) for job 28.
I [10/Jan/2004:10:46:41 +0800] Started "/usr/lib/cups/cgi-bin/jobs.cgi" (pid=4492)
I [10/Jan/2004:10:46:44 +0800] Started "/usr/lib/cups/cgi-bin/jobs.cgi" (pid=4493)
I [10/Jan/2004:10:46:47 +0800] Started "/usr/lib/cups/cgi-bin/jobs.cgi" (pid=4494)
I [10/Jan/2004:10:46:52 +0800] Started "/usr/lib/cups/cgi-bin/jobs.cgi" (pid=4495)
E [10/Jan/2004:10:46:52 +0800] restart_job: job #28 cannot be restarted - no files!
I [10/Jan/2004:10:50:23 +0800] Started "/usr/lib/cups/cgi-bin/jobs.cgi" (pid=4503)
I [10/Jan/2004:10:50:26 +0800] Started "/usr/lib/cups/cgi-bin/jobs.cgi" (pid=4504)
I [10/Jan/2004:10:50:39 +0800] Started "/usr/lib/cups/cgi-bin/jobs.cgi" (pid=4505)
I [10/Jan/2004:10:50:42 +0800] Started "/usr/lib/cups/cgi-bin/printers.cgi" (pid=4506)
I [10/Jan/2004:10:50:54 +0800] Started "/usr/lib/cups/cgi-bin/jobs.cgi" (pid=4507)
E [10/Jan/2004:10:50:54 +0800] restart_job: job #23 cannot be restarted - no files!
I [10/Jan/2004:10:54:10 +0800] Adding start banner page "none" to job 29.
I [10/Jan/2004:10:54:10 +0800] Adding end banner page "none" to job 29.
I [10/Jan/2004:10:54:10 +0800] Job 29 queued on 'hp692' by 'winlin'.
I [10/Jan/2004:10:54:10 +0800] Started filter /usr/lib/cups/filter/pstops (PID 4519) for job 29.
I [10/Jan/2004:10:54:10 +0800] Started filter /usr/lib/cups/filter/cupsomatic (PID 4520) for job 29.
I [10/Jan/2004:10:54:10 +0800] Started backend /usr/lib/cups/backend/parallel (PID 4521) for job 29.
I [10/Jan/2004:10:55:34 +0800] Adding start banner page "none" to job 30.
I [10/Jan/2004:10:55:34 +0800] Adding end banner page "none" to job 30.
I [10/Jan/2004:10:55:34 +0800] Job 30 queued on 'hp692' by 'winlin'.
I [10/Jan/2004:10:55:34 +0800] Started filter /usr/lib/cups/filter/pstops (PID 4533) for job 30.
I [10/Jan/2004:10:55:34 +0800] Started filter /usr/lib/cups/filter/cupsomatic (PID 4534) for job 30.
I [10/Jan/2004:10:55:34 +0800] Started backend /usr/lib/cups/backend/parallel (PID 4535) for job 30.
I [10/Jan/2004:10:56:26 +0800] Started "/usr/lib/cups/cgi-bin/classes.cgi" (pid=4567)
I [10/Jan/2004:10:56:31 +0800] Started "/usr/lib/cups/cgi-bin/jobs.cgi" (pid=4569)
I [10/Jan/2004:11:01:24 +0800] Adding start banner page "none" to job 31.
I [10/Jan/2004:11:01:24 +0800] Adding end banner page "none" to job 31.
I [10/Jan/2004:11:01:24 +0800] Job 31 queued on 'hp692' by 'root'.
I [10/Jan/2004:11:01:24 +0800] Started filter /usr/lib/cups/filter/texttops (PID 4591) for job 31.
I [10/Jan/2004:11:01:24 +0800] Started filter /usr/lib/cups/filter/pstops (PID 4592) for job 31.
I [10/Jan/2004:11:01:24 +0800] Started filter /usr/lib/cups/filter/cupsomatic (PID 4593) for job 31.
I [10/Jan/2004:11:01:24 +0800] Started backend /usr/lib/cups/backend/parallel (PID 4594) for job 31.
I [10/Jan/2004:11:02:00 +0800] Started "/usr/lib/cups/cgi-bin/classes.cgi" (pid=4604)
I [10/Jan/2004:11:02:02 +0800] Started "/usr/lib/cups/cgi-bin/printers.cgi" (pid=4605)
I [10/Jan/2004:11:07:28 +0800] Started "/usr/lib/cups/cgi-bin/jobs.cgi" (pid=4623)
I [10/Jan/2004:11:10:22 +0800] Adding start banner page "none" to job 32.
I [10/Jan/2004:11:10:22 +0800] Adding end banner page "none" to job 32.
I [10/Jan/2004:11:10:22 +0800] Job 32 queued on 'hp692' by 'winlin'.
I [10/Jan/2004:11:10:22 +0800] Started filter /usr/lib/cups/filter/texttops (PID 4630) for job 32.
I [10/Jan/2004:11:10:22 +0800] Started filter /usr/lib/cups/filter/pstops (PID 4631) for job 32.
I [10/Jan/2004:11:10:22 +0800] Started filter /usr/lib/cups/filter/cupsomatic (PID 4632) for job 32.
I [10/Jan/2004:11:10:22 +0800] Started backend /usr/lib/cups/backend/parallel (PID 4633) for job 32.
訪客
 

re:cups,攪不定...

文章阿信 » 週六 1月 10, 2004 11:14 am

errr...能請您先 post cups 版本資訊,印表機型號,Debian branch...

由上面來看,只能猜測 CUPS 不完整支援您的 printer
頭像
阿信
版面大總管
版面大總管
 
文章: 4756
註冊時間: 週二 9月 03, 2002 11:58 pm
來自: 台灣 - 嘉義

re:cups,攪不定...

文章訪客 » 週六 1月 10, 2004 6:46 pm

阿信兄
是debian woody啦
但是我用了一堆backport
所以一堆套件很亂
我之前還用純stable woody時,cups是沒問題的
但是亂升級套件後,cups就不能用了

目前
我發現用 cat filename > /dev/lp0
可以使用,但是使用lpr或lp就只會出現字列說:
request id is hp692-32 (1 file(s))

包含
kernel-2.6.0,讚!很好用!
hp-692很舊的印表機
cupsys-1.1.20final-4.backports.org.1
cupsys-client-1.1.20final-4.backports.org.1
...等
都是backport.org的為主
還需要post那些套件嗎?

謝謝啦
訪客
 

re:cups,攪不定...

文章momofarm » 週六 1月 10, 2004 7:32 pm

cups之前在用的時候有bug(現在不知道)
他對我的epson stulus c41ux會偵測不到印表機有紙無紙.....
網路上的討論也是bug蠻多的@.@.....
momofarm
可愛的小學生
可愛的小學生
 
文章: 9
註冊時間: 週五 2月 07, 2003 5:20 pm

re:cups,攪不定...

文章阿信 » 週六 1月 10, 2004 9:59 pm

Anonymous 寫:阿信兄
是debian woody啦
但是我用了一堆backport
所以一堆套件很亂
我之前還用純stable woody時,cups是沒問題的
但是亂升級套件後,cups就不能用了

目前
我發現用 cat filename > /dev/lp0
可以使用,但是使用lpr或lp就只會出現字列說:
request id is hp692-32 (1 file(s))

包含
kernel-2.6.0,讚!很好用!
hp-692很舊的印表機
cupsys-1.1.20final-4.backports.org.1
cupsys-client-1.1.20final-4.backports.org.1
...等
都是backport.org的為主
還需要post那些套件嗎?

謝謝啦


hi...訪客兄,假設您的 printer 支援如下
http://www.linuxprinting.org/show_print ... skJet_692C

driver pkg應該是:foomatic-db-hpijs 檢查一下吧...

也有可能是 backport.org 的套件出了問題...
頭像
阿信
版面大總管
版面大總管
 
文章: 4756
註冊時間: 週二 9月 03, 2002 11:58 pm
來自: 台灣 - 嘉義

re:cups,攪不定...

文章carlos » 週六 1月 10, 2004 10:31 pm

momofarm 寫:cups之前在用的時候有bug(現在不知道)
他對我的epson stulus c41ux會偵測不到印表機有紙無紙.....
網路上的討論也是bug蠻多的@.@.....

my c41ux have worked perfectly in Debian sid since March 2003.
頭像
carlos
活潑的高中生
活潑的高中生
 
文章: 307
註冊時間: 週五 4月 04, 2003 7:02 pm
來自: NZ

re:cups,攪不定...

文章訪客 » 週日 1月 11, 2004 11:15 am

各位前輩
小弟我在開機的最後畫面瞥見cups的啟動錯誤訊息
原來是少了某個相依性套件裡的什麼so.4的
不太記得了
總之補安裝後,就OK了
果然...
用backport
有時還真得注意一下各個backport站台所作的套件相依性
某甲的cups和某乙所做的的cups其他相依套件不一定相合
要小心

謝謝阿信兄
那個網站我之前找過了,但是實在找不到相關的解答
但cups弄好後,把hpijs裝上去
的確比之前的列印效果更佳

謝謝大家了~
訪客
 


回到 debian misc

誰在線上

正在瀏覽這個版面的使用者:Google [Bot] 和 1 位訪客