<object id="WebBrowser" width=0 height=0 classid="CLSID:8856F961-340A-11D0-A96B-00C04FD705A2">
</object>
<input type="button" onClick="document.all.WebBrowser.ExecWB(7,1)" value="打印预览">
</object>
<input type="button" onClick="document.all.WebBrowser.ExecWB(7,1)" value="打印预览">
<script language="javascript">
function printPreview(){
WebBrowser1.ExecWB(7,1);
}
</script>
<input type="button" onClick="printPreview()" value="打印预览">