[Printing-architecture] [patch] CUPS 1.7.0: fix corrupted output for USB printers
msweet at apple.com
Mon Dec 2 16:33:37 UTC 2013
On Nov 29, 2013, at 7:08 AM, Tim Waugh <twaugh at redhat.com> wrote:
> When using the usb backend, if a usb-1 printer connected to a usb-2 hub
> runs out of paper during the job the print output will be corrupted.
> This is due to using a 60 second timeout for the libusb_bulk_transfer()
> call. Timeout handling and retries are not reliable in every case, as
> described here:
> Quoting from that report:
> So TL;DR: this a known and unfixable problem, and the solution is to
> simply not cancel transfers (by setting a timeout) and then decide you
> want to finish the transfer after all. Either decide you want to really
> cancel the transfer, or just wait for it to finish normally.
> Patch attached to change the timeout to 0 to wait indefinitely.
This mirrors what we do on OS X; will include this in CUPS 1.7.1.
<rdar://problem/15564888> cups.org: Fix USB timeouts on Linux
Michael Sweet, Senior Printing System Engineer, PWG Chair
More information about the Printing-architecture