<object ID="WebBrowser1" WIDTH="0" HEIGHT="0"
CLASSID="CLSID:8856F961-340A-11D0-A96B-00C04FD705A2">
</object>
<input type=button name=print value="print" onclick="WebBrowser1.ExecWB(6,1)">
<input type=button name=print value="printview" onclick="WebBrowser1.ExecWB(7,1)">
CLASSID="CLSID:8856F961-340A-11D0-A96B-00C04FD705A2">
</object>
<input type=button name=print value="print" onclick="WebBrowser1.ExecWB(6,1)">
<input type=button name=print value="printview" onclick="WebBrowser1.ExecWB(7,1)">
打印我知道有 window.print
打印预览和页面设置有没有对应的js方法?
@media print {
.ipt {display:none}
}
</style>
<input class="ipt" value=printvew type=button>
<input class="ipt" value=print type=button>
<input class="ipt" value=setup type=button>