← Back to team overview

touch-packages team mailing list archive

[Bug 1046335] Re: USB Printer: some times the jobs are printed and some times not

 

I have three thermal receipt printers connected to Xubuntu 14.04 with
Model Generic / Text only driver when print command three jobs, one for
each printer, sometimes one or two printers stops are left with the job
without printing, and the queue print says that the printer is turned
off or disconnected.

If I send a new print job to the printer that has been standing prints
the job that had been printed and the new, but the new print was
incomplete.

CUPS Version:  cups 1.7.2-0ubuntu1  amd64

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to cups in Ubuntu.
https://bugs.launchpad.net/bugs/1046335

Title:
  USB Printer: some times the jobs are printed and some times not

Status in “cups” package in Ubuntu:
  Fix Released

Bug description:
  This is a Samsung ML-1860 laser monochromatic printer, attached at
  usb.

  The problem is: only some pages are printed. Example: I send 6 copies
  of some page to print but only 4 are actually printed. Or some times
  none of them. Rarely all of them are printed. If I disconnect from
  usb, then send the job and reconnect, the chance of get the print done
  is increased.

  More technical information:

  ~$ lsmod | grep usb
  usblp                  18307  0

  ~$ tail -f /var/log/syslog
  Sep  5 10:42:54 desguai3 udev-configure-printer: device devpath is /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.1
  Sep  5 10:42:54 desguai3 udev-configure-printer: Device already handled
  Sep  5 10:45:12 desguai3 wpa_supplicant[1135]: WPA: Group rekeying completed with 1c:7e:e5:46:5b:9d [GTK=TKIP]
  Sep  5 10:46:43 desguai3 kernel: [ 6539.488475] usb 2-1.1: USB disconnect, device number 9
  Sep  5 10:46:43 desguai3 kernel: [ 6539.488755] usblp0: removed
  Sep  5 10:46:43 desguai3 udev-configure-printer: remove /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.1
  Sep  5 10:46:43 desguai3 udev-configure-printer: URI of print queue: usb://Samsung/ML-1860%20Series?serial=Z5M7BDAB501185X., normalized: samsung ml 1860 series serial z5m7bdab501185x
  Sep  5 10:46:43 desguai3 udev-configure-printer: URI of detected printer: usb://Samsung/ML-1860%20Series?serial=Z5M7BDAB501185X., normalized: samsung ml 1860 series serial z5m7bdab501185x
  Sep  5 10:46:43 desguai3 udev-configure-printer: Queue ipp://localhost:631/printers/ML-1860-Series has matching device URI
  Sep  5 10:46:43 desguai3 udev-configure-printer: Disabled printer ipp://localhost:631/printers/ML-1860-Series as the corresponding device was unplugged or turned off
  Sep  5 10:47:05 desguai3 kernel: [ 6560.789503] usb 2-1.1: new high-speed USB device number 10 using ehci_hcd
  Sep  5 10:47:05 desguai3 kernel: [ 6560.885528] usblp0: USB Bidirectional printer dev 10 if 0 alt 0 proto 2 vid 0x04E8 pid 0x330C
  Sep  5 10:47:05 desguai3 mtp-probe: checking bus 2, device 10: "/sys/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.1"
  Sep  5 10:47:05 desguai3 mtp-probe: bus: 2, device: 10 was not an MTP device
  Sep  5 10:47:05 desguai3 udev-configure-printer: add /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.1/2-1.1:1.0
  Sep  5 10:47:05 desguai3 udev-configure-printer: device devpath is /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.1
  Sep  5 10:47:05 desguai3 udev-configure-printer: Device vendor/product is 04E8:330C
  Sep  5 10:47:05 desguai3 udev-configure-printer: add /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.1/2-1.1:1.0/usb/lp0
  Sep  5 10:47:05 desguai3 udev-configure-printer: failed to claim interface
  Sep  5 10:47:05 desguai3 udev-configure-printer: device devpath is /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.1
  Sep  5 10:47:05 desguai3 udev-configure-printer: MFG:Samsung MDL:ML-1860 Series SERN:- serial:Z5M7BDAB501185X.
  Sep  5 10:47:06 desguai3 kernel: [ 6562.056195] usblp0: removed
  Sep  5 10:47:06 desguai3 udev-configure-printer: URI contains USB serial number
  Sep  5 10:47:06 desguai3 udev-configure-printer: URI match: usb://Samsung/ML-1860%20Series?serial=Z5M7BDAB501185X.
  Sep  5 10:47:06 desguai3 kernel: [ 6562.061236] usblp0: USB Bidirectional printer dev 10 if 0 alt 0 proto 2 vid 0x04E8 pid 0x330C
  Sep  5 10:47:06 desguai3 udev-configure-printer: Consider also queues with "/usb/lp0" or "/usblp0" in their URIs as matching
  Sep  5 10:47:06 desguai3 udev-configure-printer: URI of print queue: usb://Samsung/ML-1860%20Series?serial=Z5M7BDAB501185X., normalized: samsung ml 1860 series serial z5m7bdab501185x
  Sep  5 10:47:06 desguai3 udev-configure-printer: URI of detected printer: usb://Samsung/ML-1860%20Series?serial=Z5M7BDAB501185X., normalized: samsung ml 1860 series serial z5m7bdab501185x
  Sep  5 10:47:06 desguai3 udev-configure-printer: Queue ipp://localhost:631/printers/ML-1860-Series has matching device URI
  Sep  5 10:47:06 desguai3 udev-configure-printer: Re-enabled printer ipp://localhost:631/printers/ML-1860-Series
  Sep  5 10:47:06 desguai3 udev-configure-printer: add /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.1/2-1.1:1.0/usb/lp0
  Sep  5 10:47:06 desguai3 udev-configure-printer: device devpath is /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.1
  Sep  5 10:47:06 desguai3 udev-configure-printer: Device already handled

  ~$ 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 001 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching Hub
  Bus 002 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching Hub
  Bus 002 Device 003: ID 064e:a127 Suyin Corp.
  Bus 002 Device 010: ID 04e8:330c Samsung Electronics Co., Ltd

  ~$ ls -l /dev/usb/lp* /dev/bus/usb/*/*
  crw-rw-r-- 1 root root 189,   0 Sep  5 08:57 /dev/bus/usb/001/001
  crw-rw-r-- 1 root root 189,   1 Sep  5 08:57 /dev/bus/usb/001/002
  crw-rw-r-- 1 root root 189, 128 Sep  5 08:57 /dev/bus/usb/002/001
  crw-rw-r-- 1 root root 189, 129 Sep  5 08:57 /dev/bus/usb/002/002
  crw-rw-r-- 1 root root 189, 130 Sep  5 08:57 /dev/bus/usb/002/003
  crw-rw-rw- 1 root lp   189, 137 Sep  5 10:47 /dev/bus/usb/002/010
  crw-rw-rw- 1 root lp   180,   0 Sep  5 10:47 /dev/usb/lp0

  ~$ sudo usb_printerid /dev/usb/lp0
  [sudo] password for desgua:
  GET_DEVICE_ID string:
  MFG:Samsung;CMD:GDI,FWV,EXT;MDL:ML-1860 Series;CLS:PRINTER;STATUS:BUSY;
  desgua@desguai3:~$ lpinfo -v
  network ipps
  network ipp14
  network lpd
  network https
  network socket
  network ipp
  network http
  network beh
  network smb
  direct parallel:/dev/lp0
  direct usb://Samsung/ML-1860%20Series?serial=Z5M7BDAB501185X.

  I have attached the output of "cat /var/log/syslog"
  --- 
  ApportVersion: 2.0.1-0ubuntu12
  Architecture: amd64
  DistroRelease: Ubuntu 12.04
  EcryptfsInUse: Yes
  InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Release amd64 (20120425)
  Lpstat: device for ML-1860-Series: usb://Samsung/ML-1860%20Series?serial=Z5M7BDAB501185X.
  MachineType: Hewlett-Packard HP Pavilion dv6 Notebook PC
  NonfreeKernelModules: nvidia
  Package: cups 1.5.3-0ubuntu3
  PackageArchitecture: amd64
  Papersize: letter
  PpdFiles: ML-1860-Series: Samsung ML-1860 Series
  ProcEnviron:
   LANGUAGE=en_US:en
   TERM=xterm
   PATH=(custom, user)
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.2.0-29-generic root=UUID=8729fead-c05d-477e-a00a-b53293a32e74 ro
  ProcVersionSignature: Ubuntu 3.2.0-29.46-generic 3.2.24
  Tags: precise running-unity third-party-packages
  Uname: Linux 3.2.0-29-generic x86_64
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserGroups: adm cdrom dip fuse lp lpadmin plugdev sambashare sudo
  dmi.bios.date: 12/03/2009
  dmi.bios.vendor: Hewlett-Packard
  dmi.bios.version: F.13
  dmi.board.asset.tag: Base Board Asset Tag
  dmi.board.name: 3659
  dmi.board.vendor: Hewlett-Packard
  dmi.board.version: 32.23
  dmi.chassis.type: 10
  dmi.chassis.vendor: Hewlett-Packard
  dmi.chassis.version: N/A
  dmi.modalias: dmi:bvnHewlett-Packard:bvrF.13:bd12/03/2009:svnHewlett-Packard:pnHPPaviliondv6NotebookPC:pvr049D210000241210000020000:rvnHewlett-Packard:rn3659:rvr32.23:cvnHewlett-Packard:ct10:cvrN/A:
  dmi.product.name: HP Pavilion dv6 Notebook PC
  dmi.product.version: 049D210000241210000020000
  dmi.sys.vendor: Hewlett-Packard

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