I need to print a pdf file directly without showing print preview. When i am using
window.print() it goes to windows print preview page. But i need to send the file directly to the printer without showing print preview page
Thats not possible with pure javascript and html. You'll need to use silverlight 5 (Signed), flash or qz-print - js wrapper which uses java.
For i.e. specific solution following may work
javascript print without print dialog box
I have personally implemented only silverlight 5 (Signed), I have not my self implemented flash and qz-print.
Hope this helps!
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