O trabalho da impressora Canon aguenta “Processando”

0

Tenho Canon LBP-3300 e instalei cndrvcups-capt_2.70-1_amd64.deb e cndrvcups-common_3.20-1_amd64.deb sem nenhum problema.

LBP3300 está sendo exibido em impressoras:

Masquandoqueroimprimiratarefa,aguardeProcessando:

Eufuiaohttp://localhost:631/printers/eelemostraProcessing-"Sending data to printer."

Resultadodetail-f/var/log/syslogquandoaimpressoraestáligadaeoUSBestáconectado:

Jan2713:26:55ice-systemudev-configure-printer[6276]:remove/devices/pci0000:00/0000:00:1a.7/usb1/1-1Jan2713:26:55ice-systemudev-configure-printer[6276]:URIofdetectedprinter:usb://Canon/LBP3300?serial=00001184PI9N,normalized:canonlbp3300serial00001184pi9nJan2713:26:55ice-systemudev-configure-printer[6276]:URIofprintqueue:usb://Canon/LBP3300?serial=00001184PI9N,normalized:canonlbp3300serial00001184pi9nJan2713:26:55ice-systemudev-configure-printer[6276]:Queueipp://localhost/printers/LBP3300hasmatchingdeviceURIJan2713:26:55ice-systemudev-configure-printer[6276]:Disabledprinteripp://localhost/printers/LBP3300asthecorrespondingdevicewasunpluggedorturnedoffJan2713:26:55ice-systemsystemd[1]:printer.target:Unitnotneededanymore.Stopping.Jan2713:26:55ice-systemsystemd[1]:StoppedtargetPrinter.Jan2713:26:55ice-systemkernel:[2450.174875][UFWBLOCK]IN=enp5s0OUT=MAC=SRC=fe80:0000:0000:0000:c327:77e1:783a:4ca2DST=ff02:0000:0000:0000:0000:0000:0000:0001LEN=64TC=0HOPLIMIT=1FLOWLBL=958574PROTO=UDPSPT=8612DPT=8612LEN=24Jan2713:26:55ice-systemkernel:[2450.174898][UFWBLOCK]IN=enp5s0OUT=MAC=SRC=fe80:0000:0000:0000:c327:77e1:783a:4ca2DST=ff02:0000:0000:0000:0000:0000:0000:0001LEN=64TC=0HOPLIMIT=1FLOWLBL=39070PROTO=UDPSPT=8612DPT=8610LEN=24Jan2713:26:55ice-systemkernel:[2450.185099][UFWBLOCK]IN=enp5s0OUT=MAC=SRC=fe80:0000:0000:0000:c327:77e1:783a:4ca2DST=ff02:0000:0000:0000:0000:0000:0000:0001LEN=64TC=0HOPLIMIT=1FLOWLBL=958574PROTO=UDPSPT=8612DPT=8612LEN=24Jan2713:27:26ice-systemkernel:[2481.527150]usb1-1:newhigh-speedUSBdevicenumber5usingehci-pciJan2713:27:26ice-systemkernel:[2481.681297]usb1-1:NewUSBdevicefound,idVendor=04a9,idProduct=267eJan2713:27:26ice-systemkernel:[2481.681300]usb1-1:NewUSBdevicestrings:Mfr=1,Product=2,SerialNumber=3Jan2713:27:26ice-systemkernel:[2481.681302]usb1-1:Product:CanonCAPTUSBDeviceJan2713:27:26ice-systemkernel:[2481.681304]usb1-1:Manufacturer:CanonJan2713:27:26ice-systemkernel:[2481.681305]usb1-1:SerialNumber:00001184PI9NJan2713:27:26ice-systemkernel:[2481.682776]usblp1-1:1.0:usblp1:USBBidirectionalprinterdev5if0alt0proto2vid0x04A9pid0x267EJan2713:27:26ice-systemmtp-probe:checkingbus1,device5:"/sys/devices/pci0000:00/0000:00:1a.7/usb1/1-1"
Jan 27 13:27:26 ice-system mtp-probe: bus: 1, device: 5 was not an MTP device
Jan 27 13:27:26 ice-system systemd[1]: Starting Automatic USB/Bluetooth printer setup (-devices-pci0000:00-0000:00:1a.7-usb1-1\x2d1)...
Jan 27 13:27:26 ice-system systemd[1]: Reached target Printer.
Jan 27 13:27:26 ice-system udev-configure-printer[6301]: add /devices/pci0000:00/0000:00:1a.7/usb1/1-1
Jan 27 13:27:26 ice-system udev-configure-printer[6301]: device devpath is /devices/pci0000:00/0000:00:1a.7/usb1/1-1
Jan 27 13:27:26 ice-system udev-configure-printer[6301]: MFG:Canon MDL:LBP3300 SERN:- serial:00001184PI9N
Jan 27 13:27:26 ice-system kernel: [ 2481.772149] [UFW BLOCK] IN=enp5s0 OUT= MAC= SRC=fe80:0000:0000:0000:c327:77e1:783a:4ca2 DST=ff02:0000:0000:0000:0000:0000:0000:0001 LEN=64 TC=0 HOPLIMIT=1 FLOWLBL=958574 PROTO=UDP SPT=8612 DPT=8612 LEN=24 
Jan 27 13:27:26 ice-system kernel: [ 2481.772167] [UFW BLOCK] IN=enp5s0 OUT= MAC= SRC=fe80:0000:0000:0000:c327:77e1:783a:4ca2 DST=ff02:0000:0000:0000:0000:0000:0000:0001 LEN=64 TC=0 HOPLIMIT=1 FLOWLBL=39070 PROTO=UDP SPT=8612 DPT=8610 LEN=24 
Jan 27 13:27:31 ice-system kernel: [ 2486.746164] usblp1: removed
Jan 27 13:27:31 ice-system kernel: [ 2486.749422] usblp 1-1:1.0: usblp1: USB Bidirectional printer dev 5 if 0 alt 0 proto 2 vid 0x04A9 pid 0x267E
Jan 27 13:27:31 ice-system udev-configure-printer[6301]: URI contains USB serial number
Jan 27 13:27:31 ice-system udev-configure-printer[6301]: URI match: usb://Canon/LBP3300?serial=00001184PI9N
Jan 27 13:27:31 ice-system udev-configure-printer[6301]: URI of detected printer: usb://Canon/LBP3300?serial=00001184PI9N, normalized: canon lbp3300 serial 00001184pi9n
Jan 27 13:27:31 ice-system udev-configure-printer[6301]: URI of print queue: usb://Canon/LBP3300?serial=00001184PI9N, normalized: canon lbp3300 serial 00001184pi9n
Jan 27 13:27:31 ice-system udev-configure-printer[6301]: Queue ipp://localhost/printers/LBP3300 has matching device URI
Jan 27 13:27:31 ice-system udev-configure-printer[6301]: Re-enabled printer ipp://localhost/printers/LBP3300
Jan 27 13:27:31 ice-system systemd[1]: Started Automatic USB/Bluetooth printer setup (-devices-pci0000:00-0000:00:1a.7-usb1-1\x2d1).
Jan 27 13:27:31 ice-system kernel: [ 2486.909373] usblp1: removed

