專案

一般

配置概況

問題 #71

Avatar?id=178&size=50x50

教學 #70: 如何將樹莓派變成無線印表機伺服器

從其他電腦列印到樹莓派的cups印表機只能印一次

是由 Nickle Cheng 於 11 個月 前加入. 於 11 個月 前更新.

狀態:
新建立
優先權:
正常
被分派者:
-
開始日期:
2018-01-05
完成日期:
完成百分比:

0%

預估工時:

概述

cups安裝印表機之後,從其他電腦列印到樹莓派的印表機,只能印一次,
再印第二次時,print job有送到cups,看起來也有完成,但就是沒印出來,
需要將印表機(Godex G500)重新開機才會再印

Printer prints only once after each reboot or re-plugging of USB cable

https://askubuntu.com/questions/500806/cups-problem-printers-stop-after-print-several-raw-jobs

For each printer run this command:
lpadmin -p PRINTERNAME -o usb-no-reattach-default=true
Then restart CUPS
sudo service cups restart

歷史

#1 Avatar?id=178&size=24x24 是由 Nickle Cheng 於 11 個月 前更新

https://www.linuxquestions.org/questions/linux-software-2/cups-print-jobs-shows-completed-but-page-doesn%27t-print-688808/

Let's check /etc/samba/smb.conf and remove cups options = raw line in [global] section config and it's work like a charm.

#2 Avatar?id=178&size=24x24 是由 Nickle Cheng 於 11 個月 前更新

  • 概述 已更新 (diff)

#3 Avatar?id=178&size=24x24 是由 Nickle Cheng 於 11 個月 前更新

  • 概述 已更新 (diff)

#4 Avatar?id=178&size=24x24 是由 Nickle Cheng 於 11 個月 前更新

這篇文章看來應該是這個原因了

The new CUPS USB code handles the Intermec printers wrongly and at the end of each print job the USB device is reattached, and the /var/log/syslog or dmesg will contain the entry:
[ 177.517349] usblp0: removed

This behavior can changed by configuring CUPS to not perform reattach, by calling the following command from a terminal window:
lpadmin -p PC43t-203-FP -o usb-no-reattach-default=true

匯出至 Atom PDF

回到頁首