🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.ghostscript.bug
Article #517

GS 2.5.2 can't handle PSUTILS output??

#517
From: Michael Portz
Date: Tue, 17 Nov 1992 14:20
68 lines
3301 bytes
If I try to put the output of any of PSUTILS programs (pstops, 
psnup, psselect, ...)  through ghostscript (V2.5.2), I get the
following message:

  Error: /invalidaccess in --put--
  Operand stack:
      -dicttype-  /letter  {}
  Execution stack:
      %interp_exit    --nostringval--  --nostringval--  false  --nostringval--  --
  nostringval--  false  --nostringval--  --nostringval--  --nostringval--  0  --no
  stringval--  %array_continue  --nostringval--  --nostringval--
  Dictionary stack:
      399/479  7/200
  Ghostscript 2.5.2 (9/20/92)
    Copyright (C) 1990, 1992 Aladdin Enterprises, Menlo Park, CA.
    All rights reserved.
  Distributed by Free Software Foundation, Inc.
  Ghostscript comes with NO WARRANTY: see the file LICENSE for details.
  GS<3>


An example file's first lines:

  %!PS-Adobe-2.0
  %%Creator: dvips 5.47 Copyright 1986-91 Radical Eye Software
  %%Title: diss.dvi
  %%Pages: 1 0
  %%BoundingBox: 0 0 596 843
  %%EndComments
  %%BeginProcSet: pstops 1 0
  [/showpage/erasepage/copypage]{dup where{pop dup load
   type/operatortype eq{1 array cvx dup 0 3 index cvx put
   bind def}{pop}ifelse}{pop}ifelse}forall
  [/letter/legal/executivepage/a4/a4small/b5/com10envelope
   /monarchenvelope/c5envelope/dlenvelope/lettersmall/note
   /folio/quarto/a5]{dup where{exch{}put}{pop}ifelse}forall
  /lcvx{dup load dup type dup/operatortype eq{pop exch pop}
   {/arraytype eq{dup xcheck{exch pop aload pop}
   {pop cvx}ifelse}{pop cvx}ifelse}ifelse}bind def
  /pstopsmatrix matrix currentmatrix def
  /defaultmatrix{pstopsmatrix exch copy}bind def
  /initmatrix{matrix defaultmatrix setmatrix}bind def
  /pathtoproc{[{currentpoint}stopped{$error/newerror false
   put{newpath}}{/newpath cvx 3 1 roll/moveto cvx 4 array
   astore cvx}ifelse]{[/newpath cvx{/moveto cvx}{/lineto cvx}
   {/curveto cvx}{/closepath cvx}pathforall]cvx exch pop}
   stopped{$error/errorname get/invalidaccess eq{cleartomark
   $error/newerror false put cvx exec}{stop}ifelse}if}def
  /initclip[/pathtoproc lcvx/matrix lcvx/currentmatrix lcvx/initmatrix lcvx/initcl
  ip lcvx /newpath lcvx
   0 0 /moveto lcvx
   595.275591 0/rlineto lcvx 0 822.047244/rlineto lcvx -595.275591 0/rlineto lcvx
   /clip lcvx /newpath lcvx /setmatrix lcvx /exec lcvx]
   cvx def
  /initgraphics{initmatrix newpath initclip 1 setlinewidth
   0 setlinecap 0 setlinejoin []0 setdash 0 setgray
   10 setmiterlimit}bind def
  %%EndProcSet



Does anyone experienced a similiar phenomena? Does anyone detect 
the problem faster than me??

Thanks a lot in advance

Michael Portz
email: michaelp@terpi.informatik.rwth-aachen.de
Technical Details
Message-ID: <michaelp.722010014@strange>
Path: arc1-ca.pugleaf.net!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

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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
From: michaelp@strange.informatik.rwth-aachen.de (Michael Portz)
Newsgroups: gnu.ghostscript.bug
Subject: GS 2.5.2 can't handle PSUTILS output??
Keywords: ghostscript, psutils, pstops, psselect, ...
Message-ID: <michaelp.722010014@strange>
Date: 17 Nov 92 14:20:14 GMT
Article-I.D.: strange.michaelp.722010014
Sender: gnulists@ai.mit.edu
Distribution: gnu
Organization: Rechnerbetrieb Informatik  /  RWTH Aachen
Lines: 68
Approved: bug-ghostscript@prep.ai.mit.edu