← Back to team overview

desktop-packages team mailing list archive

[Bug 419143] Re: Printing from evince (and perhaps other GTK apps) to PostScript printers is broken ("0a" bytes inserted into PostScript output)

 

svenmeier, the original bug reported here was that Poppler's pdftops is
generating broken PostScript in your case foomatic-rip calls Ghostscript
to turn PDF into PostScript. So I tried to isolate the problem with

pdf2ps printout

where pdf2ps is a simple wrapper script which comes with Ghostscript to
turn PDF into PostScript and printout is your "printout" file. The
resulting PostScript is broken, easy to see with

gs printout.ps

This is a bug in Ghostscript upstream which I have reported now as

http://bugs.ghostscript.com/show_bug.cgi?id=692679

Please subscribe to that bug report and supply additional information if
the Ghostscript develkopers ask for it.


** Bug watch added: Ghostscript (AFPL) Bugzilla #692679
   http://bugs.ghostscript.com/show_bug.cgi?id=692679

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

Title:
  Printing from evince (and perhaps other GTK apps) to PostScript
  printers is broken ("0a" bytes inserted into PostScript output)

Status in “cairo” package in Ubuntu:
  Triaged
Status in “cups” package in Ubuntu:
  Invalid
Status in “firefox” package in Ubuntu:
  Invalid
Status in “poppler” package in Ubuntu:
  Triaged
Status in “cairo” source package in Karmic:
  Won't Fix
Status in “cups” source package in Karmic:
  Invalid
Status in “firefox” source package in Karmic:
  Invalid
Status in “poppler” source package in Karmic:
  Invalid

Bug description:
  Binary package hint: cups

  When trying to print on an HP Laserjet 4100 (through network, no
  possibility to connect to USB) in karmic, A notification tells me that
  printing succeeded, but regarding of the document to be printed, only
  one page gets printed with the following error message (6 lines):

  
  ERROR: undefined
  OFFENDING COMMAND: 0a

  STACK:

  -mark-

  
  Other printers on the same network (e.g. OKI C7350) work flawlessly, also the same printer worked on intrepid and jaunty.

  WORKAROUND 1:
  Print from okular (KDE PDF viewer) or any other (non-gtk?) software.

  WORKAROUND 2:
  Use the fixed cairo packages from this PPA:
  https://launchpad.net/~janne-hyotyla/+archive/jhyotyla

  
  ===========================================
  ProblemType: Bug
  Architecture: i386
  CupsErrorLog:
   E [26/Aug/2009:11:46:23 +0200] CUPS-Add-Modify-Printer: Unauthorized
   E [26/Aug/2009:11:59:45 +0200] CUPS-Add-Modify-Printer: Unauthorized
  Date: Wed Aug 26 12:02:29 2009
  DistroRelease: Ubuntu 9.10
  Lpstat:
   device for bioz3-hp4100: socket://131.152.19.90:9100
   device for bioz3-okic2: socket://131.152.19.56:9100
  MachineType: Dell Inc. Latitude D630
  Package: cups 1.3.11-2ubuntu1
  Papersize: letter
  PccardctlIdent:
   Socket 0:
     no product info available
  PccardctlStatus:
   Socket 0:
     no card
  PpdFiles:
   bioz3-okic2: Oki C5900 Foomatic/Postscript
   bioz3-hp4100: HP LaserJet 4100 Series v.3010.107 Postscript (recommended)
  ProcCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.31-6-generic root=UUID=a4e3ce99-2ce1-4bfa-b256-0135ea2c2244 ro quiet splash
  ProcEnviron:
   PATH=(custom, user)
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  ProcVersionSignature: Ubuntu 2.6.31-6.26-generic
  SourcePackage: cups
  Uname: Linux 2.6.31-6-generic i686
  dmi.bios.date: 07/23/2007
  dmi.bios.vendor: Dell Inc.
  dmi.bios.version: A03
  dmi.board.name: 0KU184
  dmi.board.vendor: Dell Inc.
  dmi.chassis.type: 8
  dmi.chassis.vendor: Dell Inc.
  dmi.modalias: dmi:bvnDellInc.:bvrA03:bd07/23/2007:svnDellInc.:pnLatitudeD630:pvr:rvnDellInc.:rn0KU184:rvr:cvnDellInc.:ct8:cvr:
  dmi.product.name: Latitude D630
  dmi.sys.vendor: Dell Inc.

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