View Full Version : window.print() function

06-05-2003, 05:07 PM
Is it possible to inhibit the print dialog box from displaying when
invoking the winow.print() function?

Roy Sinclair
06-05-2003, 05:21 PM
Nope. If it were possible a hostile web site could spool a lot of pages out to the user's printer without the user getting any chance to stop it.

06-05-2003, 05:56 PM
Thanks for the fast reply.
But clicking the print icon button(IE) prints without the
dialog box - what is the difference?

06-05-2003, 06:04 PM
This is because it is controled on the application side with a call to the WMI... By the same token a different call is used when you Click File --> Print causing a Print Dialog box...