Re: Save EPS page from Acrobat
Re: Save EPS page from Acrobat
- Subject: Re: Save EPS page from Acrobat
- From: Ron Bishop <email@hidden>
- Date: Fri, 26 Nov 2004 12:22:26 -0600
Here's a script we use to convert PDF to EPS using Acrobat 6. There are some other conversion settings you can adjust also.
We use PStill from Stone Studio (www.stone.com) for our heavy duty PDF converting (over 2500 a week). It's much cheaper ($70), it provides all the same settings as Distiller and then some, you can legally use it in a server setting, and you can set up watched folders to convert PDF to EPS.
on open (pdf_files)
tell application "Finder"
set save_path to choose folder with prompt "Store new EPS files here:"
set pdf_count to count of pdf_files
set this_pdf to 1
repeat until this_pdf > pdf_count
set org_pdf_file to ((item this_pdf of pdf_files) as alias)
set file_name to name of org_pdf_file
if file_name contains ".pdf" then
set new_name to change ".pdf" into ".eps" in file_name
else
set new_name to file_name & ".eps"
end if
set eps_file to ((save_path & new_name) as string)
my org_pdf_file, eps_file)
set this_pdf to (this_pdf + 1)
end repeat
end tell
end open
on org_pdf_file, eps_file)
tell application "Acrobat 6.0.2 Professional"
activate
set binary of EPS Conversion "com.adobe.acrobat.eps" to true
set postScript level of EPS Conversion "com.adobe.acrobat.eps" to 2
set embedded fonts of EPS Conversion "com.adobe.acrobat.eps" to true
set images of EPS Conversion "com.adobe.acrobat.eps" to false
set TrueType of EPS Conversion "com.adobe.acrobat.eps" to true
open org_pdf_file
save document 1 to file eps_file using EPS Conversion "com.adobe.acrobat.eps"
close document 1 without saving
end tell
end eps_export
Ron Bishop
Macintosh Systems Administrator
The Kansas City Star
1729 Grand Boulevard
Kansas City, Missouri 64108
816.234.4943
On Nov 16, 2004, at 5:09 AM, Tim Mansour wrote:
Can anyone point me in the right direction as to how I write an AppleScript to save each page of a PDF from Acrobat as an EPS? I seem to recall I have to create an "EPS Conversion" and save using this, but can't quite figure out the syntax.
Or for that matter, any suggestions as to how to do this using something other than Acrobat would also be appreciated.
--
Tim Mansour <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:
This email sent to 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:
This email sent to email@hidden