Several mm left offset on Canon ir3035

Bug #953962 reported by karaluh
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
foomatic-filters (Ubuntu)
Fix Released
High
Unassigned

Bug Description

As in summary, the offset results in cut printouts, see attachements. The test document prints fine on LJ P2015. This happens in Okular and LO Writer.

ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: cups 1.5.0-8ubuntu7
ProcVersionSignature: Ubuntu 3.0.0-16.29-generic 3.0.20
Uname: Linux 3.0.0-16-generic i686
ApportVersion: 1.23-0ubuntu4
Architecture: i386
Date: Tue Mar 13 12:26:33 2012
MachineType: To Be Filled By O.E.M. To Be Filled By O.E.M.
Papersize: a4
ProcEnviron:
 LANGUAGE=pl_PL:pl:en_GB:en
 PATH=(custom, user)
 LANG=pl_PL.UTF-8
 SHELL=/bin/bash
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.0.0-16-generic root=UUID=d6d9b55b-2a61-4793-a5ba-982b43f9a7f4 ro quiet splash vt.handoff=7
SourcePackage: cups
UpgradeStatus: Upgraded to oneiric on 2011-10-18 (146 days ago)
dmi.bios.date: 06/11/2004
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: 1002.002
dmi.board.name: P4P800-MX
dmi.board.vendor: ASUSTek Computer Inc.
dmi.board.version: Rev 1.xx
dmi.chassis.asset.tag: Asset-1234567890
dmi.chassis.type: 3
dmi.chassis.vendor: Chassis Manufacture
dmi.chassis.version: Chassis Version
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvr1002.002:bd06/11/2004:svnToBeFilledByO.E.M.:pnToBeFilledByO.E.M.:pvrToBeFilledByO.E.M.:rvnASUSTekComputerInc.:rnP4P800-MX:rvrRev1.xx:cvnChassisManufacture:ct3:cvrChassisVersion:
dmi.product.name: To Be Filled By O.E.M.
dmi.product.version: To Be Filled By O.E.M.
dmi.sys.vendor: To Be Filled By O.E.M.

Revision history for this message
karaluh (karaluh) wrote :
Revision history for this message
karaluh (karaluh) wrote :
Revision history for this message
karaluh (karaluh) wrote :
Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

Can you follow the instructions of the sections "CUPS error_log" and "Capturing print job data" on
https://wiki.ubuntu.com/DebuggingPrintingProblems. Thanks.

Changed in cups (Ubuntu):
status: New → Incomplete
Revision history for this message
karaluh (karaluh) wrote :
Revision history for this message
karaluh (karaluh) wrote :

The print job looks fine

Revision history for this message
karaluh (karaluh) wrote :

But the printout doesn't

Changed in cups (Ubuntu):
status: Incomplete → New
Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

Can you also attach your PPDX file, /etc/cups/ppd/Canon.ppd. Thanks.

Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

Can you also set up a new print queue for your printer and change the make, model, and driver to "Generic PCL-5e printer, Foomatic/ljet4" and try to print through this queue. Please also attach the error_log, the captured print job data, the PPD file, and the scanned printout. Thanks.

Changed in cups (Ubuntu):
status: New → Incomplete
Revision history for this message
karaluh (karaluh) wrote :
Revision history for this message
karaluh (karaluh) wrote :
Revision history for this message
karaluh (karaluh) wrote :
Revision history for this message
karaluh (karaluh) wrote :
Revision history for this message
karaluh (karaluh) wrote :

The printout looks ok, it's without additional left margin

Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

Most probably the shift is caused by the proprietary filter which comes from Canon's proprietary driver package, as using the stock "ljet4" driver gives correct output.

During the investigations I have found a small bug in the PPD file which breaks the resolution option and introduces an unneeded data conversion to PostScript. I attach the fixed PPD file. Please try it. At least it should allow you to set the resolution, but perhaps it fixes also the shift.

Run the command

lpadmin -p Canon -P Canon.ppd

in a terminal window to install the PPD file.

Revision history for this message
karaluh (karaluh) wrote :

Yes it looks like the printouts are generated correctly. Thank you very much.

Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

karaluh, thanks. I will put up a fix for foomatic-filters which makes it at least suppress the unneeded conversion to PostScript with this broken PPD file. This can already deliver correct printouts to you with Canon's original, broken PPD file, but will not be able to work around the non-working resolution options.

As soon as I have made this package available, test with the old and the new PPD whether you get at least correct printouts, but use the new PPD for your daily printing as it allows you to set the resolution.

affects: cups (Ubuntu) → foomatic-filters (Ubuntu)
Changed in foomatic-filters (Ubuntu):
importance: Undecided → High
milestone: none → ubuntu-12.04
status: Incomplete → Triaged
Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

Please test whether this corrected PPD (and later the fixed foomatic-filters) fix also bug 960989.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package foomatic-filters - 4.0.15-0ubuntu1

---------------
foomatic-filters (4.0.15-0ubuntu1) precise; urgency=low

  * New upstream release
     - Improved check whether a driver works with PDF input data:
       Do not take into account bogus options which appear due to bugs in
       PPD files (type is TYPE_NONE) or composite options and in addition
       add debug output to show the reason for the decision to convert to
       PostScript (LP: #953962).

foomatic-filters (4.0.14-1) unstable; urgency=low

  [ Till Kamppeter ]
  * New upstream release
     - If the input data is PDF but the driver requires PostScript, use the
       pdftops CUPS filter when CUPS is the spooler. This way we always use
       the same method to convert PDF to PostScript in the whole system,
       including any workarounds applied in the CUPS filter.

  [ Didier Raboud ]
  * Bump debhelper compat to 9 for auto-buildflags.
  * Bump Standards-Version to 3.9.3 without changes needed.
 -- Till Kamppeter <email address hidden> Fri, 23 Mar 2012 13:41:03 +0100

Changed in foomatic-filters (Ubuntu):
status: Triaged → Fix Released
Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

Can you do all system updates to get the fixed foomatic-filters (4.0.15) package and then test printing with the old, broken Canon.ppd? I want to know whether the foomatic-filters change already causes the fix or whether the fix is (also) due to my fix on the resolution option in the PPD.

Revision history for this message
karaluh (karaluh) wrote :

Sure, as soon as it hits the oneric repo.

Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

karaluh, can you boot a 12.04 live CD, do all system updates in the live session, and there test the new foomatic-filters with the original PPD file.

Revision history for this message
karaluh (karaluh) wrote :

Unfortunately, after booting from today's LiveCD and installing the printer I'm unable to print anything, the error is: /usr/lib/cups/filter/foomatic-rip failed"

Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

Can you follow the instructions of the sections "CUPS error_log" and "Capturing print job data" on
https://wiki.ubuntu.com/DebuggingPrintingProblems in the updated 12.04 live session. Thanks.

Revision history for this message
karaluh (karaluh) wrote :
Revision history for this message
karaluh (karaluh) wrote :
Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

Sorry, I have forgotten to tell you to install Canon's proprietary printer driver into the live session. Please do so and test again (with the original PPD file of the driver).

Revision history for this message
karaluh (karaluh) wrote :

No problem, I should remember about it too. Unfortunately, the test case PDF is printed with the offset, however Ubuntu's printer test page isn't.

Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

Thank you. Then the problem is really the bug in the Resolution option of the PPD file. So use my fixed PPD and alo report the problem to Canon sending them my fixed PPD.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.