How can I call the printer to print and set the paper type?
-------------------------------------------------- -------------
<OBJECT id="WebBrowser" height="0" width="0" classid="CLSID:8856F961-340A-11D0-A96B-00C04FD705A2"></OBJECT>
<script language="javascript">
function frmLoad()
{
WebBrowser.ExecWB(8,1);
WebBrowser.ExecWB(6,6);
}
</script>
-------------- -------------------------------------------------
Direct Call IE's print settings;
window.print();
-------------------------------------- -------------------------
<OBJECT classid=CLSID:8856F961-340A-11D0-A96B-00C04FD705A2 id=WebBrowser>
</OBJECT>
<
self.focus();
WebBrowser.ExecWB(6,2);
</script>
---------------------------------------------------------------
Ie 6 not support WebBrowser
Please indicate the source for reprinting: http://blog.csdn.net/21aspnet/archive/2004/10/30/160085.aspx