Anyone knows how to print a file without showing print preview in cross browsers, API or libraries like jQuery or javascript or else.
that is simple or not?
Reason why we won't show the print preview because there is possibility that user could
- screenshot the file then photoshop the file values
- change the contents
- can duplicate copy
In that way it is difficult to monitor who printed the sensitive file in online.
Printing from a web page is always with user interaction. However, you can prevent the document from being displayed. Shown here is the HTML5 control from my company's XtremeDocumentStudio .NET product. http://www.gnostice.com/nl_article.asp?id=291&t=Print_without_preview_using_XtremeDocumentStudio_NETs_HTML5_document_viewer_control
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With