RE: another Quark scripting question
RE: another Quark scripting question
- Subject: RE: another Quark scripting question
- From: "Wadson, David" <email@hidden>
- Date: Fri, 6 Dec 2002 15:28:18 -0500
It sets the "height" of the Postscript file to the height of the document.
Add an extra inch to your document height and width, move the contents of
the page over and down a half inch. Interesting note - if you turn on
registration marks, Quark will increase the page height to include the top
and bottom registration marks, but it doesn't increase the width.
The paper size selection may simply be problematic in Quark 3.32 (yes, we're
way behind the times here...). For some reason I couldn't get Quark to
accept a selection from the PPD's available paper sizes. The solution was to
create multiple PPD files for the required paper sizes and strip out any
others. I use it for our laser printer script that picks what size paper to
print on (tabloid or letter) depending on the size of the document. One PPD
for the HP LaserJet 5000 with only letter size available, and one with only
tabloid. Then, when you select the PPD, Quark automatically takes the one
paper size that is available. I just found it easier to script a PPD choice
instead of trying to select the paper size.
>
----------
>
From: Wallace, William
>
Sent: Friday, December 6, 2002 11:51 AM
>
To: 'email@hidden'
>
Cc: 'email@hidden'; 'email@hidden'
>
Subject: RE: another Quark scripting question
>
>
Yeah, I'm trying to postscript Quark files here. So how will Quark
>
automatically
>
adjust the height of the "paper?" I mean according to what algorithm,
>
based on
>
what criteria? Will it always be a consistent amount? or will it always go
>
to
>
the next highest "standard" paper size? I have a printer that wants our
>
files
>
PDF'd to one inch larger than final trim size (half an inch all around).
>
What
>
I don't yet know is how fussy they are about that spec. I don't know if we
>
send
>
them files that are consistently one inch wider than trim, but sometimes
>
two
>
inches taller or an inch and a half taller, if they'll squawk.
>
>
>When a PPD file is selected for the typical laser printer, setting
>
the
>
>"paper width" usually isn't available. Instead the options are controlled
>
by
>
>"paper size" and what options are available for that particular PPD.
>
However
>
>I've had trouble getting Quark to properly select from the PPD's
>
available
>
>choices.
>
>
Oi... more bad news. The workaround I came up with is to alter the
>
Distiller PPD
>
to provide paper sizes according to my specs. What troubles have you had
>
getting
>
Quark to properly select from the available choices? Has anyone else had
>
trouble
>
Applescripting Quark's Print dialog (or is that a stupid question)? What
>
are the
>
pitfalls you encountered. Any tips or advice would be greatly appreciated.
>
>
>
>From: Shane Stanley <email@hidden>
>
>
>
>On 6/12/02 8:09 AM +1000, Wallace, William,
>
email@hidden,
>
>wrote:
>
>
>
>> Why can I do this:
>
>>
>
>> tell application "QuarkXPress(tm) 4.11"
>
>> set print setup of document 1 to {paper width:"9.375\""}
>
>> get paper width of print setup of document 1
>
>> --> "9.375\""
>
>> end tell
>
>>
>
>> but I can't set the paper height in document 1's print setup?
>
>>
>
>> What is the f#@king point of that? What if I need to print to
>
>> an arbitrarily-sized sheet of paper, how can I use AppleScript
>
>> to set the paper height?
>
>
>
>Setting of paper width is only relevant for roll-fed devices, no
>
sheet-fed,
>
>and for roll-fed devices the length is automatic.
>
>
I know, it's just irritating to have script access to the paper
>
width setting,
>
but not paper height. Particularly when I can manually alter them *both*
>
through
>
Quark's print dialog box.
>
>
Somehow, it don't seem right.
>
>
;-}
>
>
-whw
_______________________________________________
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.