• 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: Paper size in QX
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Paper size in QX


  • Subject: Re: Paper size in QX
  • From: "Bob.Kalbaugh" <email@hidden>
  • Date: Wed, 27 Jun 2001 17:01:08 -0500

on 6/27/01 9:10 AM, Alberto Salvagnini at email@hidden wrote:

> Hi all,
>
> I am trying to change the paper size in the print setup in a QX doc.
> I can get the paper size and also the paper size list but I cannot
> change it
> AS just says: I can't set paper size of print setup of document 1 to
> "A4"
> The paper size list contains more settings and also "A4".
> what I am doing wrong?
> hier the script:
>
> tell application "QuarkXpress"
> tell document 1
> copy "A4" to New_Paper_Size
> set paper size of print setup to New_Paper_Size
> end tell
> end tell
>
> greetings from Hamburg
> Alberto

Alberto,

Check the printer type of page setup (Printer Decription).
Some paper sizes are defined by their drivers for instance:
"Generic Color"

Change your printer description in page setup to (Acrobat Distiller if you
have it) or something else and save your settings. try your script again. I
think you will be happy with the result.

also you can change your printer description with applescript but you have
to use [printer type] for the syntax.

example:
set printer type of print setup to "Acrobat Distiller"

if you will be doing something like this, it would be best to set printer
type first then paper size. Quark has a wierd way of reverting to defaults
for different printer types.

Hope that helps.

bob.kalbaugh


References: 
 >Paper size in QX (From: Alberto Salvagnini <email@hidden>)

  • Prev by Date: Searching archives
  • Next by Date: Re: How do I change my default editor? - *finish*
  • Previous by thread: Paper size in QX
  • Next by thread: FW: Paper size in QX
  • Index(es):
    • Date
    • Thread