Javascript: "copy current file to printer"

The PDF-XChange Viewer for End Users
+++ FREE +++

Moderators: TrackerSupp-Daniel, Tracker Support, Vasyl-Tracker Dev Team, Sean - Tracker, Paul - Tracker Supp, Chris - Tracker Supp, Tracker Supp-Stefan, Ivan - Tracker Software

Post Reply
Peter2
User
Posts: 833
Joined: Mon Sep 13, 2010 10:09 am
Location: Switzerland

Javascript: "copy current file to printer"

Post by Peter2 » Mon Aug 26, 2019 8:59 am

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?
PDF-X-Change Pro German

Post Reply