<
script language
=
"
javascript
"
>
<!--
function
PrintNote()
{
var
PrintWin
=
window.open(
'
about:blank
'
,
'
Print
'
);
PrintWin.document.write(
'
<object id="WebBrowser" width=0 height=0 classid="CLSID:8856F961-340A-11D0-A96B-00C04FD705A2"></object>
'
+
document.all(
"
PrintContent
"
).innerHTML);
PrintWin.document.all.WebBrowser.ExecWB(
7
,
1
);
PrintWin.close();
}
-->
<
/
script>
转载于:https://www.cnblogs.com/gaohades/archive/2008/10/12/1309552.html