in reply to Help Converting Postscript to PDF in a CGI script

As one can read from the manual page, ps2pdf makes use of ghostscript to do the actual conversion. My guess is that the default PATH that's set by the HTTP server doesn't include the directory ghostscript is in.

Try setting your $ENV {PATH} variable to an appropriate value before issuing the system command.

Abigail

  • Comment on Re: Help Converting Postscript to PDF in a CGI script

Replies are listed 'Best First'.
Re: Re: Help Converting Postscript to PDF in a CGI script
by cfreak (Chaplain) on Jan 12, 2004 at 16:05 UTC