• 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
Setting Print Prefernces in Quark
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Setting Print Prefernces in Quark


  • Subject: Setting Print Prefernces in Quark
  • From: "Cory McEntee" <email@hidden>
  • Date: Fri, 3 Aug 2001 14:08:59 -0400

Hello all, I've been trying to set up a script that sets the Print Style --
but so far I have been unsuccessful... so I tried a different route - by
attempting to adjust the settings individually: (no luck so far, that's why
I'm writing).

Here's what I have so far:

tell application "Finder"
activate
set theFile to choose file with prompt "Select file to be processed" as
string
end tell
tell application "QuarkXPress* 4.11"
activate
open theFile
tell document 1
set description of print setup to "Scitex Pro"
set paper size of print setup to "Letter"
set orientation of print setup to "Landscape"
end tell
--tell document 1 to tell print setup to set registration marks to off
--tell document 1 to tell print setup to set paper size to Letter
--tell document 1 to tell print setup to set printer type to "Scitex RIPRO"
--tell document 1 to tell print setup to set orientation to "Portrait"
tell document 1
repeat with i from 1 to count of pages
set thePage to i
try
print page thePage PostScript file theFile
end try
end repeat
end tell
end tell


I get an Execution Error: QuarkXpress 4.11 got an error: Can't set paper
size of print setup of document 1 to "Letter".

I've tried different variations of this (see the commented out section of
the above script) - and I basically get the same error. I do not, however,
get an error on the "tell document 1 to tell print setup to set registration
marks to off" -- that works fine...

Or... better yet, if someone knows of a way to have AppleScript change the
print style to the print style I created... that would be ideal.

Thanks for any assistance --


-----------------------------------------
Cory McEntee
Technology Support Specialist
American Association for the Advancement of Science
1200 New York Ave. NW
Washington, D.C. 20005


  • Follow-Ups:
    • Re: Setting Print Prefernces in Quark
      • From: Shane Stanley <email@hidden>
  • Prev by Date: Re: Script Editor 1.6 problems ...
  • Next by Date: Re: current email in Eudora
  • Previous by thread: Re: Script Editor 1.6 problems (and my solution) ...
  • Next by thread: Re: Setting Print Prefernces in Quark
  • Index(es):
    • Date
    • Thread