Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

SOLVED【CUPS】Cannot get a Canon LBP 7010C to test print (USB)

Need help with peripherals or devices?
Post Reply
Message
Author
astaa
Posts: 3
Joined: 2019-01-06 12:16

SOLVED【CUPS】Cannot get a Canon LBP 7010C to test print (USB)

#1 Post by astaa »

Hi everyboy and thanks in advance for your help.

This is my first post in 15 years of using Debian. I have spent 8 hours trying to configurate my Canon LBP 7010C.
Here are some basic infos about my setup, some of the steps I tried to resolve this issue follows:

Code: Select all

Distributor ID:	Debian
Description:	Debian GNU/Linux 9.6 (stretch)
Release:	9.6
LSUSB:

Code: Select all

Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 006: ID 1bcf:0005 Sunplus Innovation Technology Inc. Optical Mouse
Bus 001 Device 005: ID 04f3:0103 Elan Microelectronics Corp. ActiveJet K-2024 Multimedia Keyboard
Bus 001 Device 007: ID 046d:0825 Logitech, Inc. Webcam C270
Bus 001 Device 004: ID 05e3:0608 Genesys Logic, Inc. Hub
Bus 001 Device 003: ID 04a9:271c Canon, Inc. 
Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 002: ID 0bc2:2322 Seagate RSS LLC 
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 003: ID 0b05:17dc ASUSTek Computer, Inc. 
Bus 003 Device 002: ID 04bb:0953 I-O Data Device, Inc. 
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
lpinfo -v

Code: Select all

network lpd
network socket
network beh
network ipp
direct ccp
network ipps
network http
network ipp14
network https
direct usb://Canon/LBP7010C/7018C?serial=0000A1E309be
network smb
Cups Printer Configuration (I have tried a couple, this is the latest one)

Code: Select all

Description:	Canon LBP7010C/7018C CAPT
Location:	debian
Driver:	Canon LBP7010C/7018C CAPT (UK) (color)
Connection:	cnusb:/dev/usb/lp0
Defaults:	job-sheets=none, none media=iso_a4_210x297mm sides=one-sided
Message I received upon disconnecting and reconnecting my printers USB (this might be important information)
output of tail -f /var/log/syslog

Code: Select all

Jan  6 23:10:22 debian kernel: [ 1721.218088] usb 1-1.1: USB disconnect, device number 3
Jan  6 23:10:22 debian kernel: [ 1721.218489] usblp0: removed
Jan  6 23:10:22 debian udev-configure-printer: remove /devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.1
Jan  6 23:10:22 debian udev-configure-printer: URI of detected printer: usb://Canon/LBP7010C/7018C?serial=0000A1E309be, normalized: canon lbp7010c 7018c serial 0000a1e309be
Jan  6 23:10:22 debian udev-configure-printer: URI of print queue: cnusb:/dev/usb/lp0, normalized: cnusb dev usb lp0
Jan  6 23:10:22 debian systemd[1]: printer.target: Unit not needed anymore. Stopping.
Jan  6 23:10:22 debian systemd[1]: Stopped target Printer.
Jan  6 23:10:22 debian colord-sane: [bjnp] create_broadcast_socket: ERROR - bind socket to local address failed - Cannot assign requested address
Jan  6 23:10:22 debian colord-sane: [bjnp] create_broadcast_socket: ERROR - bind socket to local address failed - Cannot assign requested address
Jan  6 23:10:22 debian colord-sane: [bjnp] create_broadcast_socket: ERROR - bind socket to local address failed - Cannot assign requested address
Jan  6 23:10:29 debian kernel: [ 1727.841310] usb 1-1.1: new high-speed USB device number 8 using ehci-pci
Jan  6 23:10:29 debian kernel: [ 1727.937249] usb 1-1.1: device descriptor read/64, error -71
Jan  6 23:10:29 debian kernel: [ 1728.137291] usb 1-1.1: device descriptor read/64, error -71
Jan  6 23:10:29 debian kernel: [ 1728.325342] usb 1-1.1: new high-speed USB device number 9 using ehci-pci
Jan  6 23:10:29 debian kernel: [ 1728.417346] usb 1-1.1: device descriptor read/64, error -71
Jan  6 23:10:30 debian kernel: [ 1728.617334] usb 1-1.1: device descriptor read/64, error -71
Jan  6 23:10:30 debian kernel: [ 1728.725502] usb 1-1-port1: attempt power cycle
Jan  6 23:10:30 debian kernel: [ 1729.329391] usb 1-1.1: new high-speed USB device number 10 using ehci-pci
Jan  6 23:10:31 debian kernel: [ 1729.753493] usb 1-1.1: device not accepting address 10, error -71
Jan  6 23:10:31 debian kernel: [ 1729.833503] usb 1-1.1: new high-speed USB device number 11 using ehci-pci
Jan  6 23:10:31 debian kernel: [ 1730.257540] usb 1-1.1: device not accepting address 11, error -71
Jan  6 23:10:31 debian kernel: [ 1730.257815] usb 1-1-port1: unable to enumerate USB device