Resultado de lpinfo -v quando a impressora está ligada e o USB está conectado:

network http
network ipp14
network beh
network lpd
network socket
network ipp
network ipps
direct hp
direct ccp
network https
direct usb://Canon/LBP3300?serial=00001184PI9N
direct hpfax

Resultado de lsusb quando a impressora está ligada e o USB está conectado:

Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 002: ID 04a9:267e Canon, Inc. 
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 009 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 010 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub

Como posso resolver o problema?

    
por ICE 27.01.2018 / 11:16

1 resposta

1

A Canon diria que você precisa fazer 4 coisas para o driver CAPT no linux

1) instale os drivers

2) Registre a impressora (PPD) com o spooler de impressão.

3) Registre a impressora no arquivo de instalação do daemon ccpd.

4) inicie o daemon do ccpd

1) obtenha os drivers mais recentes aqui link e clique para fazer o download e salve o linux-capt-drv-v271-uken.tar.gz

2) sudo /usr/sbin/lpadmin -p LBP3300 -m CNCUPSLBP3300CAPTK.ppd -v ccp://localhost:59787 –E ..... note que tudo é uma linha ......

3) sudo /usr/sbin/ccpdadmin -p LBP3300 -o /dev/usb/lp0 e que assume apenas uma impressora USB

4) sudo /etc/init.d/ccpd start

e para mim isso funcionou em duas 16.04 instalações separadas

    
por pdc 28.01.2018 / 23:25