[Desktop-packages] [Bug 1001028] Re: Delay after every print job on USB

2014-02-28 Thread Till Kamppeter
Tres Finocchiaro, this is an old bug report which is already marked as
fixed. Therefore I recomment to first boot a live system of a newer
Ubuntu release and check whether the problem is gone there. If the
problem still persists, it probably has another origin than this bug. In
this case please report a new bug following the instructions on

https://wiki.ubuntu.com/DebuggingPrintingProblems

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

Title:
  Delay after every print job on USB

Status in “cups” package in Ubuntu:
  Fix Released
Status in “cups” source package in Precise:
  Fix Released

Bug description:
  Ubuntu 12.04 64 bit (also 32 bit is affected)
  Zebra LP 2844-Z USB printer - connected with a generic raw queue driver.

  usblp0 appears to disconnect after every print job and then
  automatically reconnect after 8 seconds. The next job to the printer
  won't print until it is reconnected. This is a problem for us in a
  high volume printing scenario.

  Here are messages from syslog:
  May 17 16:47:17 mlcx500 kernel: [25464.991868] usblp0: removed
  May 17 16:47:25 mlcx500 kernel: [25473.131745] usblp0: USB Bidirectional 
printer dev 5 if 0 alt 0 proto 2 vid 0x0A5F pid 0x0027
  May 17 16:47:25 mlcx500 udev-configure-printer: add 
/devices/pci:00/:00:1d.0/usb2/2-1/2-1.2/2-1.2:1.0/usb/lp0
  May 17 16:47:25 mlcx500 udev-configure-printer: device devpath is 
/devices/pci:00/:00:1d.0/usb2/2-1/2-1.2
  May 17 16:47:25 mlcx500 udev-configure-printer: Device already handled

  Note the 8 second pause between the first and second messages.

  Not sure where the disconnect is coming from.

  It doesn't appear to be hardware related as I have the problem with
  various combinations of printer and computer.

  [IMPACT]

  On some printers it can happen that with Precise's new libusb-based
  USB CUPS backend there is a small delay of around 8 seconds after each
  job. In environments where printers are continuously printing small
  jobs (~1 page each) this is a serious impact on printing performance.

  The USB backend in the proposed package has a configurable option to
  turn off the bi-directional operation of the backend (sending print
  data and also reading answers of the printer). With uni-directional
  printing (only sending print data) the delay disappears.

  Uni-directional printing can be set manually. We will give
  instructions in the Release Notes of 12.04.1.

  [TESTCASE]

  Unfortunately, for reproducing this bug one needs the actual printer.

  Connect a printer with the problem to the USB port of the computer.

  With current Precise you get the mentioned 8-second delay after each
  job when you print several jobs one after the other. If you install
  the proposed package you can suppress bi-directional printing via

  lpadmin -p queue name -o usb-unidir-default=true

  Now the jobs get printed directly one after the other.

  [Regression Potential]

  The patch looks perhaps more dramatic than it is. This is because
  several code sections are put into if blocks, indenting all the
  (unchanged) code lines. This especially happens because now we
  suppress using the back channel for selected printers (and also
  printers which claim to be uni-directional only).

  The code was developed in several steps and uploaded step-by-step to
  my PPA. There the reporters of the bugs covered by this SRU and some
  additional bugs (bug 902535, bug 995111) tested it intensively. They
  did not hit any regressions compared to stock Precise or the first
  CUPS SRU.

  The code is also applied to the CUPS package in Quantal and this also
  did not cause any regression bug report yet.

  I have tested the code on four HP printers (HP LaserJet 3390, HP Color
  LaserJet CM3530 MFP, HP PhotoSmart C8100, HP PhotoSmart C5200, all on
  direct USB) and one Epson printer (Epson Stylus Photo 880, both direct
  USB and parallel with Prolific USB - Parallel adaptor) and all work
  fine, no regressions.


  ProblemType: Bug
  DistroRelease: Ubuntu 12.04
  Package: cups 1.5.2-9ubuntu1
  ProcVersionSignature: Ubuntu 3.2.0-24.37-generic 3.2.14
  Uname: Linux 3.2.0-24-generic x86_64
  NonfreeKernelModules: nvidia
  ApportVersion: 2.0.1-0ubuntu7
  Architecture: amd64
  Date: Thu May 17 17:47:22 2012
  InstallationMedia: Ubuntu 12.04 LTS Precise Pangolin - Release amd64 
(20120425)
  Lpstat:
   device for Officejet-6300-series: 
dnssd://Officejet%206300%20series%20%5B75F808%5D._pdl-datastream._tcp.local/
   device for z6: 
usb://Zebra%20Technologies/ZTC%20LP2844-Z-200dpi?serial=46J08310
  MachineType: Dell Inc. Precision M6500
  Papersize: letter
  PccardctlIdent:
   Socket 0:
     no product info available
  PccardctlStatus:
   Socket 0:
     no card
  PpdFiles: Officejet-6300-series: HP Officejet 6300 Series, hpcups 3.12.2
  ProcEnviron:
   TERM=xterm
   PATH=(custom, no user)
   

[Desktop-packages] [Bug 1001028] Re: Delay after every print job on USB

2014-02-28 Thread Mitch Claborn
I can confirm that this is working for me in Precise. 
You must add 

Option usb-unidir true

to the printers.conf file

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

Title:
  Delay after every print job on USB

Status in “cups” package in Ubuntu:
  Fix Released
Status in “cups” source package in Precise:
  Fix Released

