cannot print to canon printers but no errors shown

Bug #926419 reported by Ian Booth
18
This bug affects 4 people
Affects Status Importance Assigned to Milestone
cups (Ubuntu)
Invalid
Undecided
Till Kamppeter

Bug Description

After upgrading to precise, printing no longer works with my Canon MG5200 printer. Everything appears normal, the job is queued and says processing and then disappears as if everything had worked. But nothing happens. The printer supports printing via 802.11 and when adding a printer, it is auto detected and appears correctly setup etc so there's some level of communication happening with the printer.

I'm using the drivers found here: http://ppa.launchpad.net/michael-gruz/canon-trunk/ubuntu

If I look at the job via the cups web interface, it shows:

processing since
Sat 04 Feb 2012 09:45:02 AM EST
"PDF file is damaged - attempting to reconstruct xref table..."

I'm not sure if the PDF issue shown means anything since I didn't look at this info prior to upgrading, so it might just be "normal" behaviour.

Someone else has also reported the same issue here:
http://ubuntuforums.org/showthread.php?t=1894198

Perhaps it's a driver issue and new drivers are required?

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: cups 1.5.0-16
ProcVersionSignature: Ubuntu 3.2.0-12.21-generic 3.2.2
Uname: Linux 3.2.0-12-generic x86_64
NonfreeKernelModules: wl
ApportVersion: 1.91-0ubuntu1
Architecture: amd64
Date: Sat Feb 4 09:40:19 2012
Lpstat:
 device for MG5200-series: usb://Canon/MG5200%20series?serial=115447&interface=1
 device for MG5200-WLAN: cnijnet:/00-1E-8F-AC-0F-2C
 device for PDF: cups-pdf:/
MachineType: Hewlett-Packard HP ProBook 6540b
Papersize: a4
PpdFiles:
 PDF: Generic CUPS-PDF Printer
 MG5200-series: Canon MG5200 series Ver.3.40
 MG5200-WLAN: Canon MG5200 series Ver.3.40
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.2.0-12-generic root=UUID=021f651f-a098-417f-a3bb-3d1a0bad220d ro quiet splash i915.i915_enable_rc6=1 i915.i915_enable_fbc=1 i915.lvds_downclock=1 elevator=noop
SourcePackage: cups
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 03/09/2011
dmi.bios.vendor: Hewlett-Packard
dmi.bios.version: 68CDD Ver. F.0C
dmi.board.name: 1722
dmi.board.vendor: Hewlett-Packard
dmi.board.version: KBC Version 29.36
dmi.chassis.type: 10
dmi.chassis.vendor: Hewlett-Packard
dmi.modalias: dmi:bvnHewlett-Packard:bvr68CDDVer.F.0C:bd03/09/2011:svnHewlett-Packard:pnHPProBook6540b:pvr:rvnHewlett-Packard:rn1722:rvrKBCVersion29.36:cvnHewlett-Packard:ct10:cvr:
dmi.product.name: HP ProBook 6540b
dmi.sys.vendor: Hewlett-Packard

Revision history for this message
Ian Booth (wallyworld) wrote :
Changed in cups (Ubuntu):
assignee: nobody → Canonical Desktop Team (canonical-desktop-team)
Changed in cups (Ubuntu):
assignee: Canonical Desktop Team (canonical-desktop-team) → Till Kamppeter (till-kamppeter)
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in cups (Ubuntu):
status: New → Confirmed
Revision history for this message
Ulf Rompe (rompe) wrote :

I'm experiencing the same problem with a HP Laserjet 2100 connected via parallel port, so it doesn't seem to be brand specific.

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

Everyone with problems please 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: Confirmed → Incomplete
Revision history for this message
Ian Booth (wallyworld) wrote :

Attached is a cups error log. It contains data from trying to print a test page (or two) using the Printer Properties dialog, as well as trying to print a pdf file (the last action taken). Attachments containing the print queue pdf data will follow.

Revision history for this message
Ian Booth (wallyworld) wrote :

Attached is the print queue output from trying to print a pdf file.

Revision history for this message
Ian Booth (wallyworld) wrote :

The original pdf file sent to the printer

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

To get rid of any "PDF file is damaged - attempting to reconstruct xref table..." update your Precise system to the newest state. This was a bug in the test page generator and this is fixed now. But note that this did not cause your problem.

The real problem is that Canon's proprietary printer driver which you are using is not finding a library:

D [05/Mar/2012:09:28:45 +1000] [Job 35] /usr/bin/cifmg5200: error while loading shared libraries: libpopt.so.0: cannot open shared object file: No such file or directory

This is a bug of Canon's driver package. It does not have all needed dependencies defined. Please report this to Canon.

Precise provides a library named libpopt.so.0, in the libpopt0 package. So run the following command in a terminal window to install the library:

sudo apt-get install libpopt0

Now you should be able to print with your Canon.

Do not forget to report the problem to Canon.

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

Ulf, your problem is not the one described in this bug report. Please post a new bug report and follow the instructions on https://wiki.ubuntu.com/DebuggingPrintingProblems there, especially also of the sections "Parallel Printer" (if your printer is connected via a USB->Parallel adapter "USB printer"), "CUPS error_log", and "Capturing print job data". Thanks.

Revision history for this message
Ian Booth (wallyworld) wrote : Re: [Bug 926419] Re: cannot print to canon printers but no errors shown

Hi Till

Thanks so much for looking at this.

On 05/03/12 18:22, Till Kamppeter wrote:
> To get rid of any "PDF file is damaged - attempting to reconstruct xref
> table..." update your Precise system to the newest state. This was a bug
> in the test page generator and this is fixed now. But note that this did
> not cause your problem.
>

I updated my precise system (I do that about once a day using the
proposed repos) and the pdf issue is still present but hopefully will be
fixed in a future update. There is no issue here as far as I am concerned.

>
> Precise provides a library named libpopt.so.0, in the libpopt0 package.
> So run the following command in a terminal window to install the
> library:
>
> sudo apt-get install libpopt0
>
> Now you should be able to print with your Canon.
>

I already had libpopt0 installed and tried re-installing but with no
difference. Then I realised that I am running on a 64bit system. The
solution for me was to install the i386 libpopt0 package. When I did
this, it works :-) So the Canon drivers must be 32bit I guess.

> Do not forget to report the problem to Canon.
>

Will do that now. Thanks again :-)

Revision history for this message
rvaliant (rvaliant) wrote :

Canon doesn't care, or so they told me.

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.