Quantcast
Channel: Adobe Community: Message List - Acrobat SDK
Viewing all articles
Browse latest Browse all 10848

Re: Change Printer in Acrobat from VBA

$
0
0

The scripting path did the trick. Thanks once again!

ReinhardF wrote:

 

Mmmh,

 

with "AForm.Fields.ExecuteThisJavaScript" you can execute AcroJS directly.

Have a look for example and a more or less equal discussion at:

Re: JSObject 'doesn't support' getPrintParams or Print - VBA/AcroJS

 

Also, you may simply change the default printer before printing. Something like:

Set oWSN = WScript.CreateObject("WScript.Network")

oWsn.SetDefaultPrinter "MyPrinter"

 

HTH, Reinhard

Cheers!

Gary


Viewing all articles
Browse latest Browse all 10848

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>