[Gsview] impossible printing with gsview4.3 and ghostscript 8.00

Russell Lang gsview@ghostgum.com.au
Wed, 05 Feb 2003 07:28:22 +1100


Joseph,

> thanks for the tip. It works now. But -- I don't know
> much about GS and PS, and it raises a question: Does
> GS 8.00 actually change or write on pdf files?

No, it is to do with reading files, not writing files.  It just 
so happens that disabling SAFER allows ghostscript to read any 
file, just like it allows any file to be written.

The problem is that ghostscript in SAFER mode no longer permits 
opening files not in the current directory.  In other words, GS 
7.05 with SAFER could open any any file on the computer for 
reading, while GS 8.0 can not.
GSview needs a minor change to add the required PDF file to the 
list of permitted files for reading.

Russell

> Cheers,
> Joseph.
>  --- Russell Lang <gsview@ghostgum.com.au> a écrit : >
> Joseph,
> > 
> > > I've got win2000 on a pentium 4 PC. I am not able
> > to
> > > print pdf files with gsview4.3. I have the
> > following
> > > message:
> > > 
> > > AFPL Ghostscript 8.00 (2002-11-21)
> > > Copyright (C) 2002 artofcode LLC, Benicia, CA. 
> > All
> > > rights reserved.
> > > This software comes with NO WARRANTY: see the file
> > > PUBLIC for details.
> > > Unrecoverable error: invalidfileaccess in file
> > > Operand stack:
> > >     C:\Program Files\Ghostgum\gsview\Grogan02.pdf 
> > r
> > > gsapi_execute_cont returns -9
> > > gsapi_exit returns 0
> > > 
> > > What is strange is that I can print with
> > gsprint.exe.
> > > Has anybody got an idea ?
> > 
> > The security on GS 8.00 was tightened up, and GSview
> > hasn't been 
> > modified to suit.  Either disable "Options | Safer"
> > (which 
> > allows PostScript to read and write files), or use
> > another 
> > program such as gsprint or Acrobat Reader.
> > 
> > Russell Lang                  
> > gsview@ghostgum.com.au
> > Ghostgum Software Pty Ltd     
> > http://www.ghostgum.com.au/
> > 
> >  
> 
> ___________________________________________________________
> Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français !
> Yahoo! Mail : http://fr.mail.yahoo.com
> _______________________________________________
> Gsview mailing list
> Gsview@ghostscript.com
> http://www.ghostscript.com/mailman/listinfo/gsview


Russell Lang                   gsview@ghostgum.com.au
Ghostgum Software Pty Ltd      http://www.ghostgum.com.au/