Originally reported by: schlut@users.sourceforge.net The following error occures while trying to use ps2epsi that came with ghostscript 6.50 It works correctly in ghostscript 6.01. The operating system is sparc Solaris 2.6. $ ps2epsi figure1.prn Error: /invalidfileaccess in (w) Operand stack: (figure1.prn.epsi) Execution stack: %interp_exit .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- --nostringval-- --nostringval-- fa lse 1 %stopped_push 1 3 %oparray_pop 1 3 %oparray_pop 1 3 %oparray_pop .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- --nostringval-- --nostringval-- 2 4 %oparray_pop --nostringval-- --nostringval-- Dictionary stack: --dict:986/1476(ro)(G)-- --dict:0/20(G)-- --dict:67/200(L)-- --dict:14/ 30(L)-- Current allocation mode is local Last OS error: 2 Current file position is 8658 AFPL Ghostscript 6.50: Unrecoverable error, exit code 1 sed: command garbled: /^%%BeginPreview:/,/^%%EndPreview[ The file produces is called figure1.prn.epsi and contains the following: save countdictstack mark newpath /showpage {} def /setpagedevice {pop} def %%EndProlog %%Page 1 1 %%Trailer cleartomark countdictstack exch sub { end } repeat restore %%EOF I can provide the file figure1.prn and further information if needed.
Comment originally by alexcher@users.sourceforge.net Logged In: YES user_id=65750 Fixed: -dDELAYSAFER flag added; concatenation operator fixed in Windows and OS/2 scripts. See the diff file.
Comment originally by alexcher@users.sourceforge.net Logged In: YES user_id=65750 Commited to HEAD and GS_6_5 brances incliding the fix for sed script.