Bug description:
  Ubuntu 12.04 64 bit (also 32 bit is affected)
  Zebra LP 2844-Z USB printer - connected with a generic raw queue driver.

  usblp0 appears to disconnect after every print job and then
  automatically reconnect after 8 seconds. The next job to the printer
  won't print until it is reconnected. This is a problem for us in a
  high volume printing scenario.

  Here are messages from syslog:
  May 17 16:47:17 mlcx500 kernel: [25464.991868] usblp0: removed
  May 17 16:47:25 mlcx500 kernel: [25473.131745] usblp0: USB Bidirectional 
printer dev 5 if 0 alt 0 proto 2 vid 0x0A5F pid 0x0027
  May 17 16:47:25 mlcx500 udev-configure-printer: add 
/devices/pci:00/:00:1d.0/usb2/2-1/2-1.2/2-1.2:1.0/usb/lp0
  May 17 16:47:25 mlcx500 udev-configure-printer: device devpath is 
/devices/pci:00/:00:1d.0/usb2/2-1/2-1.2
  May 17 16:47:25 mlcx500 udev-configure-printer: Device already handled

  Note the 8 second pause between the first and second messages.

  Not sure where the disconnect is coming from.

  It doesn't appear to be hardware related as I have the problem with
  various combinations of printer and computer.

  [IMPACT]

  On some printers it can happen that with Precise's new libusb-based
  USB CUPS backend there is a small delay of around 8 seconds after each
  job. In environments where printers are continuously printing small
  jobs (~1 page each) this is a serious impact on printing performance.

  The USB backend in the proposed package has a configurable option to
  turn off the bi-directional operation of the backend (sending print
  data and also reading answers of the printer). With uni-directional
  printing (only sending print data) the delay disappears.

  Uni-directional printing can be set manually. We will give
  instructions in the Release Notes of 12.04.1.

  [TESTCASE]

  Unfortunately, for reproducing this bug one needs the actual printer.

  Connect a printer with the problem to the USB port of the computer.

  With current Precise you get the mentioned 8-second delay after each
  job when you print several jobs one after the other. If you install
  the proposed package you can suppress bi-directional printing via

  lpadmin -p queue name -o usb-unidir-default=true

  Now the jobs get printed directly one after the other.

  [Regression Potential]

  The patch looks perhaps more dramatic than it is. This is because
  several code sections are put into if blocks, indenting all the
  (unchanged) code lines. This especially happens because now we
  suppress using the back channel for selected printers (and also
  printers which claim to be uni-directional only).

  The code was developed in several steps and uploaded step-by-step to
  my PPA. There the reporters of the bugs covered by this SRU and some
  additional bugs (bug 902535, bug 995111) tested it intensively. They
  did not hit any regressions compared to stock Precise or the first
  CUPS SRU.

  The code is also applied to the CUPS package in Quantal and this also
  did not cause any regression bug report yet.

  I have tested the code on four HP printers (HP LaserJet 3390, HP Color
  LaserJet CM3530 MFP, HP PhotoSmart C8100, HP PhotoSmart C5200, all on
  direct USB) and one Epson printer (Epson Stylus Photo 880, both direct
  USB and parallel with Prolific USB - Parallel adaptor) and all work
  fine, no regressions.


  ProblemType: Bug
  DistroRelease: Ubuntu 12.04
  Package: cups 1.5.2-9ubuntu1
  ProcVersionSignature: Ubuntu 3.2.0-24.37-generic 3.2.14
  Uname: Linux 3.2.0-24-generic x86_64
  NonfreeKernelModules: nvidia
  ApportVersion: 2.0.1-0ubuntu7
  Architecture: amd64
  Date: Thu May 17 17:47:22 2012
  InstallationMedia: Ubuntu 12.04 LTS Precise Pangolin - Release amd64 
(20120425)
  Lpstat:
   device for Officejet-6300-series: 
dnssd://Officejet%206300%20series%20%5B75F808%5D._pdl-datastream._tcp.local/
   device for z6: 
usb://Zebra%20Technologies/ZTC%20LP2844-Z-200dpi?serial=46J08310
  MachineType: Dell Inc. Precision M6500
  Papersize: letter
  PccardctlIdent:
   Socket 0:
     no product info available
  PccardctlStatus:
   Socket 0:
     no card
  PpdFiles: Officejet-6300-series: HP Officejet 6300 Series, hpcups 3.12.2
  ProcEnviron:
   TERM=xterm
   PATH=(custom, no user)
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.2.0-24-generic 
root=UUID=c519e5fe-c1ce-42e5-a875-c395070a15ab ro quiet splash vt.handoff=7
  SourcePackage: cups
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 

[Desktop-packages] [Bug 1001028] Re: Delay after every print job on USB

2014-02-27 Thread Tres Finocchiaro
I too have a hard time determining if this issue is fixed.  I tried
contacting Canonical for paid support on this to no avail.

Here is the AskUbuntu question:
https://bugs.launchpad.net/ubuntu/+source/cups/+bug/1001028

Here is the bug report for my FOSS Java software:
https://github.com/qzindustries/qz-print/issues/17

Even manual build instructions would suffice at this point.  12.04 is
LTS so the client I'm dealing with wants to use it for a Kiosk solution.
The print delays aren't observable on Windows or OSX, which prevents
Ubuntu from being a reliable solution for the Kiosks at this time.

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

Title:
  Delay after every print job on USB

Status in “cups” package in Ubuntu:
  Fix Released
Status in “cups” source package in Precise:
  Fix Released

Bug description:
  Ubuntu 12.04 64 bit (also 32 bit is affected)
  Zebra LP 2844-Z USB printer - connected with a generic raw queue driver.

  usblp0 appears to disconnect after every print job and then
  automatically reconnect after 8 seconds. The next job to the printer
  won't print until it is reconnected. This is a problem for us in a
  high volume printing scenario.

  Here are messages from syslog:
  May 17 16:47:17 mlcx500 kernel: [25464.991868] usblp0: removed
  May 17 16:47:25 mlcx500 kernel: [25473.131745] usblp0: USB Bidirectional 
