Other print buttons on my documents work fine.
They print to locally installed printers, though.
This is the code I have on the button's properties (when clicked, it executes this JS):
var pp = this.getPrintParams();
pp.printerName = "the_local_printer_name";
pp.firstPage = 0;
pp.lastPage = 0;
pp.NumCopies = 1;
pp.interactive = pp.constants.interactionLevel.silent;
this.print(pp);
But when I put the Fax printer name in there, it doesn't work. This is because it is a network printer.
Is there a way to barely adjust this script so it will print? Or is there a shorter, better version I can do since it will be faxed? I don't know, I am totally new, and this is my first post.
I appreciate any and all help I can get on this.
Print out a listing of available printers:
var l = app.printerNames.length
for ( var i = 0; i < l; i++)
console.println("(" + (i+1) + ") " + app.printerNames[i]);
George Kaiser