Re: Quark Paper Size
Re: Quark Paper Size
- Subject: Re: Quark Paper Size
- From: Stefaan Degryse <email@hidden>
- Date: Wed, 18 Jul 2001 15:45:33 +0200
At about 18/7/01 3:15 pm, "Alberto Salvagnini" <email@hidden> said the
following:
Found this interesting enough and did some testing.
The standard selected printer type in Quark in "Generic B&W" and if you ask
for all available paper sizes (paper size list) then nothing is returned.
In fact this is the case for all three standard Generic printer types (B&W,
Color and ImageSetter).
When you select a different PPD (like below) everything goes fine.
tell application "QuarkXPress Passport 4.1"
tell document 1
tell print setup
set printer type to "Acrobat Distiller 3.0"
set paper size to "A4"
end tell
end tell
end tell
Strange but true.
Side note: if you want to generate PS files from Quark documents like you
seem to do then use the Acrobat Distiller PPD's, I experienced they work the
best certainly if there are custom paper formats involved.
HTH
Take care
Stef,
>
Thanks Shane but also your script is not working.
>
It is curios to see that I can change almost everything in the print settings
>
but not this...
>
>
How could be that the most repeating jobs (printing or also creating .ps) make
>
so many errors in QX?.
>
I really cannot believe it.
>
It should be a possibility to change the paper size in the print settings...
>
>
Shane Stanley schrieb:
>
>
> On 18/7/01 9:24 PM +1000, Alberto Salvagnini, email@hidden, wrote:
>
>
>
>> can someone tell me why this doesn't work?
>
>>
>
>> tell application "QuarkXPress 3.32r5"
>
>> tell document 1
>
>> set paper size to "A4"
>
>> end tell
>
>> end tell
>
>>
>
>
>
> "paper size" is a property of print setup, so you would have to do something
>
> like:
>
>
>
> tell application "QuarkXPress 3.32r5"
>
> tell document 1
>
> tell print setup
>
> set paper size to "A4"
>
> end tell
>
> end tell
>
> end tell
>
>
>
> But be warned that scripting of print setup in v3.32 is very buggy; I'd be
>
> surprised if this worked unless you had at least opened the print dialog
>
> "manually" at some stage first.