Page 1 of 1

Javascript: "copy current file to printer"

Posted: Mon Aug 26, 2019 8:59 am
by Peter2
We have a HP Plotter with an integrated PDF controller, so we can send files to it. The processsing is done inside the plotter.

We have different tools to upload (to send) the PDF files to the plotter: a web-GUI or small tools (Goplot; Drop&Print) which are based on the standard command:

Code: Select all

"copy test.pdf \\printserver\HPPlotter \b"
It would be fine if this command could be called with javascript from PDFViewer - something like

Code: Select all

"copy this.opened.document to plottername"
Who can help with the (maybe) one-liner JS-code?