Eu uso Canon LBP2900 e Debian Wheezy amd64. Instalei o driver oficial de 64 bits do site da Canon (alien --scripts --to-deb *.rpm).
Adicione a impressora ao soquete 59687:
lpadmin -p LBP2900 -m CNCUPSLBP2900CAPTK.ppd -v ccp://localhost:59687 -E
captstatusui -P LBP2900 a janela aberta com as mensagens:
Printer Error
Check the DevicePath of /etc/ccpd.conf
Verifiquei /etc/ccpd.conf e encontrei um erro.
> 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>
Dispositivo USB:
> ls -la /dev/usb/lp1
crw-rw---T 1 root lp 180, 1 Ноя 28 15:25 /dev/usb/lp1
Como consertar?
Responder1
errado:
lpadmin -p LBP2900 -m CNCUPSLBP2900CAPTK.ppd -v ccp://localhost:59687 -E
correto:
lpadmin -p LBP2900 -m CNCUPSLBP2900CAPTK.ppd -v ccp:localhost:59687 -E
Não há necessidade de //
depois ccp:
.