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?
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
Lori Kassuba is an AUC Expert and Community Manager for AcrobatUsers.com.