| <<<Back 1 day (to 2019/06/10) | Fwd 1 day (to 2019/06/12) >>> | 20190611 |
JulianDel | Good day, folks | 09:12.33 |
| Anyone awake? | 09:12.39 |
kens | If you have a question, just ask | 09:13.11 |
JulianDel | Oh, ok. | 09:13.17 |
| Well, I have not used Ghostscript before. I'm using Windows. Have installed it. I run gswin64c.exe | 09:13.35 |
| I am attempting to convert a .PS file to a .PDF | 09:13.44 |
| but no matter what I do it seems to refuse to work | 09:13.54 |
kens | Refuses how ? | 09:14.02 |
JulianDel | "Error: /undefined" | 09:14.21 |
kens | And the rest of the error message ? | 09:14.37 |
JulianDel | I am trying like this: | 09:14.47 |
| ps2pdf -sPAPERSIZE#a4 in.ps out.pdf | 09:14.49 |
kens | I wouldn't use ps2pdf, invoke Ghostscript directly.: | 09:15.26 |
| gswin64c -sDEVICE=pdfwrite -o out.pdf input.ps | 09:15.26 |
JulianDel | let me try. Thank you | 09:15.45 |
kens | But the rest of that error messagwe is important | 09:15.48 |
JulianDel | I pasted it here: https://pastebin.com/6QdZtijm | 09:15.59 |
kens | LOL | 09:16.09 |
JulianDel | ? | 09:16.22 |
kens | You are trying to run a Windows command script from the Ghostscript interactive prompt, that won't work :-) | 09:16.33 |
JulianDel | o-oh | 09:16.39 |
| I tried using 'gs' in CMD.exe | 09:16.55 |
| but it doesn't get recognized | 09:17.01 |
kens | Yeah that's the Windows shell | 09:17.04 |
| If you haven't added the Ghostscript installation path to your $PATH environment variable then you can't just type 'gswin64c' from the command line. And note that on Windows hte executable isn't called gs, its called gswin64c or gswin64 (for 64-bit installs) or gswin32 gswin32c for 32-bit installs | 09:18.15 |
JulianDel | yeah it's 64-bit | 09:18.42 |
| Ok | 09:18.44 |
| I will work with this some more. Thank you very VERY much for your assistance Ken | 09:18.55 |
| *kens | 09:19.03 |
kens | The 'c' denotes the command shell variant, if you run (eg) gswin64 then you get the Windowed executable which supports drag and drop | 09:19.09 |
JulianDel | ok | 09:19.19 |
| thank you :) | 09:19.21 |
kens | JulianDel: come back when you have more questions | 09:19.22 |
JulianDel | ok! | 09:19.25 |
| ^_^ | 09:19.28 |
| <<<Back 1 day (to 2019/06/10) | Forward 1 day (to 2019/06/12)>>> | |