• 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
ps2pdf -->strange behavior
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

ps2pdf -->strange behavior


  • Subject: ps2pdf -->strange behavior
  • From: Bastiaan Boertien <email@hidden>
  • Date: Fri, 14 Jan 2005 15:15:36 +0100

Hello list

I've installed Ghostscript on my PowerBook to make a PDF file from a postscript file from quark.

If I do this:

set theFolder to POSIX path of "Macintosh HD:"
set PSFile to "<thefile>.ps"
set PDFFile to "<thefile>.pdf"


do shell script "cd " & (POSIX path of theFolder) & "; ps2pdf -r72 " & (PSFile) & " " & (PDFFile)

then the script will return this:

tell current application
do shell script "cd /; ps2pdf -r72 <thefile>.ps <thefile>.pdf"
"sh: line 1: ps2pdf: command not found"

When I copy "cd /; ps2pdf -r72 <thefile>.ps <thefile>.pdf" and paste it in a new terminal window, ps2pdf will work and i will get an pdf.

Does anyone know this problem? Or know how to solve this problem?

Greetings Bastiaan
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Prev by Date: Re: Getting the length of a file
  • Next by Date: Re: resize artboard in Illustrator CS
  • Previous by thread: Re: Getting the length of a file
  • Next by thread: re: ps2pdf -->strange behavior
  • Index(es):
    • Date
    • Thread