Cups will not print its own test page, and will not print pdfs

Bug #816140 reported by Graham White
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
cups (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

I have two printers configured in cups, an Epson Stylus Photo R2400 and an HP Laserjet 1200. The Laserjet works fine. I can drive the Epson satisfactorily using PhotoPrint with PhotoPrint's own colour correction. However, when I try to either run the Epson from applications (such as LightZone) which generate PDFs, or when I try to print CUPS' own test page, then it calls pdftoraster-poppler, and the following bad things happen:
i) Unmodified, it uses the attached PPD, which (as you can see) refers to an sRGB colour profile that is stored somewhere on a Mac OSX filesystem. Quite correctly, it reports this as not found. Incidentally, if I run this ppd through cupstestppd, it says it can't find the sRGB profile, so someone hasn't been doing regression testing.
ii) If I edit the PPD to point to the sRGB which I have on my system, then pdftoraster-poppler fails with a
"Bogus memory allocation size" message. (Relevant portion of /var/log/cups/error.log attached).

There are suggestions in the fora that I should make pdftoraster.poppler a symlink to pdftoraster, which calls
ghostscript, but I get another error message if I do that (to the effect that gs can't find the default lab colour profile).
In any case, I want pdftoraster-poppler to work, because it's part of the new colour corrected printing chain, which
seems to me to be a good idea.

ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: cups 1.4.6-5ubuntu1.3
ProcVersionSignature: Ubuntu 2.6.38-11.47-generic 2.6.38.8
Uname: Linux 2.6.38-11-generic i686
Architecture: i386
CheckboxSubmission: 2e1819d997bf66315c0605fd5b706346
CheckboxSystem: 91945207d732350068f2b1aa7b5d7083
Date: Mon Jul 25 22:06:32 2011
Lpstat:
 device for colour307: lpd://staffprint.dcs.qmul.ac.uk/colour307
 device for Epson: ipp://192.168.0.4:631/printers/Epson
 device for laser415a: lpd://staffprint.dcs.qmul.ac.uk/laser415a
 device for laserjet: ipp://192.168.0.4:631/printers/laserjet
 device for PDF: cups-pdf:/
MachineType: Apple Computer, Inc. MacBook1,1
Papersize: a4
PpdFiles:
 laserjet: HP LaserJet 1300 - CUPS+Gutenprint v5.2.6
 colour307: HP Color LaserJet v2013.114 Postscript (recommended)
 Epson: Epson Stylus Photo R2400 - CUPS+Gutenprint v5.2.6
 PDF: Generic CUPS-PDF Printer
 laser415a: HP LaserJet 9040 Postscript (recommended)
ProcEnviron:
 LANGUAGE=en_GB:en
 PATH=(custom, user)
 LANG=en_GB.UTF-8
 SHELL=/bin/bash
ProcKernelCmdLine: root=UUID=6e204b54-93e7-4eb5-9833-e24ef8ae69b6 ro quiet splash
SourcePackage: cups
UpgradeStatus: Upgraded to natty on 2011-05-20 (65 days ago)
dmi.bios.date: 10/12/06
dmi.bios.vendor: Apple Computer, Inc.
dmi.bios.version: MB11.88Z.0061.B03.0610121324
dmi.board.asset.tag: Base Board Asset Tag
dmi.board.name: Mac-F4208CC8
dmi.board.vendor: Apple Computer, Inc.
dmi.board.version: PVT
dmi.chassis.asset.tag: Asset Tag
dmi.chassis.type: 10
dmi.chassis.vendor: Apple Computer, Inc.
dmi.chassis.version: Mac-F4208CC8
dmi.modalias: dmi:bvnAppleComputer,Inc.:bvrMB11.88Z.0061.B03.0610121324:bd10/12/06:svnAppleComputer,Inc.:pnMacBook1,1:pvr1.0:rvnAppleComputer,Inc.:rnMac-F4208CC8:rvrPVT:cvnAppleComputer,Inc.:ct10:cvrMac-F4208CC8:
dmi.product.name: MacBook1,1
dmi.product.version: 1.0
dmi.sys.vendor: Apple Computer, Inc.

Revision history for this message
Graham White (graham-dcs) wrote :
Revision history for this message
Graham White (graham-dcs) wrote :
Revision history for this message
Graham White (graham-dcs) wrote :
Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

Does your Epson not simply work if you ignore the warning of the missing color profile, leaving the PPD file unchanged?

Can you also try a live CD of Oneiric, as there Ghostscript will be used by default and during the last weeks a lot of fixes were done on Ghostscript.

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

[Expired for cups (Ubuntu) because there has been no activity for 60 days.]

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

There's a way to reproduce this
1) get a printer that only is detected as a text-only printer
2) http://localhost:631/
3) click on the printer
4) under "Maintenance" click "print test page"

it should give

Unable to print test page:

Unsupported format "application/vnd.cups-pdf-banner".

Changed in cups (Ubuntu):
status: Expired → New
Revision history for this message
gf (gf-interlinks-deactivatedaccount) wrote :

Hello Graham,
Thank you for submitting this bug and reporting a problem with cups and printing. You made this bug report some time ago and Ubuntu has been updated since then.

Could you confirm that this is no longer a problem and that we can close the ticket?
If it is still a problem, are you still interested in finding a solution to this bug?
If you are, could you let us know, and in the current version, run the following (only once):
apport-collect BUGNUMBER
and upload the updated logs and and any other logs that are relevant for this particular issue.

Thank you again for helping make Ubuntu better.
G

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

[Expired for cups (Ubuntu) because there has been no activity for 60 days.]

Changed in cups (Ubuntu):
status: Incomplete → Expired
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.