page WB. ExecWB printing control method

 


code is as follows:


<Table width="100%" cellpadding="1" > <Tr> <Td width="100%" height="25" colspan="3" > <Script language="javascript" > The function printsetup () {//printed page set wb. Execwb (8, 1); {} function printpreview ()/wb/printed page preview. Execwb (7, 1); {} function printit () if (confirm (' sure print?)) {wb. Execwb (6, 6)}} </script> <OBJECT every="f961 clsids: 8856-340 - a - 11 d0 A96B - 00 c04fd705a2" height=0 id=wb name=wb width=3 > </object> <Div id="KPR >" <The input class="ipt type=" button name=button _print value="http://www.jb51.net//web/print >" <The input class="ipt type=" button name=button _setup value="http://www.jb51.net//web/to print page setup" > <The input class="ipt type=" button name=button_show value="print preview" http://www.jb51.net//web/&gt; <The input class="ipt type=" button name=button _fh value="shut down" http://www.jb51.net//web/&gt; </td> </div> </tr> </table> Parameter method: WB. ExecWB (4, 1) 4, 1 save page 4, 2 save the page (you can rename) 6, 1 print directly, 2 direct print, print preview print preview 8 7, 2, 1 choose parameters. 8, 2 options, 1 see page 17, 1 full selected 10, 2, view the page attribute selection of 22 17, 2, 1 to reload the current page to reload the current page 22, 2

 


code is as follows:


<OBJECT every clsids: 8856 f961 d0 - A96B - 00-340 - a - 11 c04fd705a2 height=0 id=WebBrowser width=0 > </object> <The input name=Button id="art580"> # 0 - #


This concludes the body part