Re: How to save a PDF as a postscript file?
Re: How to save a PDF as a postscript file?
- Subject: Re: How to save a PDF as a postscript file?
- From: Philip Aker <email@hidden>
- Date: Tue, 29 May 2007 08:29:01 -0700
On 2007-05-29, at 07:01:18, Richard Rönnbäck wrote:
I need to convert PDF files to postscript and I thought maybe I
could use call the same process that is launched when you choose
print->Save PDF as postscript
However, it does not appear to be a PDF Services workflow, or at
least I am not able to find where it resides.
I have however found out that it calls the command
/usr/libexec/cups/filter/cgpdftops
but I can't figure out how to call that either. Can someone help me
out here?
What you want to do first is set your PPD environment variable to the
POSIX path of your favorite .ppd. The tool should find it as a
fallback because we haven't set up those tricky options.
PPD="/path/to/some.ppd"
Then just throw way the errors in the call:
cat test.pdf | /usr/libexec/cups/filter/cgpdftops '' '' '' 1 '' 2>/
dev/null > test.ps
Voila! -- instant .ps
Philip Aker
email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden