CUPS 1.3.9-17ubuntu + jaunty

Helge Blischke h.blischke at acm.org
Sat Jun 6 02:11:14 PDT 2009


doekia wrote:

> since recent automatic jaunty 9.04 update (June the 1st for me) all print
> fail with: /usr/lib/cups/filter/pstopdf exit 1
> Printing document or test page
> 
> I did reinstall the entire cups system.
> I tried reinstalling the printer PDD (HP Photosmart 2570) to the latest,
> then from the HP proprietary version.
> 
> I tried debugging with:
> export PPD=/etc/cups/ppd/hp2575.ppd
> /usr/lib/cups/filter/pstoraster 1 1 1 1 ""
> /usr/share/system-config-printer/testpage-letter.ps > tst.raster
> /usr/lib/cups/filter/rastertogutenprint.5.2 1 1 1 1 "" <tst.raster
> >tst.out
> 
> This fail with a different message:
> ERROR: Gutenprint found a corrupted NickName attribute in PPD file
> "/etc/cups/ppd/hp2575.ppd"!
> 
> While activating debug mode, /var/log/cups/error_log exhibit (not all
> lines reproduced): D [05/Jun/2009:23:12:00 +0200] [Job 316] Unknown option
> job-uuid=urn:uuid:6b5e15b7-7a64-382e-5a3e-23cde6f63b85. D
> [05/Jun/2009:23:12:00 +0200] [Job 316] Unknown option
> orientation-requested=3. D [05/Jun/2009:23:12:00 +0200] cupsdCloseClient:
> 11 D [05/Jun/2009:23:12:00 +0200] [Job 316] Error: /invalidfont in
> /findfont D [05/Jun/2009:23:12:00 +0200] [Job 316] Operand stack: D
> [05/Jun/2009:23:12:00 +0200] [Job 316] Helvetica D [05/Jun/2009:23:12:00
> +0200] [Job 316] Execution stack:
> D [05/Jun/2009:23:12:00 +0200] [Job 316] %interp_exit   .runexec2  
> --nostringval--   --nostringval--   --nostringval--   2   %stopped_push  
> --nostringval--   --nostringval--   --nostringval--   false   1  
> %stopped_push   1862   1   3   %oparray_pop   1861   1   3   %oparray_pop 
>  1845   1   3   %oparray_pop   1739   1   3   %oparray_pop  
> --nostringval--   %errorexec_pop   .runexec2   --nostringval--  
> --nostringval--   --nostringval--   2   %stopped_push   --nostringval--  
> 1820   1   3   %oparray_pop D [05/Jun/2009:23:12:00 +0200] [Job 316]
> Dictionary stack:
> D [05/Jun/2009:23:12:00 +0200] [Job 316] --dict:1158/1684(ro)(G)--  
> --dict:0/20(G)--   --dict:69/200(L)-- D [05/Jun/2009:23:12:00 +0200] [Job
> 316] Current allocation mode is local D [05/Jun/2009:23:12:00 +0200] [Job
> 316] Last OS error: 2 D [05/Jun/2009:23:12:00 +0200] [Job 316] GPL
> Ghostscript 8.64: Unrecoverable error, exit code 1 D [05/Jun/2009:23:12:00
> +0200] [Job 316] cat: write error: Broken pipe D [05/Jun/2009:23:12:00
> +0200] [Job 316] cat: write error: Broken pipe E [05/Jun/2009:23:12:00
> +0200] PID 28969 (/usr/lib/cups/filter/pstopdf) stopped with status 1!
> 
> 
> The printer prints a blank page!!!
> 
> Any helps or clues will be greatly appreciated

Not only that the pstopdf filter cannot cope with some job attributes
the pstops filter of "native CUPS" properly handles (like
"orientation-requested"), it uses Ghostscript to convert PostScript to
PDF, and it sems that the font configuration in your installation
is broken ("/invalidfont in /findfont", and "Helvetica" on the 
operand stack).

File a bug to your Linux distributor - this seems not to be a CUPS issue.

If you like, you could send me a sample print job offline for 
further inspection.

Helge






More information about the cups-devel mailing list