home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / gnu / ghostscr / bug / 1219 < prev    next >
Encoding:
Internet Message Format  |  1992-11-17  |  3.1 KB

  1. Path: sparky!uunet!europa.asd.contel.com!emory!ogicse!uwm.edu!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!strange.informatik.rwth-aachen.de!michaelp
  2. From: michaelp@strange.informatik.rwth-aachen.de (Michael Portz)
  3. Newsgroups: gnu.ghostscript.bug
  4. Subject: GS 2.5.2 can't handle PSUTILS output??
  5. Keywords: ghostscript, psutils, pstops, psselect, ...
  6. Message-ID: <michaelp.722010014@strange>
  7. Date: 17 Nov 92 14:20:14 GMT
  8. Article-I.D.: strange.michaelp.722010014
  9. Sender: gnulists@ai.mit.edu
  10. Distribution: gnu
  11. Organization: Rechnerbetrieb Informatik  /  RWTH Aachen
  12. Lines: 68
  13. Approved: bug-ghostscript@prep.ai.mit.edu
  14.  
  15. If I try to put the output of any of PSUTILS programs (pstops, 
  16. psnup, psselect, ...)  through ghostscript (V2.5.2), I get the
  17. following message:
  18.  
  19.   Error: /invalidaccess in --put--
  20.   Operand stack:
  21.       -dicttype-  /letter  {}
  22.   Execution stack:
  23.       %interp_exit    --nostringval--  --nostringval--  false  --nostringval--  --
  24.   nostringval--  false  --nostringval--  --nostringval--  --nostringval--  0  --no
  25.   stringval--  %array_continue  --nostringval--  --nostringval--
  26.   Dictionary stack:
  27.       399/479  7/200
  28.   Ghostscript 2.5.2 (9/20/92)
  29.     Copyright (C) 1990, 1992 Aladdin Enterprises, Menlo Park, CA.
  30.     All rights reserved.
  31.   Distributed by Free Software Foundation, Inc.
  32.   Ghostscript comes with NO WARRANTY: see the file LICENSE for details.
  33.   GS<3>
  34.  
  35.  
  36. An example file's first lines:
  37.  
  38.   %!PS-Adobe-2.0
  39.   %%Creator: dvips 5.47 Copyright 1986-91 Radical Eye Software
  40.   %%Title: diss.dvi
  41.   %%Pages: 1 0
  42.   %%BoundingBox: 0 0 596 843
  43.   %%EndComments
  44.   %%BeginProcSet: pstops 1 0
  45.   [/showpage/erasepage/copypage]{dup where{pop dup load
  46.    type/operatortype eq{1 array cvx dup 0 3 index cvx put
  47.    bind def}{pop}ifelse}{pop}ifelse}forall
  48.   [/letter/legal/executivepage/a4/a4small/b5/com10envelope
  49.    /monarchenvelope/c5envelope/dlenvelope/lettersmall/note
  50.    /folio/quarto/a5]{dup where{exch{}put}{pop}ifelse}forall
  51.   /lcvx{dup load dup type dup/operatortype eq{pop exch pop}
  52.    {/arraytype eq{dup xcheck{exch pop aload pop}
  53.    {pop cvx}ifelse}{pop cvx}ifelse}ifelse}bind def
  54.   /pstopsmatrix matrix currentmatrix def
  55.   /defaultmatrix{pstopsmatrix exch copy}bind def
  56.   /initmatrix{matrix defaultmatrix setmatrix}bind def
  57.   /pathtoproc{[{currentpoint}stopped{$error/newerror false
  58.    put{newpath}}{/newpath cvx 3 1 roll/moveto cvx 4 array
  59.    astore cvx}ifelse]{[/newpath cvx{/moveto cvx}{/lineto cvx}
  60.    {/curveto cvx}{/closepath cvx}pathforall]cvx exch pop}
  61.    stopped{$error/errorname get/invalidaccess eq{cleartomark
  62.    $error/newerror false put cvx exec}{stop}ifelse}if}def
  63.   /initclip[/pathtoproc lcvx/matrix lcvx/currentmatrix lcvx/initmatrix lcvx/initcl
  64.   ip lcvx /newpath lcvx
  65.    0 0 /moveto lcvx
  66.    595.275591 0/rlineto lcvx 0 822.047244/rlineto lcvx -595.275591 0/rlineto lcvx
  67.    /clip lcvx /newpath lcvx /setmatrix lcvx /exec lcvx]
  68.    cvx def
  69.   /initgraphics{initmatrix newpath initclip 1 setlinewidth
  70.    0 setlinecap 0 setlinejoin []0 setdash 0 setgray
  71.    10 setmiterlimit}bind def
  72.   %%EndProcSet
  73.  
  74.  
  75.  
  76. Does anyone experienced a similiar phenomena? Does anyone detect 
  77. the problem faster than me??
  78.  
  79. Thanks a lot in advance
  80.  
  81. Michael Portz
  82. email: michaelp@terpi.informatik.rwth-aachen.de
  83.