printer dev 5 if 0 alt 0 proto 2 vid 0x0A5F pid 0x0027
  May 17 16:47:25 mlcx500 udev-configure-printer: add 
/devices/pci:00/:00:1d.0/usb2/2-1/2-1.2/2-1.2:1.0/usb/lp0
  May 17 16:47:25 mlcx500 udev-configure-printer: device devpath is 
/devices/pci:00/:00:1d.0/usb2/2-1/2-1.2
  May 17 16:47:25 mlcx500 udev-configure-printer: Device already handled

  Note the 8 second pause between the first and second messages.

  Not sure where the disconnect is coming from.

  It doesn't appear to be hardware related as I have the problem with
  various combinations of printer and computer.

  [IMPACT]

  On some printers it can happen that with Precise's new libusb-based
  USB CUPS backend there is a small delay of around 8 seconds after each
  job. In environments where printers are continuously printing small
  jobs (~1 page each) this is a serious impact on printing performance.

  The USB backend in the proposed package has a configurable option to
  turn off the bi-directional operation of the backend (sending print
  data and also reading answers of the printer). With uni-directional
  printing (only sending print data) the delay disappears.

  Uni-directional printing can be set manually. We will give
  instructions in the Release Notes of 12.04.1.

  [TESTCASE]

  Unfortunately, for reproducing this bug one needs the actual printer.

  Connect a printer with the problem to the USB port of the computer.

  With current Precise you get the mentioned 8-second delay after each
  job when you print several jobs one after the other. If you install
  the proposed package you can suppress bi-directional printing via

  lpadmin -p queue name -o usb-unidir-default=true

  Now the jobs get printed directly one after the other.

  [Regression Potential]

  The patch looks perhaps more dramatic than it is. This is because
  several code sections are put into if blocks, indenting all the
  (unchanged) code lines. This especially happens because now we
  suppress using the back channel for selected printers (and also
  printers which claim to be uni-directional only).

  The code was developed in several steps and uploaded step-by-step to
  my PPA. There the reporters of the bugs covered by this SRU and some
  additional bugs (bug 902535, bug 995111) tested it intensively. They
  did not hit any regressions compared to stock Precise or the first
  CUPS SRU.

  The code is also applied to the CUPS package in Quantal and this also
  did not cause any regression bug report yet.

  I have tested the code on four HP printers (HP LaserJet 3390, HP Color
  LaserJet CM3530 MFP, HP PhotoSmart C8100, HP PhotoSmart C5200, all on
  direct USB) and one Epson printer (Epson Stylus Photo 880, both direct
  USB and parallel with Prolific USB - Parallel adaptor) and all work
  fine, no regressions.


  ProblemType: Bug
  DistroRelease: Ubuntu 12.04
  Package: cups 1.5.2-9ubuntu1
  ProcVersionSignature: Ubuntu 3.2.0-24.37-generic 3.2.14
  Uname: Linux 3.2.0-24-generic x86_64
  NonfreeKernelModules: nvidia
  ApportVersion: 2.0.1-0ubuntu7
  Architecture: amd64
  Date: Thu May 17 17:47:22 2012
  InstallationMedia: Ubuntu 12.04 LTS Precise Pangolin - Release amd64 
(20120425)
  Lpstat:
   device for Officejet-6300-series: 
dnssd://Officejet%206300%20series%20%5B75F808%5D._pdl-datastream._tcp.local/
   device for z6: 
usb://Zebra%20Technologies/ZTC%20LP2844-Z-200dpi?serial=46J08310
  MachineType: Dell Inc. Precision M6500
  Papersize: letter
  PccardctlIdent:
   Socket 0:
     no 

[Desktop-packages] [Bug 1001028] Re: Delay after every print job on USB

2014-02-27 Thread Tres Finocchiaro
*Correction, Here is the AskUbuntu question:
http://askubuntu.com/questions/427176/cups-print-delays/

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

Title:
  Delay after every print job on USB

Status in “cups” package in Ubuntu:
  Fix Released
Status in “cups” source package in Precise:
  Fix Released

Bug description:
  Ubuntu 12.04 64 bit (also 32 bit is affected)
  Zebra LP 2844-Z USB printer - connected with a generic raw queue driver.

  usblp0 appears to disconnect after every print job and then
  automatically reconnect after 8 seconds. The next job to the printer
  won't print until it is reconnected. This is a problem for us in a
  high volume printing scenario.

  Here are messages from syslog:
  May 17 16:47:17 mlcx500 kernel: [25464.991868] usblp0: removed
  May 17 16:47:25 mlcx500 kernel: [25473.131745] usblp0: USB Bidirectional 
printer dev 5 if 0 alt 0 proto 2 vid 0x0A5F pid 0x0027
  May 17 16:47:25 mlcx500 udev-configure-printer: add 
/devices/pci:00/:00:1d.0/usb2/2-1/2-1.2/2-1.2:1.0/usb/lp0
  May 17 16:47:25 mlcx500 udev-configure-printer: device devpath is 
