Re: Creating PDFs with Ghostscript
Re: Creating PDFs with Ghostscript
- Subject: Re: Creating PDFs with Ghostscript
- From: Philip Aker <email@hidden>
- Date: Fri, 31 Jan 2003 20:14:59 -0800
On Friday, January 31, 2003, at 08:13 AM, Simon Topliss wrote:
However, if I run the ps2pdf13 command above with a 'do shell script'
I get
an error (similar to what I was getting before I edited the PATH):
--> sh: ps2pdf13: command not found
Hello Simon,
I have installed the ESP GhostScript version available through Apple's
downloads site (search for GhostScript). Like you I had a bit of a
headache with the picky path problem. What is working for me is to set
up the command line call like:
/usr/local/bin/gs OPTION_SWITCHES -sOutputFile=theOutputFilePath
theInputFilePath
I'm using the option switches mentioned in the documentation
<file:///usr/local/share/ghostscript/7.05/doc/Use.htm> to include
whichever device is needed. You can see how it's possible to choose the
name of the output files and devices rather easily when it is called
from an AppleScript.
A bonus of this setup is that it is coordinated with the CUPS
facilities now in OS X. When it is installed you can
"
http://localhost:631" to get an idea of how it works and access to
documentation. Nowadays just type "lp filename" in Terminal to print
and afterwards check the job status with "lpstat". You can cancel a job
with the "cancel" command. They all have 'man' pages.
HTH,
Philip Aker
http://www.aker.ca
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.