1
votes

What is the command to convert a simulation.ps file with multiple pages to separate .pcx files using ghostscript on windows 7. I tried the following command:

cd c:\Program Files\gs\gs\9.06\bin

gswin32c -dNOPAUSE -sDEVICE=pcx24b –g1024x768 -sOutputFile=simulation%%04d.pcx simulation.ps

I got the following output:

GPL Ghostscript 9.06 (2012-08-08) Copyright (c) 2012 Artifex Software, Inc. All Rights Reserved. This software comes with NO WARRANTY: see the file PUBLIC for details. Loading NimusSanL-Regu font from %rom%Resoruce/Font/NimbusSanL-Regu... 2637176 1249969 2756072 1473902 1 done.

There was no files created in the c:\Program Files\gs\gs\9.06\bin\ directory

1

1 Answers

1
votes

Try it with just one '%' sign instead of 2. Other than that, your command line works for me (I substituted the golfer EPS file for your 'simlation.ps')