I made a quiet printable web application that prints a PDF file. The key was to add JavaScript to the PDF file, which silently prints itself.
To do this, I open the PDF with the acrobat reader in chrome, which allows me to execute the script (with the appropriate permissions).
But, as announced, this solution will not work after chrome 45, as the npapi problem.
I suggest that a possible solution might be to use the recently released printProvider from chrome extensions.
However, I cannot imagine how to fire any printProvider events. So the question is, is there a chrome extension for making a web application without printing, and how can I run and process a print job for an embedded HTML PDF page.
javascript printing google-chrome-extension
Diego
source share