• 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
Re: Print Setup problems in Quark
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Print Setup problems in Quark


  • Subject: Re: Print Setup problems in Quark
  • From: Steve Kump <email@hidden>
  • Date: Fri, 06 Jul 2001 15:08:35 -0500

Sorry..i didn't mean to display orientation:"lanscape" as a string, for it
is not in my script. I will try paul's suggestion of specifying the printer
name with each call since I am not doing that now.

Steve Kump

> From: JJ <email@hidden>
> Date: Fri, 06 Jul 2001 09:14:44 +0200
> To: applescriptmaillist <email@hidden>
> Subject: Re: Print Setup problems in Quark
>
>> 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?
>>
> At first, run this code and look the result or at Quark's dictionary,
> "print setup record" entry:
>
> tell application "QuarkXPress Passport(TM) 4.11"
> document 1's print setup
> end tell
>
> --> *orientation* is not "string", but *landscape/portrait*
>
> try this:
>
> tell application "QuarkXPress Passport(TM) 4.11"
> set document 1's print setup to {orientation:portrait}
> end tell
> _______________________________________________
> applescript-users mailing list
> email@hidden
> http://www.lists.apple.com/mailman/listinfo/applescript-users


References: 
 >Re: Print Setup problems in Quark (From: JJ <email@hidden>)

  • Prev by Date: Re: how to script resizing in Graphic Converter
  • Next by Date: Re: how to script resizing in Graphic Converter
  • Previous by thread: Re: Print Setup problems in Quark
  • Next by thread: Re: Print Setup problems in Quark
  • Index(es):
    • Date
    • Thread