I want to view a .ps file through Ghostscript 9.05 command prompt
15,217
Solution 1
From the Ghostscript documentation:
GS> (c:/gs3.53/example.ps)
Just looks like you use forward slashes instead of back slashes. For example, if your Windows username is Ankit, you'd enter:
GS> (c:/Users/Ankit/Desktop/abc.ps)
Solution 2
You can avoid the interactive GS>
commandprompt by running the command like this:
gswin32c.exe -sDEVICE=display c:/Users/Ankit/Desktop/abc.ps
Author by
Ankit Jain
Updated on June 29, 2022Comments
-
Ankit Jain almost 2 years
I have a file abc.ps on my desktop. I have installed Ghostscript 9.05 on my machine and I want to view my abc.ps file using the command line.
GS>?????
What command should I write here. I am working on Windows 7.
Location of exe file: C:\Program Files\gs\gs9.05\bin