<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title></title>
<script language="javascript">
function printsetup() {
// 打印页面设置
wb.execwb(8, 1);
}
function printpreview() {
// 打印页面预览
wb.execwb(7, 1);
}
function printit() {
// if (confirm('确定打印吗?')) {
wb.execwb(6, 2, 3)
// }
}
</script>
</head>
<body>
<object classid="CLSID:8856F961-340A-11D0-A96B-00C04FD705A2" height="0" id="wb" name="wb"
width="0">
</object>
<form id="form1" runat="server">
<div>
<input type="button" name="button_print" value="打印" class="noprint" οnclick="javascript:printit()">
<input type="button" name="button_setup" value="打印页面设置" class="noprint" οnclick="javascript:printsetup();">
<input type="button" name="button_show" value="打印预览" class="noprint" οnclick="javascript:printpreview();">
sss</div>
</form>
</body>
</html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title></title>
<script language="javascript">
function printsetup() {
// 打印页面设置
wb.execwb(8, 1);
}
function printpreview() {
// 打印页面预览
wb.execwb(7, 1);
}
function printit() {
// if (confirm('确定打印吗?')) {
wb.execwb(6, 2, 3)
// }
}
</script>
</head>
<body>
<object classid="CLSID:8856F961-340A-11D0-A96B-00C04FD705A2" height="0" id="wb" name="wb"
width="0">
</object>
<form id="form1" runat="server">
<div>
<input type="button" name="button_print" value="打印" class="noprint" οnclick="javascript:printit()">
<input type="button" name="button_setup" value="打印页面设置" class="noprint" οnclick="javascript:printsetup();">
<input type="button" name="button_show" value="打印预览" class="noprint" οnclick="javascript:printpreview();">
sss</div>
</form>
</body>
</html>