[plug] Using psnup

David Buddrige buddrige at wasp.net.au
Sat Nov 16 17:01:02 WST 2002


Hi all, 

I have a postscript file that I want to convert so that each A4 sheet has 2 
pages on it  - each A5 sized and side by side. 

To do this, I am trying to use psnup command to convert the file. 

The command I am using is this: 

psnup -pa4 -2 kde.ps > kde2.ps 

However when I run this command, I get the following: 

Wrote 0 pages, 3049016 bytes 

And if I try to use ghostscript to view the postscript file, I get the 
following error: 

[buddrid at mit243linux ]$ ghostscript kde2.ps
GNU Ghostscript 6.51 (2001-03-28)
Copyright (C) 2001 artofcode LLC, Benicia, CA.  All rights reserved.
This software comes with NO WARRANTY: see the file COPYING for details.
Loading NimbusRomNo9L-Regu font from 
/usr/share/fonts/default/Type1/n021003l.pfb... 2362024 982784 1622424 328124 
0 done.
Loading NimbusSanL-Regu font from 
/usr/share/fonts/default/Type1/n019003l.pfb... 2639936 1238459 1642520 
335588 0 done. 

  **** This file has a corrupted %%EOF marker, or garbage after the %%EOF.
Error: /syntaxerror in readxref
Operand stack: 

Execution stack:
  %interp_exit   .runexec2   --nostringval--   --nostringval--   
 --nostringval--   2   %stopped_push   --nostringval--   --nostringval--   
 --nostringval--   false   1   %stopped_push   1   3   %oparray_pop   1   3   
%oparray_pop   --nostringval--   --nostringval--   --nostringval--
 --nostringval--   --nostringval--   --nostringval--
Dictionary stack:
  --dict:1025/1476(ro)(G)--   --dict:0/20(G)--   --dict:87/200(L)--   
 --dict:87/200(L)--   --dict:96/127(ro)(G)--   --dict:207/230(ro)(G)--
 --dict:14/15(L)--
Current allocation mode is local
GNU Ghostscript 6.51: Unrecoverable error, exit code 1
[buddrid at mit243linux ]$ 


I can view the kde.ps file fine with ghostscript, so this (seems) to rule 
out some kind of corruption in the postscript (although I could be wrong 
about that... can anyone enlighten me as to what the problem is? 

thanks heaps in advance. 8-) 

David. 



More information about the plug mailing list