/devices/pci:00/:00:1d.0/usb2/2-1/2-1.2
  May 17 16:47:25 mlcx500 udev-configure-printer: Device already handled

  Note the 8 second pause between the first and second messages.

  Not sure where the disconnect is coming from.

  It doesn't appear to be hardware related as I have the problem with
  various combinations of printer and computer.

  [IMPACT]

  On some printers it can happen that with Precise's new libusb-based
  USB CUPS backend there is a small delay of around 8 seconds after each
  job. In environments where printers are continuously printing small
  jobs (~1 page each) this is a serious impact on printing performance.

  The USB backend in the proposed package has a configurable option to
  turn off the bi-directional operation of the backend (sending print
  data and also reading answers of the printer). With uni-directional
  printing (only sending print data) the delay disappears.

  Uni-directional printing can be set manually. We will give
  instructions in the Release Notes of 12.04.1.

  [TESTCASE]

  Unfortunately, for reproducing this bug one needs the actual printer.

  Connect a printer with the problem to the USB port of the computer.

  With current Precise you get the mentioned 8-second delay after each
  job when you print several jobs one after the other. If you install
  the proposed package you can suppress bi-directional printing via

  lpadmin -p queue name -o usb-unidir-default=true

  Now the jobs get printed directly one after the other.

  [Regression Potential]

  The patch looks perhaps more dramatic than it is. This is because
  several code sections are put into if blocks, indenting all the
  (unchanged) code lines. This especially happens because now we
  suppress using the back channel for selected printers (and also
  printers which claim to be uni-directional only).

  The code was developed in several steps and uploaded step-by-step to
  my PPA. There the reporters of the bugs covered by this SRU and some
  additional bugs (bug 902535, bug 995111) tested it intensively. They
  did not hit any regressions compared to stock Precise or the first
  CUPS SRU.

  The code is also applied to the CUPS package in Quantal and this also
  did not cause any regression bug report yet.

  I have tested the code on four HP printers (HP LaserJet 3390, HP Color
  LaserJet CM3530 MFP, HP PhotoSmart C8100, HP PhotoSmart C5200, all on
  direct USB) and one Epson printer (Epson Stylus Photo 880, both direct
  USB and parallel with Prolific USB - Parallel adaptor) and all work
  fine, no regressions.


  ProblemType: Bug
  DistroRelease: Ubuntu 12.04
  Package: cups 1.5.2-9ubuntu1
  ProcVersionSignature: Ubuntu 3.2.0-24.37-generic 3.2.14
  Uname: Linux 3.2.0-24-generic x86_64
  NonfreeKernelModules: nvidia
  ApportVersion: 2.0.1-0ubuntu7
  Architecture: amd64
  Date: Thu May 17 17:47:22 2012
  InstallationMedia: Ubuntu 12.04 LTS Precise Pangolin - Release amd64 
(20120425)
  Lpstat:
   device for Officejet-6300-series: 
dnssd://Officejet%206300%20series%20%5B75F808%5D._pdl-datastream._tcp.local/
   device for z6: 
usb://Zebra%20Technologies/ZTC%20LP2844-Z-200dpi?serial=46J08310
  MachineType: Dell Inc. Precision M6500
  Papersize: letter
  PccardctlIdent:
   Socket 0:
     no product info available
  PccardctlStatus:
   Socket 0:
     no card
  PpdFiles: Officejet-6300-series: HP Officejet 6300 Series, hpcups 3.12.2
  ProcEnviron:
   TERM=xterm
   PATH=(custom, no user)
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.2.0-24-generic 
root=UUID=c519e5fe-c1ce-42e5-a875-c395070a15ab ro quiet splash vt.handoff=7
  SourcePackage: cups
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 06/07/2010
  

[Desktop-packages] [Bug 1001028] Re: Delay after every print job on USB

2012-10-30 Thread Ruslan
I have this problem with Epson Stylus Photo R300 printer, tried setting
lpadmin -p Stylus-Photo-R330 -o usb-unidir-default=true
but still have several seconds delay at the end of print job, i.e. the printer 
stops, waits several seconds, then does final carriage return and paper feed.
I've also tried to restart cups (just in case), but it didn't help.
I have the following in dmesg:
[18990.523142] usblp0: removed # when print job starts
[19019.917018] usblp0: USB Bidirectional printer dev 8 if 1 alt 0 proto 2 vid 
0x04B8 pid 0x0803 # when printer finally does paper feed

Do I understand correctly that this should have worked with current cups
in Precise? Any help, please?

** Attachment added: Printer lsusb output
   
https://bugs.launchpad.net/ubuntu/+source/cups/+bug/1001028/+attachment/3418957/+files/printer.log

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

Title:
  Delay after every print job on USB

Status in “cups” package in Ubuntu:
  Fix Released
Status in “cups” source package in Precise:
  Fix Released

Bug description:
  Ubuntu 12.04 64 bit (also 32 bit is affected)
  Zebra LP 2844-Z USB printer - connected with a generic raw queue driver.

  usblp0 appears to disconnect after every print job and then
  automatically reconnect after 8 seconds. The next job to the printer
  won't print until it is reconnected. This is a problem for us in a
  high volume printing scenario.

  Here are messages from syslog:
  May 17 16:47:17 mlcx500 kernel: [25464.991868] usblp0: removed
  May 17 16:47:25 mlcx500 kernel: [25473.131745] usblp0: USB Bidirectional 
printer dev 5 if 0 alt 0 proto 2 vid 0x0A5F pid 0x0027
  May 17 16:47:25 mlcx500 udev-configure-printer: add 
/devices/pci:00/:00:1d.0/usb2/2-1/2-1.2/2-1.2:1.0/usb/lp0
  May 17 16:47:25 mlcx500 udev-configure-printer: device devpath is 
