调用系统的打印函数。
<OBJECT classid="CLSID:8856F961-340A-11D0-A96B-00C04FD705A2" height=0 id=wb name=wb width=0></OBJECT>
<script language="javascript">
function printsetup(){
// 打印页面设置
wb.execwb(8,1);
}
function printpreview(){
// 打印页面预览
wb.execwb(9,1);
}
function printit()
{
if (confirm('确定打印吗?')) {
window.print();
}
}
function expand(id){
var Divid = eval("Layer" id)
var Imgid = eval("img" id)
if(Divid.style.display == "none"){
Divid.style.display="block"
Imgid.src="images/menu_close.gif"
}
else
Divid.style.display="none"
Imgid.src="images/menu_open.gif"
}
</script>
<OBJECT classid="CLSID:8856F961-340A-11D0-A96B-00C04FD705A2" height=0 id=wb name=wb width=0></OBJECT>
<script language="javascript">
function printsetup(){
// 打印页面设置
wb.execwb(8,1);
}
function printpreview(){
// 打印页面预览
wb.execwb(9,1);
}
function printit()
{
if (confirm('确定打印吗?')) {
window.print();
}
}
function expand(id){
var Divid = eval("Layer" id)
var Imgid = eval("img" id)
if(Divid.style.display == "none"){
Divid.style.display="block"
Imgid.src="images/menu_close.gif"
}
else
Divid.style.display="none"
Imgid.src="images/menu_open.gif"
}
</script>