佳能 LBP2900 和 Debian Wheezy

佳能 LBP2900 和 Debian Wheezy

我使用 Canon LBP2900 和 Debian Wheezy amd64。我從 Canon 網站安裝了官方 64 位元驅動程式 (alien --scripts --to-deb *.rpm)。

將印表機新增至 59687 套接字:

lpadmin -p LBP2900 -m CNCUPSLBP2900CAPTK.ppd -v ccp://localhost:59687 -E

captstatusui -P LBP2900 視窗開啟並顯示訊息:

Printer Error
Check the DevicePath of /etc/ccpd.conf

我檢查了/etc/ccpd.conf,發現一個錯誤。

> cat /etc/ccpd.conf

<Path>
CUPS_ConfigPath /etc/cups/
</Path>

<Printer LBP2900>
DevicePath /dev/usb/lp1
</Printer>

<Ports>
UI_Port 59787
PDATA_Port 59687
</Ports>

USB裝置:

> ls -la /dev/usb/lp1
crw-rw---T 1 root lp 180, 1 Ноя 28 15:25 /dev/usb/lp1

怎麼修?

答案1

錯誤的:

lpadmin -p LBP2900 -m CNCUPSLBP2900CAPTK.ppd -v ccp://localhost:59687 -E

正確的:

lpadmin -p LBP2900 -m CNCUPSLBP2900CAPTK.ppd -v ccp:localhost:59687 -E

//之後就不需要了ccp:

相關內容