Monday, 15 March 2010

javascript - PDFJs print directly witouth showing the PDF -


To avoid passing through the Silverlight printing queue (this generates mega-weight print queue), a PDF to be avoided is to be printed with a silverlight. I,

So I have thought of using PDF to directly show / print PDFs to PDF

I wanted to show the PDF correctly with the toolbar and print button. Successful, when I click it

  PDFJS.getDocument (THEFILEPATH) .then (function (pdf) {window.print ();})  

And this opens the printdialog properly, but It makes a print call of the browser, so if I do not specify content that does not print it

Can I print PDF content in a window anyway?

thanks


No comments:

Post a Comment