...

View Full Version : window.print() function



klyross
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.

klyross
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?

sage45
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...

-sage-



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum