[Javascript] Print without confirmation

Mckinney, Lori K lkmckinn at ingr.com
Thu Oct 2 15:27:51 CDT 2003


Can you use the WebBrowser object?
<http://msdn.microsoft.com/library/default.asp?url=/workshop/browser/webbrow
ser/reference/objects/webbrowser.asp>

Looks like you can call ExecWB(6,-1) and not get the dialog.

Here is an example (in testing this, I had to change the last line of the
script to WebBrowser1.outerHTML = "";)

<http://www.uml-zone.com/tips/Tip/16640>

-----Original Message-----
From: Peter Brunone [mailto:peter at brunone.com]
Sent: Thursday, October 02, 2003 10:58 AM
To: javascript at LaTech.edu
Subject: [Javascript] Print without confirmation


Hi all...

   Does anyone have some sample code for a solution that would let me print
without the print dialog box?  This only has to work in IE 5.5 and higher,
so any MS proprietary ideas would be just fine.

Cheers,

Peter


_______________________________________________
Javascript mailing list
Javascript at LaTech.edu
https://lists.LaTech.edu/mailman/listinfo/javascript



More information about the Javascript mailing list