hi,
i use this script to autoprint my pdf:
// path C:\Dokumente und Einstellungen\user\Anwendungsdaten\Adobe\Acrobat\9.0\JavaScripts sPrint = app.trustedFunction( function(bUI, bSilent){ app.beginPriv(); var pp = this.getPrintParams(); pp.interactive = pp.constants.interactionLevel.automatic; pp.printerName = "epson2"; pp.pageHandling = pp.constants.handling.none; this.print(pp); } )
it works great :)
but it always prints with the option "auto rotate and center" :(
and it doesnt choose paper source by page size :(
my question:
how can i set the checkbox "choose paper source by pdf page size" option in the print dialog with the api ?
and how can i set the checkbox "auto rotate and center" option in the print dialog with the api ?
when it is not possible :
can i set anywhere the adobe´s default printer settings ?
thanks
ocean
See the JavaScript API Reference manual for more details of the PrintParams properties.
radzmar
• LoveCycle Blog
Documents you need:
• LiveCycle Designer ES2 Docs