/devices/pci:00/:00:1d.0/usb2/2-1/2-1.2
  May 17 16:47:25 mlcx500 udev-configure-printer: Device already handled

  Note the 8 second pause between the first and second messages.

  Not sure where the disconnect is coming from.

  It doesn't appear to be hardware related as I have the problem with
  various combinations of printer and computer.

  [IMPACT]

  On some printers it can happen that with Precise's new libusb-based
  USB CUPS backend there is a small delay of around 8 seconds after each
  job. In environments where printers are continuously printing small
  jobs (~1 page each) this is a serious impact on printing performance.

  The USB backend in the proposed package has a configurable option to
  turn off the bi-directional operation of the backend (sending print
  data and also reading answers of the printer). With uni-directional
  printing (only sending print data) the delay disappears.

  Uni-directional printing can be set manually. We will give
  instructions in the Release Notes of 12.04.1.

  [TESTCASE]

  Unfortunately, for reproducing this bug one needs the actual printer.

  Connect a printer with the problem to the USB port of the computer.

  With current Precise you get the mentioned 8-second delay after each
  job when you print several jobs one after the other. If you install
  the proposed package you can suppress bi-directional printing via

  lpadmin -p queue name -o usb-unidir-default=true

  Now the jobs get printed directly one after the other.

  [Regression Potential]

  The patch looks perhaps more dramatic than it is. This is because
  several code sections are put into if blocks, indenting all the
  (unchanged) code lines. This especially happens because now we
  suppress using the back channel for selected printers (and also
  printers which claim to be uni-directional only).

  The code was developed in several steps and uploaded step-by-step to
  my PPA. There the reporters of the bugs covered by this SRU and some
  additional bugs (bug 902535, bug 995111) tested it intensively. They
  did not hit any regressions compared to stock Precise or the first
  CUPS SRU.

  The code is also applied to the CUPS package in Quantal and this also
  did not cause any regression bug report yet.

  I have tested the code on four HP printers (HP LaserJet 3390, HP Color
  LaserJet CM3530 MFP, HP PhotoSmart C8100, HP PhotoSmart C5200, all on
  direct USB) and one Epson printer (Epson Stylus Photo 880, both direct
  USB and parallel with Prolific USB - Parallel adaptor) and all work
  fine, no regressions.


  ProblemType: Bug
  DistroRelease: Ubuntu 12.04
  Package: cups 1.5.2-9ubuntu1
  ProcVersionSignature: Ubuntu 3.2.0-24.37-generic 3.2.14
  Uname: Linux 3.2.0-24-generic x86_64
  NonfreeKernelModules: nvidia
  ApportVersion: 2.0.1-0ubuntu7
  Architecture: amd64
  Date: Thu May 17 17:47:22 2012
  InstallationMedia: Ubuntu 12.04 LTS Precise Pangolin - Release amd64 
(20120425)
  Lpstat:
   device for Officejet-6300-series: 

[Desktop-packages] [Bug 1001028] Re: Delay after every print job on USB

2012-09-21 Thread Till Kamppeter
The current version of CUPS in Quantal sets uni-directional for all
Zebra printers, so the problem of the original poster is solved out-of-
the-box now.

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

Title:
  Delay after every print job on USB

Status in “cups” package in Ubuntu:
  Fix Released
Status in “cups” source package in Precise:
  Fix Released

Bug description:
  Ubuntu 12.04 64 bit (also 32 bit is affected)
  Zebra LP 2844-Z USB printer - connected with a generic raw queue driver.

  usblp0 appears to disconnect after every print job and then
  automatically reconnect after 8 seconds. The next job to the printer
  won't print until it is reconnected. This is a problem for us in a
  high volume printing scenario.

  Here are messages from syslog:
  May 17 16:47:17 mlcx500 kernel: [25464.991868] usblp0: removed
  May 17 16:47:25 mlcx500 kernel: [25473.131745] usblp0: USB Bidirectional 
printer dev 5 if 0 alt 0 proto 2 vid 0x0A5F pid 0x0027
  May 17 16:47:25 mlcx500 udev-configure-printer: add 
/devices/pci:00/:00:1d.0/usb2/2-1/2-1.2/2-1.2:1.0/usb/lp0
  May 17 16:47:25 mlcx500 udev-configure-printer: device devpath is 
/devices/pci:00/:00:1d.0/usb2/2-1/2-1.2
  May 17 16:47:25 mlcx500 udev-configure-printer: Device already handled

  Note the 8 second pause between the first and second messages.

  Not sure where the disconnect is coming from.

  It doesn't appear to be hardware related as I have the problem with
  various combinations of printer and computer.

  [IMPACT]

  On some printers it can happen that with Precise's new libusb-based
  USB CUPS backend there is a small delay of around 8 seconds after each
  job. In environments where printers are continuously printing small
  jobs (~1 page each) this is a serious impact on printing performance.

  The USB backend in the proposed package has a configurable option to
  turn off the bi-directional operation of the backend (sending print
  data and also reading answers of the printer). With uni-directional
  printing (only sending print data) the delay disappears.

  Uni-directional printing can be set manually. We will give
  instructions in the Release Notes of 12.04.1.

  [TESTCASE]

  Unfortunately, for reproducing this bug one needs the actual printer.

  Connect a printer with the problem to the USB port of the computer.

  With current Precise you get the mentioned 8-second delay after each
  job when you print several jobs one after the other. If you install
  the proposed package you can suppress bi-directional printing via

  lpadmin -p queue name -o usb-unidir-default=true

  Now the jobs get printed directly one after the other.

  [Regression Potential]

  The patch looks perhaps more dramatic than it is. This is because
  several code sections are put into if blocks, indenting all the
  (unchanged) code lines. This especially happens because now we
  suppress using the back channel for selected printers (and also
  printers which claim to be uni-directional only).

  The code was developed in several steps and uploaded step-by-step to
  my PPA. There the reporters of the bugs covered by this SRU and some
  additional bugs (bug 902535, bug 995111) tested it intensively. They
  did not hit any regressions compared to stock Precise or the first
  CUPS SRU.

  The code is also applied to the CUPS package in Quantal and this also
  did not cause any regression bug report yet.

  I have tested the code on four HP printers (HP LaserJet 3390, HP Color
  LaserJet CM3530 MFP, HP PhotoSmart C8100, HP PhotoSmart C5200, all on
  direct USB) and one Epson printer (Epson Stylus Photo 880, both direct
  USB and parallel with Prolific USB - Parallel adaptor) and all work
  fine, no regressions.


  ProblemType: Bug
  DistroRelease: Ubuntu 12.04
  Package: cups 1.5.2-9ubuntu1
  ProcVersionSignature: Ubuntu 3.2.0-24.37-generic 3.2.14
  Uname: Linux 3.2.0-24-generic x86_64
  NonfreeKernelModules: nvidia
  ApportVersion: 2.0.1-0ubuntu7
  Architecture: amd64
  Date: Thu May 17 17:47:22 2012
  InstallationMedia: Ubuntu 12.04 LTS Precise Pangolin - Release amd64 
