Page setup ?? Scriptable or not?

Hello again - I have been searching and searching to try and find out if what I am trying to do is even do-able from within Applescript. Can the setting in the “page setup” window that pop-up scriptable? Some schools of thought say yes and some say that Apple hasn’t allowed usage of that. Could anyone suggest whether I could access these changes from within Terminal???

Page Setup windows are often application-specific. Make sure that it isn’t part of the App. you want to print from before pursuing the system setup.

Thanks Adam, from within Quark 6.5, when you call the Page Setup … button, you get a Page Setup dialog with three variables, “Format for:”, Paper Size and orientation - would these be Quark’s or the Tiger’s? Or how would I tell?
Thanks for any help.
Jim

Hello

It would be useful to look in the application’s AppleScript dictionary if these variables are available as document’s properties.

They are in inDesign so, maybe they are too in Xpress.

Yvan KOENIG (from FRANCE mercredi 10 janvier 2007 20:45:56)

Page size and orientation are scriptable in Quark. “Format for” is not really necessary (in my experience at least) if you set up all of the other settings.

tell application "QuarkXPress"
		tell front document
			tell print setup
				set orientation to landscape
				set paper size to "Tabloid"
			end tell
		end tell
	end tell