Re: Print Setup in Adobe Illustrator CS
Re: Print Setup in Adobe Illustrator CS
- Subject: Re: Print Setup in Adobe Illustrator CS
- From: Simon Topliss <email@hidden>
- Date: Tue, 17 Jan 2006 07:56:38 +0000
On 16 Jan 2006, at 23:37, email@hidden wrote:
Hello,
I am trying to sort through print options in
Adobe Illustrator CS. What I want to do is this,
get all my printing parameters setup and then read
them to a result. Take that result and use it to
call up all the options like I want them. But,
unlike other applications, I cannot seem to get
the syntax correct to read the settings. I am
trying stuff ,like
tell application "Adobe Illustrator CS"
set x to print options of document 1
end tell
Somehow I am lost in a hierarchy of classes and
cannot sort through the Print Suite of the dictionary.
All I want to do is call up a complete CURRENT printing
condition to a result so I can re-use it.
This is an example of how to print to a postscript file, but it shows
all the options and how to call them.
set filePath to (path to "docs" as Unicode text) & "test.pdf"
tell application "Illustrator CS"
activate
set jobOptions to {class:job options, designation:visible printable
layers, file path:filePath} --name:"test3",
set colorOptions to {class:color management options,
name:"ColorMatch RGB", intent:saturation}
set coordinateOptions to {class:coordinate options, fit to
page:false, position:center, orientation:landscape}
set flatteningOptions to {class:flattening options, clip complex
regions:false, gradient resolution:300, rasterization resolution:
300.0, flattening balance:100.0}
set fontOptions to {class:font options, download fonts:complete}
set paperOptions to {class:paper options, name:"A3"} --,
transverse:true}
set postscriptOptions to {class:postscript options, PostScript:level 3}
set printOptions to {class:print options, job settings:jobOptions,
coordinate settings:coordinateOptions, flattener
settings:flatteningOptions, font settings:fontOptions, postscript
settings:postscriptOptions, printer name:"Adobe PDF"}
print document 1 options printOptions
end tell
HTH,
Simon
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden