Public bug reported:

Hello,

I am trying to print with an (old) Canon Bj200ex printer using a USB-
Parallel cable on a Ubuntu 12.04 machine (fully updated), but there is
no action after a document is sent to printer. It remains in the queue
indefinitely and nothing is happening.

I configured the printer with the standard application and choose 
Canon BJ-200 Foomatic/bj200 (recommended) as model
and both parallel:/dev/usb/lp0 and usb://Unknown/Printer as URI.

After printing dmesg looks like this
user@linuxbox:~$ dmesg
[ 1361.554411] usb 3-2: new full-speed USB device number 2 using xhci_hcd
[ 1366.637641] usblp0: USB Bidirectional printer dev 2 if 0 alt 1 proto 2 vid 
0x067B pid 0x2305
[ 1366.637699] usbcore: registered new interface driver usblp
[ 1440.665945] usb 3-2: USB disconnect, device number 2
[ 1440.666267] usblp0: removed
[ 1500.386214] usb 3-2: new full-speed USB device number 3 using xhci_hcd
[ 1505.449686] usblp0: USB Bidirectional printer dev 3 if 0 alt 1 proto 2 vid 
0x067B pid 0x2305
[ 1783.193476] usblp0: removed
[ 1793.209963] usblp0: USB Bidirectional printer dev 3 if 0 alt 1 proto 2 vid 
0x067B pid 0x2305
[ 1905.782888] usblp0: removed

After cancelling the print job /var/log/cups/error_log looks like this
E [15/Mar/2013:13:01:24 +0100] Unknown directive SystemGroup on line 16 of 
/etc/cups/cupsd.conf.
er@linuxbox:~$ dmesg
[ 1361.554411] usb 3-2: new full-speed USB device number 2 using xhci_hcd
[ 1366.637641] usblp0: USB Bidirectional printer dev 2 if 0 alt 1 proto 2 vid 
0x067B pid 0x2305
[ 1366.637699] usbcore: registered new interface driver usblp
[ 1440.665945] usb 3-2: USB disconnect, device number 2
[ 1440.666267] usblp0: removed
[ 1500.386214] usb 3-2: new full-speed USB device number 3 using xhci_hcd
[ 1505.449686] usblp0: USB Bidirectional printer dev 3 if 0 alt 1 proto 2 vid 
0x067B pid 0x2305
[ 1783.193476] usblp0: removed
[ 1793.209963] usblp0: USB Bidirectional printer dev 3 if 0 alt 1 proto 2 vid 
0x067B pid 0x2305
[ 1905.782888] usblp0: removed [15/Mar/2013:13:39:17 +0100] [Job 40] Stopping 
unresponsive job!

I can't find any advice how to solve this problem. Below is the output
of the commands as requested by this URL:
https://wiki.ubuntu.com/DebuggingPrintingProblems

Kind regards
Andreas

user@linuxbox:~$ lsmod | grep usb
usblp                  18307  0 
btusb                  18332  2 
bluetooth             180153  23 rfcomm,bnep,btusb

user@linuxbox:~$ tail -f /var/log/syslog
Mar 15 13:23:57 linuxbox udev-configure-printer: Device vendor/product is 
067B:2305
Mar 15 13:24:02 linuxbox kernel: [ 1366.637641] usblp0: USB Bidirectional 
printer dev 2 if 0 alt 1 proto 2 vid 0x067B pid 0x2305
Mar 15 13:24:02 linuxbox kernel: [ 1366.637699] usbcore: registered new 
interface driver usblp
Mar 15 13:24:02 linuxbox udev-configure-printer: add 
/devices/pci0000:00/0000:00:1c.0/0000:02:00.0/usb3/3-2/3-2:1.0/usb/lp0
Mar 15 13:24:02 linuxbox udev-configure-printer: failed to claim interface
Mar 15 13:24:02 linuxbox udev-configure-printer: failed to claim interface
Mar 15 13:24:02 linuxbox udev-configure-printer: device devpath is 
/devices/pci0000:00/0000:00:1c.0/0000:02:00.0/usb3/3-2
Mar 15 13:25:16 linuxbox kernel: [ 1440.665945] usb 3-2: USB disconnect, device 
number 2
Mar 15 13:25:16 linuxbox kernel: [ 1440.666267] usblp0: removed
Mar 15 13:25:16 linuxbox udev-configure-printer: remove 
/devices/pci0000:00/0000:00:1c.0/0000:02:00.0/usb3/3-2

reconnect:

Mar 15 13:26:15 linuxbox kernel: [ 1500.386214] usb 3-2: new full-speed USB 
device number 3 using xhci_hcd
Mar 15 13:26:15 linuxbox mtp-probe: checking bus 3, device 3: 
"/sys/devices/pci0000:00/0000:00:1c.0/0000:02:00.0/usb3/3-2"
Mar 15 13:26:20 linuxbox kernel: [ 1505.449686] usblp0: USB Bidirectional 
printer dev 3 if 0 alt 1 proto 2 vid 0x067B pid 0x2305
Mar 15 13:26:20 linuxbox mtp-probe: bus: 3, device: 3 was not an MTP device
Mar 15 13:26:20 linuxbox udev-configure-printer: add 
/devices/pci0000:00/0000:00:1c.0/0000:02:00.0/usb3/3-2/3-2:1.0
Mar 15 13:26:20 linuxbox udev-configure-printer: device devpath is 
/devices/pci0000:00/0000:00:1c.0/0000:02:00.0/usb3/3-2
Mar 15 13:26:20 linuxbox udev-configure-printer: Device vendor/product is 
067B:2305
Mar 15 13:26:20 linuxbox udev-configure-printer: add 
/devices/pci0000:00/0000:00:1c.0/0000:02:00.0/usb3/3-2/3-2:1.0/usb/lp0
Mar 15 13:26:21 linuxbox udev-configure-printer: failed to claim interface
Mar 15 13:26:21 linuxbox udev-configure-printer: failed to claim interface
Mar 15 13:26:21 linuxbox udev-configure-printer: device devpath is 
/devices/pci0000:00/0000:00:1c.0/0000:02:00.0/usb3/3-2

user@linuxbox:~$ lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 003: ID 0a12:0001 Cambridge Silicon Radio, Ltd Bluetooth Dongle 
(HCI mode)
Bus 002 Device 004: ID 147e:1001 Upek 
Bus 002 Device 005: ID 5986:0308 Acer, Inc 
Bus 003 Device 003: ID 067b:2305 Prolific Technology, Inc. PL2305 Parallel Port

