• 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
Quark to PDF - page setup script
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Prev by Date: Re: Does anyone know how to AppleScript Auto Color in PS7?
  • Next by Date: Re: Bevel and emboss with PSD7
  • Previous by thread: Re: 'File' doesn't work (was: Where's Application Support?)
  • Next by thread: Re: Quark to PDF - page setup script
  • Index(es):
    • Date
    • Thread