CanonIP4200 does not print complete pages #4155
Comments
CUPS.org User: mike What printer? Can you provide a debug error_log file? Run:
to enable debug logging, print something, then attach the /var/log/cups/error_log file. Thanks! |
CUPS.org User: stosch I attached the error_log. My printer is a Canon PIXMA iP4200 (ID: 04a9:10a2) |
CUPS.org User: Le_Limule i think i have exactly the same pb with a Canon PIXMA IP1600. [guigui@ctkarch ~]$ uname -a [guigui@ctkarch ~]$ lsusb [guigui@ctkarch ~]$ tail /var/log/messages.log i downgraded cups to 1.5.3-5. and it seems to works (i will see...). (i let libcups 1.6.1-1) |
CUPS.org User: till.kamppeter The problem is a port reset which is done by the new USB backend of CUPS 1.5.4 and 1.6.x to clean up after the job. I will add a quirk handler for this reset so that it will not be done for all printers. |
CUPS.org User: till.kamppeter See also https://bugs.launchpad.net/ubuntu/+source/cups/+bug/1032456 |
CUPS.org User: till.kamppeter Patch to fix this bug is attached. The reset after the job will now only be done for Samsung printers and for Prolific Technology USB->Parallel adapters as they need the reset to work correctly. |
CUPS.org User: stosch Thank you. The patch solves the problem of not completing the pages. Though I still have some problems which are pretty random and obviously depending on the software I use: |
CUPS.org User: till.kamppeter On https://bugs.launchpad.net/ubuntu/+source/cups/+bug/1032456 two users have already confirmed that the patch fixes this bug. I have also done a regression test with the Prolific Technology USB->Parallel adapter (needs the after-job reset and has therefore a quirk rule) and it still works. |
CUPS.org User: stosch Ok, I think(/hope) I found the problem. As you (till.kamppeter) posted somewhere else (https://bugs.launchpad.net/ubuntu/+source/cups/+bug/1001028/comments/33) to a slightly different problem I tried to execute: |
CUPS.org User: till.kamppeter We have issued the patch now as a Stable Release Update for Ubuntu 12.04 LTS and more people have confirmed that it fixes their problems. |
CUPS.org User: till.kamppeter Attached is an update for my patch. It adds two quirk rules to force uni-directional communication with the Canon Pixma iP4200 and iP4300. This should solve the problem of stosch in this bug report and also https://bugs.launchpad.net/bugs/1032385. |
CUPS.org User: stosch Thanks for the update. It works perfectly here, too. |
CUPS.org User: till.kamppeter Unfortunately, the previous patches caused a regression. The quirk rule for all Samsung printers to still get the clean-up reset did not work making all Samsungs not working with the USB backend. I have fixed this now and so from now on all-of-a-manufacturer quirk rules (product ID set to 0x0000) work. |
CUPS.org User: mike Fixed in Subversion repository. |
CUPS.org User: gentoo_root I have the same problem with Canon Pixma MP550 (04a9:173d). Please add quirk for this printer too. |
CUPS.org User: till.kamppeter Thank you for the hint. I am preparing some additional quirk rules currently and I will add your printer. |
CUPS.org User: fitzcarraldo I am not sure whether or not I am supposed to file a new bug report, as I believe the problem I am experiencing is the same as reported here, but this report has been closed with resolution, but the patches attached do not refer to the model of printer I have that is suffering from the problem of incomplete pages being printed. The printer is a Canon PIXMA MP560 (04a9:173e), so would you kindly add this printer to your patch. Thank you. |
CUPS.org User: till.kamppeter fitzcarraldo, I have submitted the fix for your problem together with fixes for other printers as STR #4191. |
"usb-backend-reset-after-job-only-for-specific-devices.patch": --- backend/usb-libusb.c.orig 2012-07-16 19:10:55.000000000 +0200
@@ -147,9 +149,11 @@
@@ -256,7 +260,12 @@ g.print_fd = print_fd;
/*
printer->usblp_attached = 0;
if (verbose)
|
"usb-backend-reset-after-job-only-for-specific-devices-2.patch": --- cups/backend/usb-libusb.c 2012-07-24 18:37:15.312013467 +0200
@@ -141,15 +143,21 @@
@@ -256,7 +264,12 @@ g.print_fd = print_fd;
/*
printer->usblp_attached = 0;
if (verbose)
|
"usb-backend-reset-after-job-only-for-specific-devices-3.patch": --- backend/usb-libusb.c 2012-07-24 18:37:15.312013467 +0200
@@ -141,15 +143,21 @@
@@ -256,7 +264,12 @@ g.print_fd = print_fd;
/*
printer->usblp_attached = 0;
if (verbose)
|
Version: 1.6.1
CUPS.org User: stosch
Since the release of CUPS 1.5.4 my printer does not print complete pages any more (e.g. testpage finishes at about 3/4). The job however is logged as completed. Reverting to 1.5.3 solves the problem in general.
Seldomly there are jobs which are not finished and the printer just hangs. I then have to turn of the power of the printer. I had this problem with 1.5.3 yesterday but cannot reproduce it.
My guess would be, that it has something to do with the usblp/libusb changes here: http://cups.org/str.php?L4128. Especially the comment to the usb-libusb-c-update-1-5-x-3.patch sounds familiar.
In addition: I am using Archlinux x86_64. In earlier days it was suggested to blacklist usblp - I tested both versions - with and without usblp - and got the same results.
I enabled Debugging in cupsd.conf and received no errors.
Please tell me if you need any further information.
The text was updated successfully, but these errors were encountered: