高志远高志欣赵敏高芳:asp.net的打印代码寻求解释,详细点的

来源:百度文库 编辑:高校问答 时间:2024/05/07 11:26:30
代码如下,<center class="Noprint" >
<p>
<object id="WebBrowser"classid="CLSID:8856F961-340A-11D0-A96B-0004
FD705A2" style="height:0; width:0;">
</object>
<input type="button" value=”打印" onclick="document.all.
WebBrowser.ExecWB(6,1)" />
<input type=”button” value=”直接打印” onclick=”document.all.
WebBrowser.ExecWB(6,6)”/>
<input type="button" value="页面设置" onclick="document.all.
WebBrowser.ExecWB(8,1)" />
<input type="button" value=打印预缆" onclick="document.all.
WebBrowser.ExecWB(7,1)" />
<input type="button" value="关闭" onclick="if(confirm('关闭?'))document.all.WebBrowser.ExecWB(45,1);" />
</p>
<p><input type="button" value="打印预览"onclick="document.all.
WebBrowser.ExecWB(7,1)" />
能一句一句地解释吗