Keep getting error messages in ghostscript when using the documented ghostscript syntax

后端 未结 2 677
执念已碎
执念已碎 2021-02-15 13:20

I am new to ghostscript and I cannot figure out the syntax. Whenever I try the simplest of commands ex -h or -? I get an error and I have tried them in all sorts of combinations

相关标签:
2条回答
  • 2021-02-15 14:12

    You're inside the PostScript interpreter and what you're entering isn't PostScript.

    You need to run the exe on the command line with -h (there are a couple of binaries in the distribution, one will respond correctly).

    0 讨论(0)
  • 2021-02-15 14:13

    What I tried is as follows:

    The directory of Ghostscript installation on my system (the path to the file "gswin32c.exe"):

    C:\Program Files (x86)\gs\gs9.10\bin

    Then I opened windows command prompt (our normal command prompt window) and did this:

    C:\>cd C:\Program Files (x86)\gs\gs9.10\bin

    then..

    C:\Program Files (x86)\gs\gs9.10\bin>gswin32c.exe -h

    there you go....

    the help instructions got displayed, means everything was well and good !

    0 讨论(0)
提交回复
热议问题