• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: How to save a PDF as a postscript file?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
  • Follow-Ups:
    • Re: How to save a PDF as a postscript file?
      • From: "Mark J. Reed" <email@hidden>
References: 
 >How to save a PDF as a postscript file? (From: Richard Rönnbäck <email@hidden>)

  • Prev by Date: Re: How to save a PDF as a postscript file?
  • Next by Date: Re: How to save a PDF as a postscript file?
  • Previous by thread: Re: How to save a PDF as a postscript file?
  • Next by thread: Re: How to save a PDF as a postscript file?
  • Index(es):
    • Date
    • Thread