Red Hat Bugzilla – Bug 249213
Takes several hours to print a single US Letter page with cups-1.2.12
Last modified: 2007-11-30 17:12:11 EST
Description of problem:
After the recent update to cups-1.2.12, a regular US Letter photo quality print
on my Canon ip6700d takes many hours to complete, instead of the previous 30-60
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Insert a single sheet of paper
2. Queue a print job
Prints one row of image every 10 seconds, complete job takes many hours
Job finished in < 1 minute
The cnijfilter-* RPMs are the Canon supplied prorietry addons. I do not believe
these are the problem though because they merely do the data conversion - the
sending of data to the USB device is still being done by regular CUPs.
I straced the /usr/lib/cups/backend/usb process that is sending data to the
device and after every single write() it gets EAGAIN, and then does a 1 second
sleep. So its only sending 8192 bytes of data each second, explaining why it
takes many hours to send the 40 MB print job.
I looked at the source for the USB backend at it looks like the 'sleep(1)' was
introduced by a custom Fedora patch ontop of regular upstream
Removing this patch & re-building the cups RPM solved the problems & printing is
now fast again.
cups-1.2.12-2.fc7 has been pushed to the Fedora 7 testing repository. If problems still persist, please make note of it in this bug report.
Have you tried 1.2.12-2.fc7? Does it fix the problem for you?
(To upgrade to it, use:
yum --enablerepo=updates-testing update 'cups*'
and say 'y' when prompted.)
I've not tested FC7 rpms because I reported this against FC6 which is the OS on
the machine I print from. That said it appears there's now a cups update for FC6
too so I'll give that a try.
Confirmed that the cups-1.2.12-2.fc6 build has resolved the problems
cups-1.2.12-4.fc7 has been pushed to the Fedora 7 stable repository. If problems still persist, please make note of it in this bug report.