Article View: adobe.scripting.indesign
Article #9744JS: Printing via script vs. UI, ID CS
From: Dick_Conrad
Date: Fri, 21 Jul 2006 19:55
Date: Fri, 21 Jul 2006 19:55
7 lines
1314 bytes
1314 bytes
I have several scripts that invoke dialog boxes for selection of a printer. The scripts then invoke the correct preset and send the job. We are getting Javascript error 30522 when printing some pages to TCP/IP printers. The message starts "The configuration was invalid or the user cancelled." A user can then use the File->Print menu, select the same preset called by the script, press Print and the job prints. After that, the user can use the script and print the file successfully. If the page is stored and called back up, the same script error returns until the page is printed via File->print. I am at a loss to understand why Javascript behaves differently after manual printing. Has anyone seen this? Dick Conrad
Technical Details
Message-ID:
<3bc0ff1e.-1@webcrossing.la2eafNXanI>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!news2.volia.net!news.musoftware.de!news.albasani.net!news.ecp.fr!news.stben.net!webcrossingShow Full Headers
Complete Article Headers
X-Google-Thread: f939a,644a8b2c248fd1eb,start X-Google-Attributes: gidf939a,public X-Google-Language: ENGLISH,ASCII-7-bit From: Dick_Conrad@adobeforums.com Newsgroups: adobe.scripting.indesign Subject: JS: Printing via script vs. UI, ID CS Message-ID: <3bc0ff1e.-1@webcrossing.la2eafNXanI> Date: Fri, 21 Jul 2006 12:55:29 -0700 Lines: 15 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!news2.volia.net!news.musoftware.de!news.albasani.net!news.ecp.fr!news.stben.net!webcrossing