Article View: adobe.scripting.indesign
Article #9381Re: JS - Print Presets
From: John_Darnell
Date: Tue, 22 Aug 2006 21:12
Date: Tue, 22 Aug 2006 21:12
19 lines
1692 bytes
1692 bytes
Dave: In the text file printed out when I clicked the "save to file" button on the Printer Presets dialog, it has one entry for Transverse (boolean) and one for Orientation (Portrait or Landscape--probably an enum). Thanks for the rest of the information. If one knows how to read the documentation... To everyone: In the "printer" field on the summary text report, it is filled with "PostScript� File." Using that string description causes an error in the JS script. When I print that data to screen in the JS file using the alert() call, I get the following number: 1886611052. Entering that number in the field in the script like this: printer = 1886611052; causes an error. How do I fill in the printer field? And one final item: in the "header" of the summary file, I find I need to enter the PPD file path. Where is that in the printerPreset object? Thanks again. John
Technical Details
Message-ID:
<3bc15ae9.1@webcrossing.la2eafNXanI>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!aotearoa.belnet.be!news.belnet.be!newsgate.cistron.nl!xs4all!newsfeed.bit.nl!news-out2.kabelfoon.nl!newsfeed.kabelfoon.nl!bandi.nntp.kabelfoon.nl!newsfeed.freenet.de!news.albasani.net!news.ecp.fr!news.stben.net!webcrossingReferences:
<3bc15ae9.-1@webcrossing.la2eafNXanI>Show Full Headers
Complete Article Headers
X-Google-Thread: f939a,3620e10bda8511a7 X-Google-Attributes: gidf939a,public X-Google-Language: ENGLISH,ASCII From: John_Darnell@adobeforums.com Newsgroups: adobe.scripting.indesign Subject: Re: JS - Print Presets Message-ID: <3bc15ae9.1@webcrossing.la2eafNXanI> Date: Tue, 22 Aug 2006 14:12:21 -0700 References: <3bc15ae9.-1@webcrossing.la2eafNXanI> Lines: 27 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!aotearoa.belnet.be!news.belnet.be!newsgate.cistron.nl!xs4all!newsfeed.bit.nl!news-out2.kabelfoon.nl!newsfeed.kabelfoon.nl!bandi.nntp.kabelfoon.nl!newsfeed.freenet.de!news.albasani.net!news.ecp.fr!news.stben.net!webcrossing