Re: Making PDF file from .ps or .eps generated by Quark
Re: Making PDF file from .ps or .eps generated by Quark
- Subject: Re: Making PDF file from .ps or .eps generated by Quark
- From: "W. Kirk Lutz" <email@hidden>
- Date: Tue, 05 Feb 2002 19:04:39 -0500
I just did this and it seems to work pretty well.
The first thing you need to do is create a Watched folder on your hard
drive. I called mine "epss". Then you need to open Acrobat Distiller and go
to Settings>Watched Folders...
Click "Add" and find the "epss" folder (or whatever you want to call it).
This will create an In and an Out folder within the Watched folder "epss".
Any PS file that is placed there will automatically be converted into a PDF.
Here's how I handled it in Quark(with a lot of help from this email group):
tell application "QuarkXPress 4.11"
activate
set pageNumber to page number of current page --Checks to see what page
the document is currently displaying
tell document 1
print page pageNumber PostScript file "Macintosh HD:epss:in:WebAd"
--Creates a Postscript file of the page in the IN box for Distiller
end tell
end tell
This will save your document as a Postscript file entitled "WebAd" (you can
change WebAd to anything you want. I call it this because I have a Photoshop
Action that looks for this WebAd.pdf file in the OUT folder and transforms
it into a JPEG.) Acrobat should automatically transform this into a PDF
entitled "WebAd.pdf" which will appear in the OUT folder.
-Kirk
>
From: Jeremy Sellors <email@hidden>
>
Date: Tue, 05 Feb 2002 15:36:51 -0800
>
To: <email@hidden>
>
Subject: Making PDF file from .ps or .eps generated by Quark
>
>
My problem is getting a PDF with the same custom page size as the original
>
QuarkXpress 4.11 page.
>
If I tell Quark to
>
>
print document 1 PostScript file PSFile OPI include images
>
>
After setting some print setup settings
>
tell print setup
>
--set registration marks to off
>
set printer type to "Acrobat Distiller"
>
set (print colors as grays) to true
>
--set (include blank pages) to false
>
--set orientation to portrait
>
--set page position to left position
>
set paper width to "10\""
>
--set reduce or enlarge to "100%"
>
--set resolution to 1200
>
end tell
>
This works for the width but not the height and I can't find were to set the
>
height. In the Page Setup dialog you can set the height to "Automatic"
>
but I don't see were to do this in the dictionary.
>
>
Another method would be to save the file as an EPSF and Distill that setting
>
the Advance options settings to "Resize Page and Center Artwork for EPS
>
file".
>
How do you save Page 1 as an EPSF or .eps file using AppleScript?
>
I have tried;
>
>
save document MyDocName in file newFilePath as "EPSF" EPS format Mac black
>
and white EPS data binary
>
>
But this results in a file that is not an .eps but appears like regular
>
Quark document
>
The dictionary has;
>
save reference -- the object to save
>
[in alias] -- the file in which to save the object
>
[as type class] -- the file type of the document in which to save
>
the data
>
>
*** What file type class would I use here to make the saved file an eps?
>
>
[template boolean] -- save this document as a template
>
[include preview boolean] -- include a preview picture with this
>
document
>
[EPS format Mac black and white/Mac color/Mac DCS/Mac DCS2/PC black
>
and white/PC color/PC DCS/PC DCS2] -- EPS format for Save Page as EPS
>
[EPS data ASCII EPS/binary EPS/clean EPS] -- data format for Save
>
Page as EPS
>
[OPI omit TIFF/omit TIFF and EPS/include images] -- OPI options for
>
Save Page as EPS
>
[bleed vertical measurement] -- bleed option for Save Page as EPS
>
[scale percent] -- scale option for Save Page as EPS
>
[version vers 33/vers 40/vers current/vers other] -- version to
>
save the document as
>
I am using "Acrobat Distiller 4.0
>
The "set (print colors as grays) to true" in the first method might help
>
when I go to print the re imported PDF an a spot color separated page.
>
>
Thanks Jeremy
>
_______________________________________________
>
applescript-users mailing list | email@hidden
>
Help/Unsubscribe/Archives:
>
http://www.lists.apple.com/mailman/listinfo/applescript-users
>
Do not post admin requests to the list. They will be ignored.