IE打印时,怎样才能让不弹出打印对话框?

IE打印时,怎样才能让不弹出打印对话框?请问用程序怎么控制
---------------------------------------------------------------

直接打印

1<object classid="CLSID:8856F961-340A-11D0-A96B-00C04FD705A2" height="0" id="WebBrowser" width="0"></object>
1<input onclick="document.all.WebBrowser.ExecWB(6,1)" type="button" value="打印"/>
1<input onclick="document.all.WebBrowser.ExecWB(6,6)" type="button" value="直接打印"/>
1<input onclick="document.all.WebBrowser.ExecWB(8,1)" type="button" value="页面设置"/>
1<input onclick="document.all.WebBrowser.ExecWB(7,1)" type="button" value="打印预览"/>
Published At
Categories with Web编程
comments powered by Disqus