RE: Syntax for setting print options in Quark 4
RE: Syntax for setting print options in Quark 4
- Subject: RE: Syntax for setting print options in Quark 4
- From: Andre Boey <email@hidden>
- Date: Tue, 2 Mar 2004 14:19:44 -0500
I asked:
>
> I'm having trouble with the syntax for setting the
>
> print options. For instance, what's the best way to select the printer,
>
> paper size, paper width, orientation, spreads, registration, bleed,
>
> etc. for each file that's processed?
>
Dave Balderstone suggested:
>
---
>
tell application "QuarkXPress(tm) 4.11"
>
tell document 1
>
tell print setup
>
get properties of print setup
>
set printer type to "Generic Imagesetter"
>
set reduce or enlarge to 97
>
set orientation to landscape
>
set resolution to 1200
>
set data format to binary data
>
set halftone screen to 100
>
set font substitution to false
>
set text smoothing to false
>
set graphics smoothing to false
>
set larger print area to false
>
set paper offset to 0
>
set paper width to "25.5\""
>
set page gap to 0
>
set flip horizontal to false
>
set flip vertical to false
>
set invert image to false
>
set alignment to false
>
set unlimited downloadable fonts to false
>
set use PDF screen values to false
>
end tell
>
end tell
>
end tell
>
---
>
Thanks.
So each option does have to be set separately, enclosed in a tell block. I
wouldn't have guessed. Is there a way then to specify a print style instead
of going through this each time?
Andre
------------------------------------------------------------------------------------------------------
Please note The Orvis Company, Inc. e-mail system has scanned
this e-mail in an attempt to isolate inappropriate business content.
IMPORTANT:
To help protect against electronic viruses, please do not open
attachments from unrecognized senders.
Contact Customer Service for information regarding orders,
returns or Orvis products at 1-800-541-3541.
Contact the Orvis Technology Help Desk for information regarding
e-mail virus and content scanning at 540-983-4261.
Orvis donates 5% of pre-tax profits annually to organizations
that protect fish and wildlife habitat.
-------------------------------------------------------------------------------------------------------
_______________________________________________
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.