[cups.bugs] [MOD] STR #2626: pstops

twaugh.redhat twaugh at redhat.com
Thu Dec 13 07:08:52 PST 2007


DO NOT REPLY TO THIS MESSAGE.  INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.

[STR New]

The output created by pstops for numbered-up printing does not work for
PostScript generated by the paps text-to-PostScript tool.

paps output attached, altered so that cupstestdsc finds no problems with
it.  I've also attached the output I'm getting from pstops, and a patch
file representing the changes that pstops made.

Running the pstops filter on its own like this:

/usr/lib/cups/filter/pstops 1 tim '' 1 'number-up=4 number-up-layout=lrtb
orientation-requested=4' paps.ps > ps.ps

gives a ps.ps that ghostscript does not like:

$ gs ps.ps
GPL Ghostscript 8.61 (2007-11-21)
Copyright (C) 2007 Artifex Software, Inc.  All rights reserved.
This software comes with NO WARRANTY: see the file PUBLIC for details.
Loading NimbusSanL-Regu font from
/usr/share/fonts/default/Type1/n019003l.pfb... 3340872 1769483 2264160
967812 2 done.
Error: /undefined in last_x
Operand stack:
   last_x   -7414
Execution stack:
   %interp_exit   .runexec2   --nostringval--   --nostringval--  
--nostringval--   2   %stopped_push   --nostringval--   --nostringval--  
--nostringval--   false   1   %stopped_push   1905   1   3   %oparray_pop 
 1904   1   3   %oparray_pop   1888   1   3   %oparray_pop   1771   1   3  
%oparray_pop   --nostringval--   %errorexec_pop   .runexec2  
--nostringval--   --nostringval--   --nostringval--   2   %stopped_push  
--nostringval--   --nostringval--   --nostringval--   %loop_continue  
--nostringval--   --nostringval--
Dictionary stack:
   --dict:1143/1684(ro)(G)--   --dict:0/20(G)--   --dict:81/200(L)--  
--dict:27/42(L)--   --dict:5/11(L)--   --dict:13/21(L)--  
--dict:4/11(L)--
Current allocation mode is local
Current file position is 7585
GPL Ghostscript 8.61: Unrecoverable error, exit code 1

Link: http://www.cups.org/str.php?L2626
Version: 1.3.4
-------------- next part --------------
A non-text attachment was scrubbed...
Name: paps.ps
Type: application/octet-stream
Size: 6615 bytes
Desc: not available
URL: <http://lists.cups.org/pipermail/cups-devel/attachments/20071213/738db21f/attachment.obj>


More information about the cups-devel mailing list