Article View: adobe.scripting.indesign
Article #17319Flattening Styles
From: Liz Durnall
Date: Wed, 18 Jun 2003 16:29
Date: Wed, 18 Jun 2003 16:29
19 lines
1872 bytes
1872 bytes
Hi,
I have been able to create a print style to "print" an InDesign file to EPS. I now want to apply my own flattening style. I can create the style, but I am lost as to how to set that style to my document. This is a copy of my code, first creating the flattening style, then the print style.
set myFlattenerStyle to make flattener style
tell myFlattenerStyle
set clip complex regions to true
set flattener resolution to 300
set gradient resolution to 1200
set convert strokes to fills to false
set text to outlines to false
set level to low
set name to "EPS flattener"
end tell
set printStyles to printStyles & (make printer style with properties {name:"__AutoProofStyle__", page range:2, sequence:even, page position:centered, print orientation:portrait, bleed bottom:10.0, bleed inside:10.0, bleed outside:10.0, bleed top:10.0, print file:outputFile2, scale proportional:true, printer:postscript file, paper size:"A3", print to disk:true, print spreads:false, font downloading:subset, scale height:100.0, scale width:100.0, ppd:"Fiery Z5 20C-M Color Server v1.02 eu", flattener style:myFlattenerStyle})
I hope that all made sense. Thanks for any help,
Liz
Technical Details
Message-ID:
<1de99669.-1@WebX.la2eafNXanI>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-01!sn-xit-09!supernews.com!news.maxwell.syr.edu!newsfeed.tpinternet.pl!newsfeed01.sul.t-online.de!t-online.de!WebXShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f939a,9f8eaac8bcf05c44,start X-Google-Attributes: gidf939a,public X-Google-ArrivalTime: 2003-06-18 09:38:19 PST From: "Liz Durnall" <elizabeth.durnall@littlewoods.co.uk> Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-01!sn-xit-09!supernews.com!news.maxwell.syr.edu!newsfeed.tpinternet.pl!newsfeed01.sul.t-online.de!t-online.de!WebX Newsgroups: adobe.scripting.indesign Subject: Flattening Styles Message-ID: <1de99669.-1@WebX.la2eafNXanI> Date: Wed, 18 Jun 2003 09:29:33 -0700 Lines: 30 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit