Article View: adobe.scripting.indesign
Article #386Re: JS CS4 Print to postscript
From: Kasyan_Servetsky
Date: Wed, 25 Mar 2009 14:21
Date: Wed, 25 Mar 2009 14:21
14 lines
1336 bytes
1336 bytes
As to the file name you construct for the PS file, there's no point doing
that because you can't use it in the script... In other words, you can't
say "print myDoc as PS using filename X and preset Y". You have to go
through the dialog, and you have to type the name.
You can use PrintPreference's printFile property to set the name of the PS-file and you can use activePrinterPreset to choose a printer preset in script. I do it in my script that exports each page to a separate PS-file and names each file in the following form:
Page number + "_Magazine name_" + Issue number + ".ps"
e.g. 012_business_843.ps
<http://www.kasyan.ho.com.ua/downloads/PrintEachPageAsPs%20v3.6.zip>
Technical Details
Message-ID:
<59b866b7.1@webcrossing.la2eafNXanI>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!news.glorb.com!news2.glorb.com!newshub.sdsu.edu!webcrossingReferences:
<59b866b7.-1@webcrossing.la2eafNXanI>Show Full Headers
Complete Article Headers
X-Google-Thread: f939a,b0efaf9e920b645e X-Google-Attributes: gidf939a,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit From: Kasyan_Servetsky@adobeforums.com Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!news.glorb.com!news2.glorb.com!newshub.sdsu.edu!webcrossing Newsgroups: adobe.scripting.indesign Subject: Re: JS CS4 Print to postscript Message-ID: <59b866b7.1@webcrossing.la2eafNXanI> Date: Wed, 25 Mar 2009 07:21:52 -0700 References: <59b866b7.-1@webcrossing.la2eafNXanI> Lines: 12 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit