Comment 3 for bug 959676

Revision history for this message
Lucy Llewellyn (lucyllewy) wrote : Re: cups will not print to USB connected Samsung ML-4500

USB Printer Section:

2) $ lsmod | grep usb
usblp 18307 0
usbhid 47199 0
hid 99559 1 usbhid
usb_storage 49198 1

3)
Mar 23 21:34:31 daniel-MS-7693 udev-configure-printer: add /devices/pci0000:00/0000:00:13.0/usb5/5-2/5-2:1.0
Mar 23 21:34:31 daniel-MS-7693 udev-configure-printer: device devpath is /devices/pci0000:00/0000:00:13.0/usb5/5-2
Mar 23 21:34:31 daniel-MS-7693 udev-configure-printer: Device vendor/product is 067B:2305
Mar 23 21:34:31 daniel-MS-7693 udev-configure-printer: add /devices/pci0000:00/0000:00:13.0/usb5/5-2/5-2:1.0/usb/lp0
Mar 23 21:34:32 daniel-MS-7693 udev-configure-printer: failed to claim interface
Mar 23 21:34:32 daniel-MS-7693 udev-configure-printer: failed to claim interface
Mar 23 21:34:32 daniel-MS-7693 udev-configure-printer: device devpath is /devices/pci0000:00/0000:00:13.0/usb5/5-2

6) lsusb snippet:
Bus 005 Device 006: ID 067b:2305 Prolific Technology, Inc. PL2305 Parallel Port

7) $ ls -l /dev/usb/lp* /dev/bus/usb/*/*
crw-rw-r-- 1 root root 189, 0 Mar 19 19:17 /dev/bus/usb/001/001
crw-rw-r-- 1 root root 189, 128 Mar 19 19:17 /dev/bus/usb/002/001
crw-rw-r-- 1 root root 189, 256 Mar 19 19:17 /dev/bus/usb/003/001
crw-rw-r-- 1 root root 189, 384 Mar 19 19:17 /dev/bus/usb/004/001
crw-rw-r-- 1 root root 189, 385 Mar 19 19:17 /dev/bus/usb/004/002
crw-rw-r-- 1 root root 189, 398 Mar 23 21:30 /dev/bus/usb/004/015
crw-rw-r-- 1 root root 189, 512 Mar 19 19:17 /dev/bus/usb/005/001
crw-rw-r-- 1 root lp 189, 517 Mar 23 21:34 /dev/bus/usb/005/006
crw-rw-r-- 1 root root 189, 640 Mar 19 19:17 /dev/bus/usb/006/001
crw-rw-r-- 1 root root 189, 768 Mar 19 19:17 /dev/bus/usb/007/001
crw-rw-r-- 1 root root 189, 769 Mar 19 19:17 /dev/bus/usb/007/002
crw-rw-r-- 1 root root 189, 896 Mar 19 19:17 /dev/bus/usb/008/001
crw-rw-r-- 1 root root 189, 1024 Mar 19 19:17 /dev/bus/usb/009/001
crw-rw-r-- 1 root root 189, 1025 Mar 19 19:17 /dev/bus/usb/009/002
crw-rw---- 1 root lp 180, 0 Mar 23 21:34 /dev/usb/lp0

8) remembering this is not a native usb printer, but a parallel printer connected to usb through a special cable:
$ sudo usb_printerid /dev/usb/lp0
[sudo] password for daniel:
GET_DEVICE_ID string:
�0���-:��&`� ^�-:��I`� ^�-:��z`� ^�-:��}`� ^�-:�� `� ^�-:���`

11) $ lpinfo -v
network beh
network lpd
network ipps
network http
network ipp
network socket
network smb
network https
direct hp
direct hpfax
direct usb://Samsung/ML-4500

--

CUPS error_log: see attachment
NOTE: I turned off the printer and replugged at 21:50 and removed the initial failed job to clear down - it seemed that the usb_printerid command may have b0rked the thing. Prior to that, I sent a failed job at ~21:45. I then sent a new job at ~21:55 after the clear down. There was no printed document produced by the device.

Capturing Print Job Data:

3) $ lpstat -o
ML-4500-7 daniel 145408 Fri 23 Mar 2012 22:04:40 GMT

4) $ sudo ls -l /var/spool/cups
total 172
-rw------- 1 root lp 971 Mar 19 19:41 c00002
-rw------- 1 root lp 693 Mar 23 21:44 c00003
-rw------- 1 root lp 622 Mar 23 21:44 c00004
-rw------- 1 root lp 693 Mar 23 21:50 c00005
-rw------- 1 root lp 733 Mar 23 22:03 c00006
-rw------- 1 root lp 875 Mar 23 22:05 c00007
-rw-r----- 1 root lp 144757 Mar 23 22:04 d00007-001
drwxrwx--T 3 root lp 4096 Mar 23 22:03 tmp

8) $ file printout
printout: PDF document, version 1.5

9) see attachment "printout"