Adobe 26001360 Scripting Guide - Page 104
flattening options, Example 11.1
UPC - 718659321840
View all Adobe 26001360 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 104 highlights
104 AppleScript Reference flattening options Specifies the transparency flattening options. Flattening is used when Illustrator must output artwork that contains transparency - into a non-native format. Table 4.19 flattening option - Properties Property R/O Value Type clip complex regions boolean convert strokes to outlines convert text to outlines flattening balance boolean boolean real gradient resolution real overprint rasterization resolution Valid values: • discarded • preserved • simulated real What it is If true, complex regions will be clipped; default: false If true, all strokes will be converted to outlines; default: false If true, all text will be converted to outlines; default: false The flattening balance (0.0-100.0; default: 100.0 The gradient resolution (1.0-9600.0; default: 300.0) Overprint choice ( default: preserved ) The rasterization resolution (1.0-9600.0; default: 300.0) Example 11.1 -- Flattener Options --- Activate Illustrator -- Create a variable that holds the flattening options -- Create a variable that holds the print options -- Print the document -- A document and a printer must be present -- tell application "Illustrator CS" activate set flatOpts to {class:flattening options, clip complex regions:true, gradient resolution:360, rasterization resolution:360} set printOpts to {class:print options, flattener settings:flatOpts} if not (exists document 1) then error "There is no document available to print." print document 1 options printOpts end tell 12 Aug 03