Quark to PDF - page setup script
Quark to PDF - page setup script
- Subject: Quark to PDF - page setup script
- From: "Wadson, David" <email@hidden>
- Date: Fri, 21 Jun 2002 12:16:10 -0400
tell application "QuarkXPress(tm)"
activate
tell front document
set document_Name to name -- saves the document name for saving a
PostScript file
set paperWidth to width of bounds of page 1
tell print setup -- routine to put proper values in page setup for PDFing
a document
set orientation to portrait
set reduce or enlarge to "100"
set printer type to "Acrobat Distiller 3.0" -- or whatever the PPD is
called
set paper width to paperWidth
set page gap to "0"
set resolution to "1200"
set data format to binary data
set halftone screen to "85"
set use PDF screen values to false
set text smoothing to false
set graphics smoothing to false
set font substitution to false
set registration marks to off
set separation to false
set tiling to off
set print spreads to false
end tell
(*
--commented out because we could never get it to work...
set EPS_path to (path to desktop) as text
set EPS_path to EPS_path & document_Name & ".ps" as string
print PostScript file file EPS_path
*)
end tell
_______________________________________________
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.