Article View: adobe.reader
Article #7980JavaScript in PDF
From: Frank_Degerdon
Date: Thu, 08 Feb 2007 14:58
Date: Thu, 08 Feb 2007 14:58
19 lines
1252 bytes
1252 bytes
Hello, use the example from Adobe Acrobat SDK - Javascript for Acrobat API Reference to automatic print some pdf's. Example: var pp = this.getPrintParams(); pp.interactive = pp.constants.interactionLevel.automatic; pp.printerName = "MyPrinter"; this.print(pp); We use Adobe Reader 8 on all our pc's. No the problem. The script worked fine on my developer pc, but partly on other pc's the javascript debugger throws an exception. exception in line 1 in first level of the function. range error: invalid argument doc.print:1:document-level:EmbeddedJS Has someone an idea what i can do?
Technical Details
Message-ID:
<3bc31a1e.-1@webcrossing.la2eafNXanI>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!news3.google.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newspeer1.nwr.nac.net!newsfeed.freenet.de!news.germany.com!news.isoc.lu!webcrossingShow Full Headers
Complete Article Headers
X-Google-Thread: 10273d,9ab63b75782ba65b,start X-Google-Attributes: gid10273d,public X-Google-Language: ENGLISH,ASCII-7-bit From: Frank_Degerdon@adobeforums.com Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!news3.google.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newspeer1.nwr.nac.net!newsfeed.freenet.de!news.germany.com!news.isoc.lu!webcrossing Newsgroups: adobe.reader Subject: JavaScript in PDF Message-ID: <3bc31a1e.-1@webcrossing.la2eafNXanI> Date: Thu, 8 Feb 2007 06:58:29 -0800 Lines: 21 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit