Javascript prints shipping label pdf but wont Auto close using Windows 10
We use JDA/DLX WMS along with Metapack DM to print shipping labels using Internet explorer 11 & Reader 11, we use a JavaScript file to
print then auto close the pdf print window. This all works fine on Windows 7 but the print window wont close using windows 10.
I have tried many variations of the script file without success, the original script is below.
printDocument=app.trustedFunction( function(vPrinterName) {
app.beginPriv();
var pp = this.getPrintParams();
pp.pageHandling = pp.constants.handling.none;
pp.interactive = pp.constants.interactionLevel.silent;
pp.printerName = vPrinterName;
this.print(pp);
app.endPriv();
}
);
Any help would be much appreciated
