Hi,
I have the following problem:
I have successfully added a javascript to a pdf in order to print it silently to a local printer.
The java code to do it is the following:
var pp = this.getPrintParams();
pp.interactive = pp.constants.interactionLevel.silent;
pp.printerName = "hp psc 1310 series";
this.print(pp);
If printerName is a local printer, everything works fine.
On the contrary if printerName is a network printer (\\\\servername\\printername), nothing happens.
The network printer is on and if I print interactively a pdf document to it, it works well. What do I miss?
My Product Information:
Reader Standard 7 / Windows
Offline


Hi rtibaldi,
Have you tried adding this javascript in a folder level script (priviledged context)? Printers can be selected with the Acrobat Javascipt print funtion but silent printing is only allowed from a priviledged context.
Hope this helps,
Lori
Offline
AcrobatUsers.com >> User Groups • News • Events • Articles • Blogs • How To • Resources • Member Log in