(20120425)
  Lpstat:
   device for Officejet-6300-series: 
dnssd://Officejet%206300%20series%20%5B75F808%5D._pdl-datastream._tcp.local/
   device for z6: 
usb://Zebra%20Technologies/ZTC%20LP2844-Z-200dpi?serial=46J08310
  MachineType: Dell Inc. Precision M6500
  Papersize: letter
  PccardctlIdent:
   Socket 0:
     no product info available
  PccardctlStatus:
   Socket 0:
     no card
  PpdFiles: Officejet-6300-series: HP Officejet 6300 Series, hpcups 3.12.2
  ProcEnviron:
   TERM=xterm
   PATH=(custom, no user)
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.2.0-24-generic 
root=UUID=c519e5fe-c1ce-42e5-a875-c395070a15ab ro quiet splash vt.handoff=7
  SourcePackage: cups
  UpgradeStatus: No upgrade log present (probably 

[Desktop-packages] [Bug 1001028] Re: Delay after every print job on USB

2012-09-21 Thread Mitch Claborn
Will that change be back-ported to Precise?

Will that work for existing printer defintions, or new ones only?

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

Title:
  Delay after every print job on USB

Status in “cups” package in Ubuntu:
  Fix Released
Status in “cups” source package in Precise:
  Fix Released

Bug description:
  Ubuntu 12.04 64 bit (also 32 bit is affected)
  Zebra LP 2844-Z USB printer - connected with a generic raw queue driver.

  usblp0 appears to disconnect after every print job and then
  automatically reconnect after 8 seconds. The next job to the printer
  won't print until it is reconnected. This is a problem for us in a
  high volume printing scenario.

  Here are messages from syslog:
  May 17 16:47:17 mlcx500 kernel: [25464.991868] usblp0: removed
  May 17 16:47:25 mlcx500 kernel: [25473.131745] usblp0: USB Bidirectional 
printer dev 5 if 0 alt 0 proto 2 vid 0x0A5F pid 0x0027
  May 17 16:47:25 mlcx500 udev-configure-printer: add 
/devices/pci:00/:00:1d.0/usb2/2-1/2-1.2/2-1.2:1.0/usb/lp0
  May 17 16:47:25 mlcx500 udev-configure-printer: device devpath is 
/devices/pci:00/:00:1d.0/usb2/2-1/2-1.2
  May 17 16:47:25 mlcx500 udev-configure-printer: Device already handled

  Note the 8 second pause between the first and second messages.

  Not sure where the disconnect is coming from.

  It doesn't appear to be hardware related as I have the problem with
  various combinations of printer and computer.

  [IMPACT]

  On some printers it can happen that with Precise's new libusb-based
  USB CUPS backend there is a small delay of around 8 seconds after each
  job. In environments where printers are continuously printing small
  jobs (~1 page each) this is a serious impact on printing performance.

  The USB backend in the proposed package has a configurable option to
  turn off the bi-directional operation of the backend (sending print
  data and also reading answers of the printer). With uni-directional
  printing (only sending print data) the delay disappears.

  Uni-directional printing can be set manually. We will give
  instructions in the Release Notes of 12.04.1.

  [TESTCASE]

  Unfortunately, for reproducing this bug one needs the actual printer.

  Connect a printer with the problem to the USB port of the computer.

  With current Precise you get the mentioned 8-second delay after each
  job when you print several jobs one after the other. If you install
  the proposed package you can suppress bi-directional printing via

  lpadmin -p queue name -o usb-unidir-default=true

  Now the jobs get printed directly one after the other.

  [Regression Potential]

  The patch looks perhaps more dramatic than it is. This is because
  several code sections are put into if blocks, indenting all the
  (unchanged) code lines. This especially happens because now we
  suppress using the back channel for selected printers (and also
  printers which claim to be uni-directional only).

  The code was developed in several steps and uploaded step-by-step to
  my PPA. There the reporters of the bugs covered by this SRU and some
  additional bugs (bug 902535, bug 995111) tested it intensively. They
  did not hit any regressions compared to stock Precise or the first
  CUPS SRU.

  The code is also applied to the CUPS package in Quantal and this also
  did not cause any regression bug report yet.

  I have tested the code on four HP printers (HP LaserJet 3390, HP Color
  LaserJet CM3530 MFP, HP PhotoSmart C8100, HP PhotoSmart C5200, all on
  direct USB) and one Epson printer (Epson Stylus Photo 880, both direct
  USB and parallel with Prolific USB - Parallel adaptor) and all work
  fine, no regressions.


  ProblemType: Bug
  DistroRelease: Ubuntu 12.04
  Package: cups 1.5.2-9ubuntu1
  ProcVersionSignature: Ubuntu 3.2.0-24.37-generic 3.2.14
  Uname: Linux 3.2.0-24-generic x86_64
  NonfreeKernelModules: nvidia
  ApportVersion: 2.0.1-0ubuntu7
  Architecture: amd64
  Date: Thu May 17 17:47:22 2012
  InstallationMedia: Ubuntu 12.04 LTS Precise Pangolin - Release amd64 
(20120425)
  Lpstat:
   device for Officejet-6300-series: 
dnssd://Officejet%206300%20series%20%5B75F808%5D._pdl-datastream._tcp.local/
   device for z6: 
usb://Zebra%20Technologies/ZTC%20LP2844-Z-200dpi?serial=46J08310
  MachineType: Dell Inc. Precision M6500
  Papersize: letter
  PccardctlIdent:
   Socket 0:
     no product info available
  PccardctlStatus:
   Socket 0:
     no card
  PpdFiles: Officejet-6300-series: HP Officejet 6300 Series, hpcups 3.12.2
  ProcEnviron:
   TERM=xterm
   PATH=(custom, no user)
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.2.0-24-generic 
root=UUID=c519e5fe-c1ce-42e5-a875-c395070a15ab ro quiet splash vt.handoff=7
  SourcePackage: cups
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 06/07/2010
 

[Desktop-packages] [Bug 1001028] Re: Delay after every print job on USB

2012-09-21 Thread Till Kamppeter
I did not decide yet but probably we will backport the change to
Precise.

The change is immediately active, also on existing printer definitions.

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

Title:
  Delay after every print job on USB

Status in “cups” package in Ubuntu:
  Fix Released
Status in “cups” source package in Precise:
  Fix Released

Bug description:
  Ubuntu 12.04 64 bit (also 32 bit is affected)
  Zebra LP 2844-Z USB printer - connected with a generic raw queue driver.

  usblp0 appears to disconnect after every print job and then
  automatically reconnect after 8 seconds. The next job to the printer
  won't print until it is reconnected. This is a problem for us in a
  high volume printing scenario.

  Here are messages from syslog:
  May 17 16:47:17 mlcx500 kernel: [25464.991868] usblp0: removed
  May 17 16:47:25 mlcx500 kernel: [25473.131745] usblp0: USB Bidirectional 
printer dev 5 if 0 alt 0 proto 2 vid 0x0A5F pid 0x0027
  May 17 16:47:25 mlcx500 udev-configure-printer: add 
/devices/pci:00/:00:1d.0/usb2/2-1/2-1.2/2-1.2:1.0/usb/lp0
  May 17 16:47:25 mlcx500 udev-configure-printer: device devpath is 
/devices/pci:00/:00:1d.0/usb2/2-1/2-1.2
  May 17 16:47:25 mlcx500 udev-configure-printer: Device already handled

  Note the 8 second pause between the first and second messages.

  Not sure where the disconnect is coming from.

  It doesn't appear to be hardware related as I have the problem with
  various combinations of printer and computer.

  [IMPACT]

  On some printers it can happen that with Precise's new libusb-based
  USB CUPS backend there is a small delay of around 8 seconds after each
  job. In environments where printers are continuously printing small
  jobs (~1 page each) this is a serious impact on printing performance.

  The USB backend in the proposed package has a configurable option to
  turn off the bi-directional operation of the backend (sending print
  data and also reading answers of the printer). With uni-directional
  printing (only sending print data) the delay disappears.

  Uni-directional printing can be set manually. We will give
  instructions in the Release Notes of 12.04.1.

  [TESTCASE]

  Unfortunately, for reproducing this bug one needs the actual printer.

  Connect a printer with the problem to the USB port of the computer.

  With current Precise you get the mentioned 8-second delay after each
  job when you print several jobs one after the other. If you install
  the proposed package you can suppress bi-directional printing via

  lpadmin -p queue name -o usb-unidir-default=true

  Now the jobs get printed directly one after the other.

  [Regression Potential]

  The patch looks perhaps more dramatic than it is. This is because
  several code sections are put into if blocks, indenting all the
  (unchanged) code lines. This especially happens because now we
  suppress using the back channel for selected printers (and also
  printers which claim to be uni-directional only).

  The code was developed in several steps and uploaded step-by-step to
  my PPA. There the reporters of the bugs covered by this SRU and some
  additional bugs (bug 902535, bug 995111) tested it intensively. They
  did not hit any regressions compared to stock Precise or the first
  CUPS SRU.

  The code is also applied to the CUPS package in Quantal and this also
  did not cause any regression bug report yet.

  I have tested the code on four HP printers (HP LaserJet 3390, HP Color
  LaserJet CM3530 MFP, HP PhotoSmart C8100, HP PhotoSmart C5200, all on
  direct USB) and one Epson printer (Epson Stylus Photo 880, both direct
  USB and parallel with Prolific USB - Parallel adaptor) and all work
  fine, no regressions.


  ProblemType: Bug
  DistroRelease: Ubuntu 12.04
  Package: cups 1.5.2-9ubuntu1
  ProcVersionSignature: Ubuntu 3.2.0-24.37-generic 3.2.14
  Uname: Linux 3.2.0-24-generic x86_64
  NonfreeKernelModules: nvidia
  ApportVersion: 2.0.1-0ubuntu7
  Architecture: amd64
  Date: Thu May 17 17:47:22 2012
  InstallationMedia: Ubuntu 12.04 LTS Precise Pangolin - Release amd64 
(20120425)
  Lpstat:
   device for Officejet-6300-series: 
dnssd://Officejet%206300%20series%20%5B75F808%5D._pdl-datastream._tcp.local/
   device for z6: 
usb://Zebra%20Technologies/ZTC%20LP2844-Z-200dpi?serial=46J08310
  MachineType: Dell Inc. Precision M6500
  Papersize: letter
  PccardctlIdent:
   Socket 0:
     no product info available
  PccardctlStatus:
   Socket 0:
     no card
  PpdFiles: Officejet-6300-series: HP Officejet 6300 Series, hpcups 3.12.2
  ProcEnviron:
   TERM=xterm
   PATH=(custom, no user)
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.2.0-24-generic 
root=UUID=c519e5fe-c1ce-42e5-a875-c395070a15ab ro quiet splash vt.handoff=7
  SourcePackage: cups
  UpgradeStatus: No upgrade log present (probably fresh 

[Desktop-packages] [Bug 1001028] Re: Delay after every print job on USB

2012-09-18 Thread Rocklobster
OK, latest update for CUPS and ML1710 and everything is back to normal
again.  I can queue up print jobs, switch on the printer and they will
all come out.  Thanks!

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

Title:
  Delay after every print job on USB

Status in “cups” package in Ubuntu:
  Fix Released
Status in “cups” source package in Precise:
  Fix Released

Bug description:
  Ubuntu 12.04 64 bit (also 32 bit is affected)
  Zebra LP 2844-Z USB printer - connected with a generic raw queue driver.

  usblp0 appears to disconnect after every print job and then
  automatically reconnect after 8 seconds. The next job to the printer
  won't print until it is reconnected. This is a problem for us in a
  high volume printing scenario.

  Here are messages from syslog:
  May 17 16:47:17 mlcx500 kernel: [25464.991868] usblp0: removed
  May 17 16:47:25 mlcx500 kernel: [25473.131745] usblp0: USB Bidirectional 
printer dev 5 if 0 alt 0 proto 2 vid 0x0A5F pid 0x0027
  May 17 16:47:25 mlcx500 udev-configure-printer: add 
/devices/pci:00/:00:1d.0/usb2/2-1/2-1.2/2-1.2:1.0/usb/lp0
  May 17 16:47:25 mlcx500 udev-configure-printer: device devpath is 
/devices/pci:00/:00:1d.0/usb2/2-1/2-1.2
  May 17 16:47:25 mlcx500 udev-configure-printer: Device already handled

  Note the 8 second pause between the first and second messages.

  Not sure where the disconnect is coming from.

  It doesn't appear to be hardware related as I have the problem with
  various combinations of printer and computer.

  [IMPACT]

  On some printers it can happen that with Precise's new libusb-based
  USB CUPS backend there is a small delay of around 8 seconds after each
  job. In environments where printers are continuously printing small
  jobs (~1 page each) this is a serious impact on printing performance.

  The USB backend in the proposed package has a configurable option to
  turn off the bi-directional operation of the backend (sending print
  data and also reading answers of the printer). With uni-directional
  printing (only sending print data) the delay disappears.

  Uni-directional printing can be set manually. We will give
  instructions in the Release Notes of 12.04.1.

  [TESTCASE]

  Unfortunately, for reproducing this bug one needs the actual printer.

  Connect a printer with the problem to the USB port of the computer.

  With current Precise you get the mentioned 8-second delay after each
  job when you print several jobs one after the other. If you install
  the proposed package you can suppress bi-directional printing via

  lpadmin -p queue name -o usb-unidir-default=true

  Now the jobs get printed directly one after the other.

  [Regression Potential]

  The patch looks perhaps more dramatic than it is. This is because
  several code sections are put into if blocks, indenting all the
  (unchanged) code lines. This especially happens because now we
  suppress using the back channel for selected printers (and also
  printers which claim to be uni-directional only).

  The code was developed in several steps and uploaded step-by-step to
  my PPA. There the reporters of the bugs covered by this SRU and some
  additional bugs (bug 902535, bug 995111) tested it intensively. They
  did not hit any regressions compared to stock Precise or the first
  CUPS SRU.

  The code is also applied to the CUPS package in Quantal and this also
  did not cause any regression bug report yet.

  I have tested the code on four HP printers (HP LaserJet 3390, HP Color
  LaserJet CM3530 MFP, HP PhotoSmart C8100, HP PhotoSmart C5200, all on
  direct USB) and one Epson printer (Epson Stylus Photo 880, both direct
  USB and parallel with Prolific USB - Parallel adaptor) and all work
  fine, no regressions.


  ProblemType: Bug
  DistroRelease: Ubuntu 12.04
  Package: cups 1.5.2-9ubuntu1
  ProcVersionSignature: Ubuntu 3.2.0-24.37-generic 3.2.14
  Uname: Linux 3.2.0-24-generic x86_64
  NonfreeKernelModules: nvidia
  ApportVersion: 2.0.1-0ubuntu7
  Architecture: amd64
  Date: Thu May 17 17:47:22 2012
  InstallationMedia: Ubuntu 12.04 LTS Precise Pangolin - Release amd64 
(20120425)
  Lpstat:
   device for Officejet-6300-series: 
dnssd://Officejet%206300%20series%20%5B75F808%5D._pdl-datastream._tcp.local/
   device for z6: 
usb://Zebra%20Technologies/ZTC%20LP2844-Z-200dpi?serial=46J08310
  MachineType: Dell Inc. Precision M6500
  Papersize: letter
  PccardctlIdent:
   Socket 0:
     no product info available
  PccardctlStatus:
   Socket 0:
     no card
  PpdFiles: Officejet-6300-series: HP Officejet 6300 Series, hpcups 3.12.2
  ProcEnviron:
   TERM=xterm
   PATH=(custom, no user)
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.2.0-24-generic 
root=UUID=c519e5fe-c1ce-42e5-a875-c395070a15ab ro quiet splash vt.handoff=7
  SourcePackage: cups
  UpgradeStatus: No upgrade log present