[Html] web page WB. execWB control printing method <table width = "100%" cellpadding = "1" onmouseover = "kpr. style. display = '';"> <tr> <td width = "100%" height = "25" colspan = "3"> <script language = "javascript"> function printsetup () {// print page settings wb.exe cwb ();} function printpreview () {// print Page Preview wb.exe cwb ();} function printit () {if (confirm ('Are you sure you want to print? ') {Wb.exe cwb (6, 6) }</script> <OBJECT classid = "CLSID: 8856F961-340A-11D0-A96B-00C04FD705A2 "height = 0 id = wb name = wb width = 3> </OBJECT> <div id =" kpr "> <input class =" ipt "type = button name = button _ print value = "print" onclick = "kpr. style. display = 'none'; javascript: printit (); "> <input class =" ept "type = button name = button _ setup value =" print page settings "onclick =" javascript: printsetup (); "> <input class =" ept "type = Button name = button_show value = "print preview" onclick = "kpr. style. display = 'none'; javascript: printpreview (); "> <input class =" ept "type = button name = button _ fh value =" close "onclick =" javascript: window. close (); "> </td> </div> </tr> </table> parameter method: WB. execWB () 4, 1 save webpage 4, 2 save webpage (you can rename it) 6, 1 print 6, 2 print 7, 1 print preview 7, 2 print preview 8, 1 select parameter 8, 2 select parameter 10, 1 view page properties 10, 2 view page properties 17, 1 select all 17, 2 select all 22, 1 re load current page, 2 re load current page <OBJE CT classid = CLSID: 8856F961-340A-11D0-A96B-00C04FD705A2 height = 0 id = WebBrowser width = 0> </OBJECT> <input name = Button onClick = document. all. webBrowser. execWB (1, 1) type = button value = open> <input name = Button onClick = document. all. webBrowser. execWB (2, 1) type = button value = close all> <input name = Button onClick = document. all. webBrowser. execWB (4,1) type = button value = Save As> <input name = Button onClick = document. all. webBrow Ser. execWB (6, 1) type = button value = print> <input name = Button onClick = document. all. webBrowser. execWB (6, 6) type = button value = direct print> <input name = Button onClick = document. all. webBrowser. execWB (8, 1) type = button value = page Settings> <input name = Button onClick = document. all. webBrowser. execWB (10, 1) type = button value = property> <input name = Button onClick = document. all. webBrowser. execWB (17,1) type = button value = select all> <input name = Butt On onClick = document. all. webBrowser. execWB (22, 1) type = button value = Refresh> <input name = Button onClick = document. all. webBrowser. execWB (45, 1) type = button value = close> webpage WB. execWB control printing method <table width = "100%" cellpadding = "1" onmouseover = "kpr. style. display = '';"> <tr> <td width = "100%" height = "25" colspan = "3"> <script language = "javascript"> function printsetup () {// print page settings wb.exe cwb (8, 1);} function printpreview (){ // Print Page Preview wb.exe cwb ();} function printit () {if (confirm ('Are you sure you want to print? ') {Wb.exe cwb (6, 6) }</script> <OBJECT classid = "CLSID: 8856F961-340A-11D0-A96B-00C04FD705A2 "height = 0 id = wb name = wb width = 3> </OBJECT> <div id =" kpr "> <input class =" ipt "type = button name = button _ print value = "print" onclick = "kpr. style. display = 'none'; javascript: printit (); "> <input class =" ept "type = button name = button _ setup value =" print page settings "onclick =" javascript: printsetup (); "> <input class =" ept "type = button name = button_show value =" print preview "onclick =" kpr. style. display = 'none'; javascript: printpreview (); "> <input class =" ept "type = button name = button _ fh value =" close "onclick =" javascript: window. close (); "> </td> </div> </tr> </table> parameter method: WB. execWB () 4, 1 save webpage 4, 2 save webpage (you can rename it) 6, 1 print 6, 2 print 7, 1 print preview 7, 2 print preview 8, 1 select parameter 8, 2 select parameter 10, 1 view page properties 10, 2 view page properties 17, 1 select all 17, 2 select all 22, 1 re load current page, 2 re load current page <OBJECT classid = CLSID: 8856F961-340A-11D0-A96B-00C04FD705A2 height = 0 id = WebBrowser width = 0> </OBJECT> <input name = Button onClick = document. all. webBrowser. execWB (1, 1) type = button value = open> <input name = Button onClick = document. all. webBrowser. execWB (2, 1) type = button value = close all> <input name = Button onClick = document. all. webBrowser. execWB (4,1) type = button value = Save As> <input name = Button onClick = document. all. webBrowser. execWB (6, 1) type = button value = print> <input name = Button onClick = document. all. webBrowser. execWB (6, 6) type = button value = direct print> <input name = Button onClick = document. all. webBrowser. execWB (8, 1) type = button value = page Settings> <input name = Button onClick = document. all. webBrowser. execWB (10, 1) type = button value = property> <input name = Button onClick = document. all. webBrowser. execWB (17,1) type = button value = select all> <input name = Button onClick = document. all. webBrowser. execWB (22, 1) type = button value = Refresh> <input name = Button onClick = document. all. webBrowser. execWB (45, 1) type = button value = close>