Suppressing the 'Print' dialog box.


I want to automate printing of HTML page using Javascript. I am using 'print' function of javascript. However, it throws the 'Print' dialog box. I want to suppress that dialog box too. (e.g. In WINWORD, the dialog box does not appear when printing is done by pressing the print button of the toolbar. The dialog box appears if printing is done from the menu, i.e. File --> Print)

I believe Javascript must be internally using some DLL to achieve this printing. By changing this DLL, it might be possible to suppress the Print dialog box and to print using the default settings.

Can anybody tell me how to suppress this dialog box?
Who is Participating?
MaDdUCKConnect With a Mentor Commented:
circumventing the print dialog box is not possible. check out point 2 in
All Courses

From novice to tech pro — start learning today.