Article View: adobe.scripting.indesign
Article #1481Re: [CS3 JS] A little help setting flattener prefs
From: Rasmus_Olsen
Date: Wed, 11 Feb 2009 09:08
Date: Wed, 11 Feb 2009 09:08
11 lines
1975 bytes
1975 bytes
Hi Thomas,
Thank you for taking time to help me with this :-)
Setting the properties of the app.flattenerPresets.item(0) object does just that; you changes the properties of the "[Low Resolution]" flattener preset. What I need to know is: How do I instruct InDesign to use "x" flattener preset or flattener preferences when exporting a PDF?
In addition to this: When scanning through the InDesign object model viewer I can't help noticing the FlattenerPreference object. In my export script I set various properties of the ColorSetting object with(app.colorSettings){ - trying the same approach with(app.flattenerPreferences){ gives me the exception: "Object does not support the property or method FlattenerPreference" - so how do I set the properties of this object?
I hope that you understand my question(s) :-)
BTW I test the flattener preferences in effect upon export by using a filled frame with the Bevel and Emboss effect applied. The effect will get rasterized by the flattener when exporting a PDF version 1.3 from the document. Using Acrobat preflight on the resulting PDF I'm able to scan for image resolution and check whether or not the specific flattener property 'lineArtAndTextResolution = 300' was honoured. So far InDesign have been using 'lineArtAndTextResolution = 150' - this is a property of the Medium Resolution flattener preset. Sigh..
Technical Details
Message-ID:
<59b7d6d2.1@webcrossing.la2eafNXanI>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!newshub.sdsu.edu!webcrossingReferences:
<59b7d6d2.-1@webcrossing.la2eafNXanI>Show Full Headers
Complete Article Headers
X-Google-Thread: f939a,2258a9bb02c0f511 X-Google-Attributes: gidf939a,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit From: Rasmus_Olsen@adobeforums.com Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!newshub.sdsu.edu!webcrossing Newsgroups: adobe.scripting.indesign Subject: Re: [CS3 JS] A little help setting flattener prefs Message-ID: <59b7d6d2.1@webcrossing.la2eafNXanI> Date: Wed, 11 Feb 2009 01:08:05 -0800 References: <59b7d6d2.-1@webcrossing.la2eafNXanI> Lines: 26 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit