[cups.bugs] [CRIT] STR #2080: pstops outputs invalid PS

Helge Blischke h.blischke at srz.de
Mon Nov 6 06:08:17 PST 2006


twaugh.redhat wrote:
> DO NOT REPLY TO THIS MESSAGE.  INSTEAD, POST ANY RESPONSES TO THE
> LINK BELOW.
> 
> [STR New]
> 
> (rhbz#213996)
> 
> The pstops CUPS filter gives bad PS output for the attached PS input file
> when given 'number-up=2' for options.
> 
> Print this file with 'lp -onumber-up=2'.
> 
> E [06/Nov/2006:12:40:51 +0000] [Job 89] /syntaxerror in
> --%ztokenexec_continue--
> D [06/Nov/2006:12:40:51 +0000] [Job 89] Operand stack:
> D [06/Nov/2006:12:40:51 +0000] [Job 89] --nostringval--   --nostringval--
> D [06/Nov/2006:12:40:51 +0000] [Job 89] Execution stack:
> D [06/Nov/2006:12:40:51 +0000] [Job 89] %interp_exit   .runexec2  
> --nostringval--   --nostringval--   --nostringval--   2   %stopped_push  
> --nostringval--   --nostringval--   --nostringval--   false   1  
> %stopped_push   1   3   %oparray_pop   1   3   %oparray_pop   1   3  
> %oparray_pop   1   3   %oparray_pop   .runexec2   --nostringval--  
> --nostringval--   --nostringval--   2   %stopped_push   --nostringval--
> D [06/Nov/2006:12:40:51 +0000] [Job 89] Dictionary stack:
> D [06/Nov/2006:12:40:51 +0000] [Job 89] --dict:1129/1686(ro)(G)--  
> --dict:0/20(G)--   --dict:101/200(L)--
> D [06/Nov/2006:12:40:51 +0000] [Job 89] Current allocation mode is local
> D [06/Nov/2006:12:40:51 +0000] [Job 89] Last OS error: 2
> D [06/Nov/2006:12:40:51 +0000] [Job 89] ESP Ghostscript 815.02:
> Unrecoverable error, exit code 1
> 
> The attached PostScript file comes from printing an OpenOffice.org Impress
> document on Fedora Core 6 with 'Pages per sheet' set to 2.  This
> PostScript was obtained by taking it from the /var/spool/cups/d* file.
> 
> Link: http://www.cups.org/str.php?L2080
> Version: 1.2.5
> Attachment: http://www.cups.org/strfiles/2080/input.ps
> 

It is a known issue (at least to us at our site) that OO 2.0
generates PostScript output that PRETENDS to be DSC conformant
BUT IS NOT.

As a workaround I'd suggest to create a PDF from it and print that.

Helge

PS: According to a recent post of Michael Sweet, they WILL NOT
support non DSC conformant PostScript jobs. Perhaps you could file
a bug to the OO crew.

-- 
Helge Blischke
Softwareentwicklung
SRZ Berlin | Firmengruppe besscom
http://www.srz.de




More information about the cups-devel mailing list