2

I have Canon LBP-3300 and installed cndrvcups-capt_2.70-1_amd64.deb and cndrvcups-common_3.20-1_amd64.deb without any problem.

LBP3300 is showing on Printers:

Printers settings

But when I want to print the job hang on Processing:

Print job hang on Processing

I went to the http://localhost:631/printers/ and it shows Processing - "Sending data to printer."

Print job hang on Processing

Result of tail -f /var/log/syslog when printer is ON and USB is connected:

Jan 27 13:26:55 ice-system udev-configure-printer[6276]: remove /devices/pci0000:00/0000:00:1a.7/usb1/1-1
Jan 27 13:26:55 ice-system udev-configure-printer[6276]: URI of detected printer: usb://Canon/LBP3300?serial=00001184PI9N, normalized: canon lbp3300 serial 00001184pi9n
Jan 27 13:26:55 ice-system udev-configure-printer[6276]: URI of print queue: usb://Canon/LBP3300?serial=00001184PI9N, normalized: canon lbp3300 serial 00001184pi9n
Jan 27 13:26:55 ice-system udev-configure-printer[6276]: Queue ipp://localhost/printers/LBP3300 has matching device URI
Jan 27 13:26:55 ice-system udev-configure-printer[6276]: Disabled printer ipp://localhost/printers/LBP3300 as the corresponding device was unplugged or turned off
Jan 27 13:26:55 ice-system systemd[1]: printer.target: Unit not needed anymore. Stopping.
Jan 27 13:26:55 ice-system systemd[1]: Stopped target Printer.
Jan 27 13:26:55 ice-system kernel: [ 2450.174875] [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:26:55 ice-system kernel: [ 2450.174898] [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:26:55 ice-system kernel: [ 2450.185099] [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.527150] usb 1-1: new high-speed USB device number 5 using ehci-pci
Jan 27 13:27:26 ice-system kernel: [ 2481.681297] usb 1-1: New USB device found, idVendor=04a9, idProduct=267e
Jan 27 13:27:26 ice-system kernel: [ 2481.681300] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Jan 27 13:27:26 ice-system kernel: [ 2481.681302] usb 1-1: Product: Canon CAPT USB Device
Jan 27 13:27:26 ice-system kernel: [ 2481.681304] usb 1-1: Manufacturer: Canon
Jan 27 13:27:26 ice-system kernel: [ 2481.681305] usb 1-1: SerialNumber: 00001184PI9N
Jan 27 13:27:26 ice-system kernel: [ 2481.682776] 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:26 ice-system mtp-probe: checking bus 1, device 5: "/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

Result of lpinfo -v when printer is ON and USB is connected:

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

Result of lsusb when printer is ON and USB is connected:

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

How can I fix the problem?

ICE
  • 2,075

1 Answers1

1

Canon would say you need to do 4 things for the CAPT driver in linux

1) install drivers

2) Register the printer (PPD) with the print spooler.

3) Register the printer in the ccpd daemon setup file.

4) start up ccpd daemon

1) get the latest drivers from here http://support-asia.canon-asia.com/contents/ASIA/EN/0100459601.html and click to download and save linux-capt-drv-v271-uken.tar.gz

2) sudo /usr/sbin/lpadmin -p LBP3300 -m CNCUPSLBP3300CAPTK.ppd -v ccp://localhost:59787 –E .....note this is all one line ......

3)sudo /usr/sbin/ccpdadmin -p LBP3300 -o /dev/usb/lp0 and that assumes only one usb printer

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

and for me that has worked on two separate 16.04 installs

pdc
  • 1,132