Re: Quark crashes when printing
Re: Quark crashes when printing
- Subject: Re: Quark crashes when printing
- From: "Brian J. Geiger" <email@hidden>
- Date: Mon, 29 Jul 2002 08:48:12 -0400
Okay, I've come a ways since my last post as far as cleaning up goes, and I can get it to print a
few pages with the following:
tell application "QuarkXPress 4.11"
activate
tell document 1
repeat with currentPage from 2 to ((count of pages) + 1)
set print setup to {adjust horizontal tile:false, auto tile overlap:"3\"", back to
front:false, bleed:"0\"", collate:false, data format:binary data, fit in area:false, flip
horizontal:false, flip vertical:false, halftone screen:"85", include blank pages:true, invert
image:false, orientation:portrait, page gap:"0\"", page position:left position, page sequence:all
pages, paper offset:"0\"", paper size:"Letter", paper width:"12\"", print colors as grays:false,
print quality:normal, print spreads:false, print thumbnails:false, printer type:"ECRM StingRay",
reduce or enlarge:"100%", registration marks:off, registration marks offset:"6 pt", resolution:1270,
separation:false, tiling:off}
print page currentPage
end repeat
end tell
end tell
Which, overall, makes me much happier. Is there a way, without rewriting the loop as an idle
handler or putting a processor-eating loop at the end, to cause the script to wait about 90 seconds
before continuing with the next iteration of the loop? I suspect that the problem lies mostly in
the speed at which it's trying to print new pages rather than any instability in the program itself,
but I'll admit that could be naieve of me. If anyone can point me the proper way on this, whether
the pause or whatever the ultimate cause of the crashing is, I would certainly appreciate it.
Thank you,
Brian
_______________________________________________
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.