<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title></title>
</head>
<body>
<!--打印1-->
<SCRIPT LANGUAGE=javascript>
function setPrint()
{
WB.ExecWB(8,1);
}
function previewPrint()
{
WB.ExecWB(7,1)
}
</SCRIPT>
<OBJECT classid=CLSID:8856F961-340A-11D0-A96B-00C04FD705A2 height=0 id=WB width=0>
</OBJECT>
<INPUT type="button" value="Set" id=button1 name=button1 οnclick="setPrint();">
<INPUT type="button" value="Preview" id=button2 name=button2 οnclick="previewPrint();">
<!--打印2-->
<table width="400" border="0" cellspacing="0" cellpadding="0">
<tr>
<td colspan="12">
<style media=print>
.Noprint{display:none;}
.PageNext{page-break-after: always;}
</style>
<center class="Noprint" >
<p>
<OBJECT id=WebBrowser classid=CLSID:8856F961-340A-11D0-A96B-00C04FD705A2 height=0 width=0>
</OBJECT>
<input Class="main_lookup_button" type=button value=打印 οnclick=document.all.WebBrowser.ExecWB(6,6)>
<input Class="main_lookup_button" type=button value=页面设置 οnclick=document.all.WebBrowser.ExecWB(8,1)>
<input Class="main_lookup_button" type=button value=打印预览 οnclick=document.all.WebBrowser.ExecWB(7,1)>
</p>
</center>
</td>
</tr>
</table>
<!--打印3-->
<script language="javascript">
function printsetup(){
// 打印页面设置
wb.execwb(8,1);
}
function printpreview(){
// 打印页面预览
wb.execwb(7,1);
}
function printit()
{
if(confirm('确定打印吗?')){
wb.execwb(6,6)
}
}
</script>
<OBJECT classid="CLSID:8856F961-340A-11D0-A96B-00C04FD705A2" height=0 id=wb name=wb width=3></OBJECT>
<input class="ipt" type=button name=button_print value="打印" οnclick="javascript:printit();">
<input class="ipt" type=button name=button_setup value="打印页面设置" οnclick="javascript:printsetup();">
<input class="ipt"type=button name=button_show value="打印预览" οnclick="javascript:printpreview();">
<input class="ipt" type=button name=button_fh value="关闭" cοnclick="javascript:window.close();">
</body>
</html>