As you can see, my printer is recognized by CUPS. I have installed linux-capt-drv-v271-jp (My printer is a Japanese one).
I installed and uninstalled CUPS a dozen of times trying different configurations of CAPT and various driver versions (mainly the Japanese and the UK driver)

I may also add that the level of the black toner might be low (I received a message when confirming that the printer worked worrectly on my SO's Windows PC)
I also uninstalled gutenprint along the way as I was told it might interfere with CAPT.

With all this troubleshooting, I was still unable to print anything.

Any help would be greatly appreciated.

I wish you all a happy New Year!
Last edited by astaa on 2019-01-07 01:42, edited 1 time in total.

shep
Posts: 423
Joined: 2011-03-15 15:22

Re: 【CUPS】Cannot get a Canon LBP 7010C to test print (USB)

#2 Post by shep »

The following Canon printer models and series are supported only by the Canon UFR II LT driver version 1.50:

LBP6030/LBP6040/LBP6018L, LBP6230/LBP6240, LBP7100C/LBP7110C, LBP8100
Canon's web site describes the driver as a CAPT rather than URFII

I did not find an exact match for your printer



You may need 32bit libs as described in the Debian canon printer wiki

https://wiki.debian.org/PrinterDriver/Canon/UFR-II

astaa
Posts: 3
Joined: 2019-01-06 12:16

Re: 【CUPS】Cannot get a Canon LBP 7010C to test print (USB)

#3 Post by astaa »

Thank you fot your quick reply.

Are you saying that my printer is not supported by CAPT?

I installed CAPT Printer Driver for Linux V2.71 and it seems that my printer is (supposed to be) supported.

https://www.canon.co.uk/support/consume ... guage=&os=

I apologize if there was any confusion in my original post.

astaa
Posts: 3
Joined: 2019-01-06 12:16

Re: 【CUPS】Cannot get a Canon LBP 7010C to test print (USB)

#4 Post by astaa »

Update: I have resolved part of the problem.

I successfully printed a test page thanks to the following script
https://github.com/hieplpvip/canon_printer

If anyone runs this script unsuccessfully, make sure to stop cups before running it (worked for me).

Code: Select all

/etc/init.d/cups stop
Upon running the script, an "applet" (for lack of a better word) for the printer appears with a lot of options that do not seem to be present in cups.
In my case, I was able to print after overriding a warning message concerning my drummer. I assume this is why previous jobs did not go through.

The problem I am having is that this "applet" disappears upon restarting and that I cannot find how to launch it anywhere. I will start the install again and look at the logs too

EDIT: Just found the script to launch the monitor. I'm putting it here in case anybody needs it.

Code: Select all

captstatusui -P LBP7010C
Thanks shep for helping me figuring out the issue. I'm closing this thread. Feel free to contact me if you have any problems with the CAPT drivers as I got to read quite a lot about it in the last 24 hours :D

Cheers!

Post Reply