← Back to team overview

desktop-packages team mailing list archive

[Bug 816140] Re: Cups will not print its own test page, and will not print pdfs

 

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

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to cups in Ubuntu.
https://bugs.launchpad.net/bugs/816140

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

Status in cups package in Ubuntu:
  New

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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cups/+bug/816140/+subscriptions