Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 445278

Summary: >=net-print/cups-1.5.3 - Broken for some printer models [prints half last page]
Product: Gentoo Linux Reporter: Marios Andreopoulos <opensource>
Component: [OLD] PrintingAssignee: Printing Team <printing>
Status: RESOLVED FIXED    
Severity: normal CC: barrie.backhurst, joerg.schaible, netz
Priority: Normal Keywords: EBUILD, PATCH
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 463014    
Attachments: patch to be applied 1st
patch to be applied 2nd
patch to be applied 3rd
updated ebuild for cups 1.6.1

Description Marios Andreopoulos 2012-11-30 00:19:22 UTC
CUPS 1.5.3 introduced some code to sent a usb reset command at the end of a print.
While this solved problems for some printers, it created problems for some others.
Specifically, when the usb reset command is sent, affected printers cancel the print and thus print the last page partially.

Affected printers until now:
PIXMA iP4200, PIXMA iP4300, MP500, MP510, MP550, MP560, HL-1430, Okipage 14ex, Oki B410d, all Zebra printers.

I am surprised no one reported it yet.

Links to CUPS bug tracker (with appropriate patches):
http://www.cups.org/str.php?L4191
http://www.cups.org/str.php?L4155

One of the many reports on launchpad:
https://bugs.launchpad.net/ubuntu/+source/cups/+bug/1032456

The patches from the above sources work with =net-print/cups-1.6.1.
I attach them, as well as an updated ebuild.

Reproducible: Always
Comment 1 Marios Andreopoulos 2012-11-30 00:20:39 UTC
Created attachment 330992 [details]
patch to be applied 1st
Comment 2 Marios Andreopoulos 2012-11-30 00:21:08 UTC
Created attachment 330994 [details]
patch to be applied 2nd
Comment 3 Marios Andreopoulos 2012-11-30 00:21:28 UTC
Created attachment 330996 [details]
patch to be applied 3rd
Comment 4 Marios Andreopoulos 2012-11-30 00:22:32 UTC
Created attachment 330998 [details]
updated ebuild for cups 1.6.1
Comment 5 barrie backhurst 2013-02-19 10:48:00 UTC
Works for me
Canon ip4000 and ip4300
Comment 6 Cristian Onet 2013-03-17 11:49:42 UTC
After emerging cups 1.6.1 I was also hit by this bug (using a BJC-2100 usb printer) and can confirm that applying the attached patches fixes the problem.
Comment 7 Andreas K. Hüttel archtester gentoo-dev 2013-06-26 22:39:59 UTC
*** Bug 457574 has been marked as a duplicate of this bug. ***
Comment 8 Andreas K. Hüttel archtester gentoo-dev 2013-06-28 21:37:24 UTC
Comment on attachment 330994 [details]
patch to be applied 2nd

This patch is already in net-print/cups-1.6.2
Comment 9 Andreas K. Hüttel archtester gentoo-dev 2013-06-28 21:39:05 UTC
Comment on attachment 330992 [details]
patch to be applied 1st

This patch is already in net-print/cups-1.6.2
Comment 10 Andreas K. Hüttel archtester gentoo-dev 2013-06-28 21:43:10 UTC
The last patch is also already in 1.6.2. Nothing to do here anymore after 1.6 goes stable.