[GRASS-dev] Re: winGRASS

Glynn Clements glynn at gclements.plus.com
Mon Dec 18 13:50:41 EST 2006


Michael Barton wrote:

> > 9.3 MS Windows
> > 
> > The name of the Ghostscript command line executable on MS Windows is
> > gswin32c so use this instead of the plain 'gs' in the quickstart
> > examples.
> > 
> > You must add gs\bin and gs\lib to the PATH, where gs is the top-level
> > Ghostscript directory.
> > 
> > When passing options to ghostcript through a batch file wrapper such
> > as ps2pdf.bat you need to substitute '#' for '=' as the separator
> > between options and their arguments. For example:
> > 
> >    ps2pdf -sPAPERSIZE#a4 file.ps file.pdf
> 
> Will this work for all versions (*nix as well as Win)? If so, I can just
> change it universally and not worry about whether it is on a windows systems
> or not.

It seems to; e.g. "gs -sDEVICE#nullpage" works for me on Linux.

-- 
Glynn Clements <glynn at gclements.plus.com>




More information about the grass-dev mailing list