Quark Print Setup & Postscript File
Quark Print Setup & Postscript File
- Subject: Quark Print Setup & Postscript File
- From: Ed Walter <email@hidden>
- Date: Thu, 9 Jan 2003 09:50:28 -0600
I've searched through the archives and I see people are having similar
problems as this one, but not quite the same. Here's the basic premise:
MacOS 9.1
AS 1.5.5
QuarkXPress 5.0
Script Debugger 3.0
I want to build a multi-page QuarkXPress document, set the print setup to
print odd pages (page sequence:odd pages) among some other settings
including printing landscape, write a postscript file, changes the print
setup agian for even pages and write another one.
Everything works fine, except my print setup seems to be ignored. No error,
just that I get the same postscript file for each print setup (all the pages
with no rotation)
Here's the abbreviated guts:
----------------------------------------------------------------------------
---
tell application "QuarkXPress* 5.0"
set psPort to {absolute overlap:true, ... orientation:portrait, ...
page sequence:all pages, ...
set psLandX to {absolute overlap:true, ... flip horizontal:false,
flip vertical:false, ... orientation:landscape, ... page sequence:odd
pages...
set psLandY to {absolute overlap:true, ... flip horizontal:true,
flip vertical:true, ... orientation:landscape, ... page sequence:even
pages...
end tell
...
tell application "QuarkXPress* 5.0"
tell document 1
set print setup to psLandX
end tell
print document 1 PostScript file (psOutFileX & ".ps")
tell document 1
set print setup to psLandY
end tell
print document 1 PostScript file (psOutFileY & ".ps")
end tell
----------------------------------------------------------------------------
--
I could skip the page sequence stuff if I could figure out how to tell Quark
to print a specific page range into 1 postscript file. But I do need the
other stuff.
Agian, no error. It just seems to be ignoring my print setup instruction.
Any help is appreciated!
-ed-
_______________________________________________
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.