user@linuxbox:~$ ls -l /dev/usb/lp* /dev/bus/*/*
crw-rw---- 1 root lp   180, 0 Mär 15 13:26 /dev/usb/lp0

/dev/bus/usb/001:
insgesamt 0
crw-rw-r-- 1 root root 189, 0 Mär 15 13:01 001
crw-rw-r-- 1 root root 189, 1 Mär 15 13:01 002

/dev/bus/usb/002:
insgesamt 0
crw-rw-r-- 1 root root 189, 128 Mär 15 13:01 001
crw-rw-r-- 1 root root 189, 129 Mär 15 13:01 002
crw-rw-r-- 1 root root 189, 130 Mär 15 13:01 003
crw-rw-r-- 1 root root 189, 131 Mär 15 13:01 004
crw-rw-r-- 1 root root 189, 132 Mär 15 13:01 005

/dev/bus/usb/003:
insgesamt 0
crw-rw-r-- 1 root root 189, 256 Mär 15 13:01 001
crw-rw-r-- 1 root lp   189, 258 Mär 15 13:26 003

/dev/bus/usb/004:
insgesamt 0
crw-rw-r-- 1 root root 189, 384 Mär 15 13:01 001


user@linuxbox:~$ sudo usb_printerid /dev/usb/lp0
Error: Input/output error: GET_DEVICE_ID on '/dev/usb/lp0'
user@linuxbox:~$ sudo usb_printerid /dev/usb/lp1
Error: No such file or directory: can't open '/dev/usb/lp1'

user@linuxbox:~$ lpinfo -v
network beh
network https
network lpd
network ipp
network http
network ipps
network socket
network ipp14
network smb
direct hp
direct hpfax
direct usb://Unknown/Printer

trying again:
user@linuxbox:~$ sudo usb_printerid /dev/usb/lp0
GET_DEVICE_ID string:
�L��*�D��*<7x�*�I=�*4x�*@�w�* v��* 
`;����|�L��*�`;��i��*#�x�*�L��*��v���i��*p@`%�v���B��U� 
v��*@8x�<7x�*�qy@<�*�.>�*�.>�* �w�*�H=�*�D��** 
�����1|;��D��*�i��*4x�*`:x�*t�x�*0`;��x��*mX��;�x�*t�x�* 
`;��I��*.N=���x�* 
2|;�.``;������z<�*�|<�*0`;��`;�@>=�J��*�D��*�@�I=�*p@ 
v��*�`;�.N=J��*�`;��r��*#�x�*J��*�r��*@�S�* v��*�@�NF�*v       
�`;��
@�@v`;�
@����
@

** Affects: cups (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to cups in Ubuntu.
https://bugs.launchpad.net/bugs/1155608

Title:
  Unable to print on Canon BJ200ex via usb-parallel cable

Status in “cups” package in Ubuntu:
  New

Bug description:
  Hello,

  I am trying to print with an (old) Canon Bj200ex printer using a USB-
  Parallel cable on a Ubuntu 12.04 machine (fully updated), but there is
  no action after a document is sent to printer. It remains in the queue
  indefinitely and nothing is happening.

  I configured the printer with the standard application and choose 
  Canon BJ-200 Foomatic/bj200 (recommended) as model
  and both parallel:/dev/usb/lp0 and usb://Unknown/Printer as URI.

  After printing dmesg looks like this
  user@linuxbox:~$ dmesg
  [ 1361.554411] usb 3-2: new full-speed USB device number 2 using xhci_hcd
  [ 1366.637641] usblp0: USB Bidirectional printer dev 2 if 0 alt 1 proto 2 vid 
0x067B pid 0x2305
  [ 1366.637699] usbcore: registered new interface driver usblp
  [ 1440.665945] usb 3-2: USB disconnect, device number 2
  [ 1440.666267] usblp0: removed
  [ 1500.386214] usb 3-2: new full-speed USB device number 3 using xhci_hcd
  [ 1505.449686] usblp0: USB Bidirectional printer dev 3 if 0 alt 1 proto 2 vid 
0x067B pid 0x2305
  [ 1783.193476] usblp0: removed
  [ 1793.209963] usblp0: USB Bidirectional printer dev 3 if 0 alt 1 proto 2 vid 
0x067B pid 0x2305
  [ 1905.782888] usblp0: removed

  After cancelling the print job /var/log/cups/error_log looks like this
  E [15/Mar/2013:13:01:24 +0100] Unknown directive SystemGroup on line 16 of 
/etc/cups/cupsd.conf.
  er@linuxbox:~$ dmesg
  [ 1361.554411] usb 3-2: new full-speed USB device number 2 using xhci_hcd
  [ 1366.637641] usblp0: USB Bidirectional printer dev 2 if 0 alt 1 proto 2 vid 
0x067B pid 0x2305
  [ 1366.637699] usbcore: registered new interface driver usblp
  [ 1440.665945] usb 3-2: USB disconnect, device number 2
  [ 1440.666267] usblp0: removed
  [ 1500.386214] usb 3-2: new full-speed USB device number 3 using xhci_hcd
  [ 1505.449686] usblp0: USB Bidirectional printer dev 3 if 0 alt 1 proto 2 vid 
0x067B pid 0x2305
  [ 1783.193476] usblp0: removed
  [ 1793.209963] usblp0: USB Bidirectional printer dev 3 if 0 alt 1 proto 2 vid 
0x067B pid 0x2305
  [ 1905.782888] usblp0: removed [15/Mar/2013:13:39:17 +0100] [Job 40] Stopping 
unresponsive job!

  I can't find any advice how to solve this problem. Below is the output
  of the commands as requested by this URL:
  https://wiki.ubuntu.com/DebuggingPrintingProblems

  Kind regards
  Andreas

  user@linuxbox:~$ lsmod | grep usb
  usblp                  18307  0 
  btusb                  18332  2 
  bluetooth             180153  23 rfcomm,bnep,btusb

  user@linuxbox:~$ tail -f /var/log/syslog
  Mar 15 13:23:57 linuxbox udev-configure-printer: Device vendor/product is 
067B:2305
  Mar 15 13:24:02 linuxbox kernel: [ 1366.637641] usblp0: USB Bidirectional 
printer dev 2 if 0 alt 1 proto 2 vid 0x067B pid 0x2305
  Mar 15 13:24:02 linuxbox kernel: [ 1366.637699] usbcore: registered new 
interface driver usblp
  Mar 15 13:24:02 linuxbox udev-configure-printer: add 
/devices/pci0000:00/0000:00:1c.0/0000:02:00.0/usb3/3-2/3-2:1.0/usb/lp0
  Mar 15 13:24:02 linuxbox udev-configure-printer: failed to claim interface
  Mar 15 13:24:02 linuxbox udev-configure-printer: failed to claim interface
  Mar 15 13:24:02 linuxbox udev-configure-printer: device devpath is 
/devices/pci0000:00/0000:00:1c.0/0000:02:00.0/usb3/3-2
  Mar 15 13:25:16 linuxbox kernel: [ 1440.665945] usb 3-2: USB disconnect, 
device number 2
  Mar 15 13:25:16 linuxbox kernel: [ 1440.666267] usblp0: removed
  Mar 15 13:25:16 linuxbox udev-configure-printer: remove 
/devices/pci0000:00/0000:00:1c.0/0000:02:00.0/usb3/3-2

  reconnect:

  Mar 15 13:26:15 linuxbox kernel: [ 1500.386214] usb 3-2: new full-speed USB 
device number 3 using xhci_hcd
  Mar 15 13:26:15 linuxbox mtp-probe: checking bus 3, device 3: 
"/sys/devices/pci0000:00/0000:00:1c.0/0000:02:00.0/usb3/3-2"
  Mar 15 13:26:20 linuxbox kernel: [ 1505.449686] usblp0: USB Bidirectional 
printer dev 3 if 0 alt 1 proto 2 vid 0x067B pid 0x2305
  Mar 15 13:26:20 linuxbox mtp-probe: bus: 3, device: 3 was not an MTP device
  Mar 15 13:26:20 linuxbox udev-configure-printer: add 
/devices/pci0000:00/0000:00:1c.0/0000:02:00.0/usb3/3-2/3-2:1.0
  Mar 15 13:26:20 linuxbox udev-configure-printer: device devpath is 
/devices/pci0000:00/0000:00:1c.0/0000:02:00.0/usb3/3-2
  Mar 15 13:26:20 linuxbox udev-configure-printer: Device vendor/product is 
067B:2305
  Mar 15 13:26:20 linuxbox udev-configure-printer: add 
/devices/pci0000:00/0000:00:1c.0/0000:02:00.0/usb3/3-2/3-2:1.0/usb/lp0
  Mar 15 13:26:21 linuxbox udev-configure-printer: failed to claim interface
  Mar 15 13:26:21 linuxbox udev-configure-printer: failed to claim interface
  Mar 15 13:26:21 linuxbox udev-configure-printer: device devpath is 
/devices/pci0000:00/0000:00:1c.0/0000:02:00.0/usb3/3-2

  user@linuxbox:~$ lsusb
  Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
  Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
  Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
  Bus 002 Device 003: ID 0a12:0001 Cambridge Silicon Radio, Ltd Bluetooth 
Dongle (HCI mode)
  Bus 002 Device 004: ID 147e:1001 Upek 
  Bus 002 Device 005: ID 5986:0308 Acer, Inc 
  Bus 003 Device 003: ID 067b:2305 Prolific Technology, Inc. PL2305 Parallel 
Port

  user@linuxbox:~$ ls -l /dev/usb/lp* /dev/bus/*/*
  crw-rw---- 1 root lp   180, 0 Mär 15 13:26 /dev/usb/lp0

  /dev/bus/usb/001:
  insgesamt 0
  crw-rw-r-- 1 root root 189, 0 Mär 15 13:01 001
  crw-rw-r-- 1 root root 189, 1 Mär 15 13:01 002

  /dev/bus/usb/002:
  insgesamt 0
  crw-rw-r-- 1 root root 189, 128 Mär 15 13:01 001
  crw-rw-r-- 1 root root 189, 129 Mär 15 13:01 002
  crw-rw-r-- 1 root root 189, 130 Mär 15 13:01 003
  crw-rw-r-- 1 root root 189, 131 Mär 15 13:01 004
  crw-rw-r-- 1 root root 189, 132 Mär 15 13:01 005

  /dev/bus/usb/003:
  insgesamt 0
  crw-rw-r-- 1 root root 189, 256 Mär 15 13:01 001
  crw-rw-r-- 1 root lp   189, 258 Mär 15 13:26 003

  /dev/bus/usb/004:
  insgesamt 0
  crw-rw-r-- 1 root root 189, 384 Mär 15 13:01 001

  
  user@linuxbox:~$ sudo usb_printerid /dev/usb/lp0
  Error: Input/output error: GET_DEVICE_ID on '/dev/usb/lp0'
  user@linuxbox:~$ sudo usb_printerid /dev/usb/lp1
  Error: No such file or directory: can't open '/dev/usb/lp1'

  user@linuxbox:~$ lpinfo -v
  network beh
  network https
  network lpd
  network ipp
  network http
  network ipps
  network socket
  network ipp14
  network smb
  direct hp
  direct hpfax
  direct usb://Unknown/Printer

  trying again:
  user@linuxbox:~$ sudo usb_printerid /dev/usb/lp0
  GET_DEVICE_ID string:
  �L��*�D��*<7x�*�I=�*4x�*@�w�* v��* 
`;����|�L��*�`;��i��*#�x�*�L��*��v���i��*p@`%�v���B��U� 
v��*@8x�<7x�*�qy@<�*�.>�*�.>�* �w�*�H=�*�D��** 
�����1|;��D��*�i��*4x�*`:x�*t�x�*0`;��x��*mX��;�x�*t�x�* 
`;��I��*.N=���x�* 
2|;�.``;������z<�*�|<�*0`;��`;�@>=�J��*�D��*�@�I=�*p@ 
v��*�`;�.N=J��*�`;��r��*#�x�*J��*�r��*@�S�* v��*�@�NF�*v     
�`;��
  @�@v`;�
  @����
  @

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cups/+bug/1155608/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to