• 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
Quark Print Setup Statistics
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Quark Print Setup Statistics


  • Subject: Quark Print Setup Statistics
  • From: JJ <email@hidden>
  • Date: Wed, 11 Jul 2001 14:28:20 +0200

I've seen a lot of scripts using Quark's print setup, and...
Is it relevant the chain of commands?

--> PowerG3
--> About this computer:
OS: 9.1
RAM: 128 MB
Virtual m: 129 MB
Finder: 21,7 MB
QuarkXPress (3.32): 7 MB
--> Appletalk OFF
--> osax: Jon's Commands (the ticks)

tell application "QuarkXPress"
activate
set theticks1a to the ticks
repeat 10 times
set document 1's print setup to {adjust horizontal tile:false, auto
tile overlap:"76,2 mm", back to front:false, calibrated output:true,
collate:false, data format:binary data, flip horizontal:false, flip
vertical:false, font substitution:true, graphics smoothing:true, halftone
screen:133, include blank pages:true, invert image:false, larger print
area:false, orientation:portrait, page gap:0, page sequence:all pages, paper
offset:0, paper size:"Ninguno", paper width:"200 mm", print colors as
grays:false, print quality:normal, print spreads:false, print
thumbnails:false, printer type:"LaserWriter 16/600 PS", reduce or
enlarge:"100%", registration marks:off, resolution:600, separation:false,
text smoothing:true, tiling:off, unlimited downloadable fonts:false, use PDF
screen values:false}
end repeat
set theticks1b to the ticks
set theseconds1 to (theticks1b - theticks1a) / 60
end tell
tell application "QuarkXPress2"
activate
tell document 1's print setup
set theticks2a to the ticks
repeat 10 times
set adjust horizontal tile to false
set auto tile overlap to "76,2 mm"
-- etc

end repeat
end tell
set theticks2b to the ticks
set theseconds2 to (theticks2b - theticks2a) / 60
end tell
set run1 to theseconds1 as string
set run2 to theseconds2 as string
set the_difference to (theseconds2 - theseconds1) as string

set the_report to "Time Run 1: " & run1 & return & "Time Run 2: " & run2 &
return & "Difference beetwen both runs: " & the_difference

display dialog the_report

--> run1 > 2,51 s. / 10 times

--> run2 > 11,43 s. / 10 times

--> the_difference > 8,91 s. / 10 times

JJ


  • Prev by Date: Akua Sweets
  • Next by Date: Re: Akua Sweets
  • Previous by thread: Re: how to cut/remove/move item from list
  • Next by thread: Coose a printer in the chooser
  • Index(es):
    • Date
    • Thread