Print Setup problems in Quark
Print Setup problems in Quark
- Subject: Print Setup problems in Quark
- From: Steve Kump <email@hidden>
- Date: Thu, 05 Jul 2001 16:21:07 -0500
Hi List,
Having a few little problems... from time to time I get an error when Quark
reaches a line in my script that includes the following code:
set print setup of document 1 to {orientation:"Landscape", paper
size:"11x17"}
print document 1
Sometimes it generates an error, saying the heavily detailed "Can't set
print setup of document 1 to {orientation:"Landscape", paper size:"11x17"}".
This does not occur every time, and in fact, if I re-run the script, it
often prints without an error!
I have not been able to find any consistency in the problem, but one quick
and dirty Band-Aid has been the following:
try
set print setup of document 1 to {orientation:"Landscape", paper
size:"11x17"}
print document 1
on error
set print setup of document 1 to {orientation:"Landscape", paper
size:"11x17"}
print document 1
end try
This has reduced the problems to very few, from very many. The paper size
and orientation varies, but all options are valid within the print setup
dialog of Quark.
Anything special I should know about scripting print settings in Quark that
might eliminate this?
Thanks!
Steve Kump