ps2pdf -->strange behavior
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