denny@serenity ~ $ lsmod | grep usb
snd_usb_audio         153617  1 
snd_usbmidi_lib        29215  1 snd_usb_audio
snd_hwdep              13602  2 snd_usb_audio,snd_hda_codec
snd_pcm               102099  4 snd_usb_audio,snd_hda_codec,snd_hda_intel
snd_rawmidi            30144  2 snd_usbmidi_lib,snd_seq_midi
usblp                  22891  0 
snd                    69322  23 
snd_hda_codec_realtek,snd_usb_audio,snd_hwdep,snd_timer,snd_pcm,snd_seq,snd_rawmidi,snd_usbmidi_lib,snd_hda_codec,snd_hda_intel,snd_seq_device,snd_seq_midi
usbhid                 52659  0 
hid                   106148  3 hid_generic,hid_logitech,usbhid

denny@serenity ~ $ tail -f -n 0 /var/log/syslog    # and plug printer USB cable 
back in
Nov 25 23:01:23 serenity kernel: [463597.166540] usb 5-2: new full-speed USB 
device number 3 using uhci_hcd
Nov 25 23:01:23 serenity kernel: [463597.350603] usb 5-2: New USB device found, 
idVendor=043d, idProduct=00cc
Nov 25 23:01:23 serenity kernel: [463597.350606] usb 5-2: New USB device 
strings: Mfr=1, Product=2, SerialNumber=3
Nov 25 23:01:23 serenity kernel: [463597.350608] usb 5-2: Product: Lexmark E120n
Nov 25 23:01:23 serenity kernel: [463597.350610] usb 5-2: Manufacturer: Lexmark 
International
Nov 25 23:01:23 serenity kernel: [463597.350612] usb 5-2: SerialNumber: 995CMR1
Nov 25 23:01:23 serenity mtp-probe: checking bus 5, device 3: 
"/sys/devices/pci0000:00/0000:00:1a.2/usb5/5-2"
Nov 25 23:01:23 serenity mtp-probe: bus: 5, device: 3 was not an MTP device
Nov 25 23:01:23 serenity kernel: [463597.355805] usblp 5-2:1.0: usblp2: USB 
Bidirectional printer dev 3 if 0 alt 0 proto 2 vid 0x043D pid 0x00CC
Nov 25 23:01:23 serenity udev-configure-printer: add 
/devices/pci0000:00/0000:00:1a.2/usb5/5-2/5-2:1.0
Nov 25 23:01:23 serenity udev-configure-printer: device devpath is 
/devices/pci0000:00/0000:00:1a.2/usb5/5-2/5-2:1.0
Nov 25 23:01:23 serenity udev-configure-printer: MFG:Lexmark International 
MDL:Lexmark E120n SERN:- serial:-
Nov 25 23:01:24 serenity kernel: [463598.382845] usblp2: removed
Nov 25 23:01:24 serenity kernel: [463598.393461] usblp 5-2:1.0: usblp2: USB 
Bidirectional printer dev 3 if 0 alt 0 proto 2 vid 0x043D pid 0x00CC
Nov 25 23:01:24 serenity udev-configure-printer: URI matches without serial 
number: usb://Lexmark/E120n?serial=995CMR1
Nov 25 23:01:24 serenity udev-configure-printer: No serial number URI matches 
so using those without
Nov 25 23:01:24 serenity udev-configure-printer: URI of detected printer: 
usb://Lexmark/E120n?serial=995CMR1, normalized: lexmark e120n serial 995cmr1
Nov 25 23:01:24 serenity udev-configure-printer: URI of print queue: 
usb://Lexmark/E120n?serial=995CMR1, normalized: lexmark e120n serial 995cmr1
Nov 25 23:01:24 serenity udev-configure-printer: Queue 
ipp://localhost:631/printers/Lexmark-E120n has matching device URI

denny@serenity ~ $ lsusb
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 003: ID 046d:c517 Logitech, Inc. LX710 Cordless Desktop Laser
Bus 007 Device 002: ID 046d:c50e Logitech, Inc. Cordless Mouse Receiver
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 003: ID 046d:082d Logitech, Inc. HD Pro Webcam C920
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 005 Device 003: ID 043d:00cc Lexmark International, Inc. E120(n)
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 002: ID 062a:4102 Creative Labs 
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

denny@serenity ~ $ ls -l /dev/usb/lp* /dev/bus/usb/*/*
crw-rw-r-- 1 root root 189,    0 Nov 20 14:12 /dev/bus/usb/001/001
crw-rw-r-- 1 root root 189,    2 Nov 20 14:12 /dev/bus/usb/001/003
crw-rw-r-- 1 root root 189,  128 Nov 20 14:12 /dev/bus/usb/002/001
crw-rw-r-- 1 root root 189,  256 Nov 20 14:12 /dev/bus/usb/003/001
crw-rw-r-- 1 root root 189,  384 Nov 20 14:12 /dev/bus/usb/004/001
crw-rw-r-- 1 root root 189,  385 Nov 20 14:12 /dev/bus/usb/004/002
crw-rw-r-- 1 root root 189,  512 Nov 20 14:12 /dev/bus/usb/005/001
crw-rw-r-- 1 root lp   189,  514 Nov 25 23:01 /dev/bus/usb/005/003
crw-rw-r-- 1 root root 189,  640 Nov 20 14:12 /dev/bus/usb/006/001
crw-rw-r-- 1 root root 189,  768 Nov 20 14:12 /dev/bus/usb/007/001
crw-rw-r-- 1 root root 189,  769 Nov 25 23:03 /dev/bus/usb/007/002
crw-rw-r-- 1 root root 189,  770 Nov 20 14:12 /dev/bus/usb/007/003
crw-rw-r-- 1 root root 189,  896 Nov 20 14:12 /dev/bus/usb/008/001
crw-rw-r-- 1 root root 189, 1024 Nov 20 14:12 /dev/bus/usb/009/001
crw-rw-r-- 1 root root 189, 1152 Nov 20 14:12 /dev/bus/usb/010/001
crw-rw---- 1 root lp   180,    2 Nov 25 23:01 /dev/usb/lp2

denny@serenity ~ $ sudo usb_printerid /dev/usb/lp2
GET_DEVICE_ID string:
MANUFACTURER:Lexmark International;COMMAND SET:PCL 6 Emulation, PostScript 
Level 3 For Mac Emulation, NPAP, PJL;MODEL:Lexmark 
E120n;CLS:PRINTER;DES:Lexmark E120n;CID:Lexmark_InternationaC99C, 
Lexmark_InternationaCC02, Lexmark_Internationa0D83;COMMENT:ECP1.0, LV_043D, 
LP_00CC, LF_003F;

denny@serenity ~ $ lpinfo -v
network ipp14
network http
network lpd
network ipp
network socket
network https
direct hp
network smb
network ipps
direct usb://Lexmark/E120n?serial=995CMR1
direct hpfax


I believe the command I entered to get it working was:
lpadmin -p Lexmark-E120n -o usb-no-reattach-default=true


Hope that helps!

-- 
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/1390921

Title:
  Problem with Lexmark 120n print driver

Status in “cups” package in Ubuntu:
  Incomplete

Bug description:
  I believe this is the same as Bug #1335558 (and the other bugs it
  references), just a different printer model (same make as that bug
  though, so might be worth investigating the other printers in the same
  range from Lexmark, if that's possible).  The workaround in the
  comments on that bug seems to have worked for me.

  First print after a restart of the printer works okay, subsequent
  prints output page after page of garbage characters, with the string
  "PJL ENTER LANGUAGE" at the start.

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

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to