molla2005b Posted April 13, 2022 Share Posted April 13, 2022 A tiny javascript library to help printing from the web Ctrl+P ===> Open Print Dialog ===> Press Enter To Print or Esc to Cancel Print.js was primarily written to help us print PDF files directly within our apps, without leaving the interface, and no use of embeds. For unique situations where there is no need for users to open or download the PDF files, and instead, they just need to print them. One scenario where this is useful, for example, is when users request to print reports that are generated on the server side. These reports are sent back as PDF files. There is no need to open these files before printing them. Print.js offers a quick way to print these files within our apps. Official Demo : https://printjs.crabbly.com/ There are four print document types available: 'pdf', 'html', 'image' and 'json'. The default type is 'pdf'. PDFViewer - PrintJS.rar 1 Quote Link to comment Share on other sites More sharing options...
Fred Montier Posted April 18, 2022 Share Posted April 18, 2022 Well... without avoiding the "f#$&ing" dialog, not much of real world use, nein ? And not working with pdf , not even in the author's website demo. maybe missing/wrong mime type config ? Quote Link to comment Share on other sites More sharing options...
Fred Montier Posted April 18, 2022 Share Posted April 18, 2022 Quote Link to comment Share on other sites More sharing options...
Fred Montier Posted April 18, 2022 Share Posted April 18, 2022 Google is no longer working with Cloud Printing API. Kiosk mode in firefox is the only option for now. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.