Article View: adobe.scripting.indesign
Article #387Re: JS CS4 Print to postscript
From: John_Kallios
Date: Wed, 25 Mar 2009 14:23
Date: Wed, 25 Mar 2009 14:23
35 lines
2091 bytes
2091 bytes
Hi Peter, When I turn the print line to true, the print dialog appears and correctly targets my preset. Clicking save brings up the second save dialog. When it is false, the second dialog does not appear. I will try the script to ensure no user action was turned off. The scripting guide mentions when setting print preferences: (and it is commented out) //If the printer property is set to Printer.postScript file, then the printFile property contains the file path to the output file. //printFile = "/c/test.ps" This led me believe that I could write to the 2nd dialog. However, if I cannot, I will initiate phase 2. While sounding official, it just means I will convert my department from distilling ps to pdf to exporting to pdf. I estimated 10 more jobs prepped per day with printing to postscript, I should be able to get 15 more with exporting. You be seeing a new questing, in a new topic, soon after I bang my head against the wall: "How to get the full document path of the file and export the pdf one level up and back into anther sub folder. Plus, gleaming what the other subfolder's name is." Example: File name: "jobnumber"+"other text" ~document path/working move up path to ~document path move into subfolder ~document path/"jobnumber"+"pdf" and save the file with the document name. I'll need to throw in an if statement to check if the file ever was saved to begin with. Now I'm thinking out loud. Please forgive me.
Technical Details
Message-ID:
<59b866b7.2@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: John_Kallios@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.2@webcrossing.la2eafNXanI> Date: Wed, 25 Mar 2009 07:23:43 -0700 References: <59b866b7.-1@webcrossing.la2eafNXanI> Lines: 46 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit