PostScript to PDF

Is there an AppleScriptObjC method for converting a post script file to PDF format?

I have a script that I want to distribute but don’t want the user to have to install anything (like GhostScript or another app) to make it work.

Apple removed the pstopdf shell command.

Not that I recall. All the EPS-related stuff is now deprecated, and I’d be surprised if any of it has outlived pstopdf.

1 Like

I wrote an applet that converts PS to PDF, by including a build of GhostScript in the resources:

https://mendelson.org/postscripttopdf.html

Feel free to rewrite or reuse anything in this. I don’t know anything about coding, so you can probably make many improvements if you choose to. If so, please let us know.

1 Like