Click here to Skip to main content
15,569,644 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I want to write a javascript/jquery code that will call directly the default printer attached to the device and print silently the matter without showing the print dialog box.

Is it possible? Please help regarding this issue.
Mohibur Rashid 3-Apr-15 4:45am    
Experience shows user don't like this behave of application. they want to see before what they are going to print. If you want such thing that would print away then javascript is a wrong tool of choice

1 solution

This isn't possible. User interaction is always required to prevent websites from making your printer spit out all kinds of prints.

Good luck!
Share this answer

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900