Postscript printing in QuarkXpress
Postscript printing in QuarkXpress
- Subject: Postscript printing in QuarkXpress
- From: David Walsh <email@hidden>
- Date: Wed, 26 Sep 2001 07:54:07 -0600
Hi When i run the script below pointing to the local path reference in the
second line everything works fine. But when I set it up to reference the
folder on a network server in the third line it generates a -48 error in
QuarkXpress. Hope someone can help.
tell application "Finder"
--set thepath1 to folder "PS Seps On" of desktop as text
set thepath1 to folder "Test PS" of disk "Queues" as text end tell tell
application "QuarkXPress(tm)"
tell the front document
set view scale to "100%"
end tell
set docname to name of document 1
set docname1 to characters 1 thru 4 of docname as string
set docname2 to characters 6 thru 7 of docname as string
set print setup of document 1 to {separation:true, tiling:off, include blank
pages:false, printer type:"Autologic APS RIP3 3850 Aspen", paper width:1008,
page gap:0, resolution:1016}
if character 8 of docname does not contain "/" then
set docname2 to characters 6 thru 8 of docname as string
end if
with timeout of 12000 seconds
print page 1 of document 1 PostScript file (thepath1 & docname1 & "-" &
docname2 & ".ps") plates {"Black", "Cyan", "Magenta", "Yellow"}
end timeout end tell