• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Print Setup problems in Quark
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Print Setup problems in Quark
      • From: paul mccabe kampu <email@hidden>
  • Prev by Date: Scripting LaserWriter 8 page setup
  • Next by Date: Re: Insert Pages Doesn't Work In Acrobat 5.0
  • Previous by thread: Scripting LaserWriter 8 page setup
  • Next by thread: Re: Print Setup problems in Quark
  • Index(es):
    • Date
    • Thread