hanwater

打印控件

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>无标题文档</title>
</head>

<body>
<OBJECT id="factory" style="DISPLAY: none" codeBase="smsx.cab#Version=6,2,433,70" classid="clsid:1663ed61-23eb-11d2-b92f-008048fdd814" viewastext></OBJECT>
<input onclick="factory.printing.Print(true, idFrame)" type="button" value="打印" class="btn">
<input onclick="factory.printing.PageSetup()" type="button" value="打印设置" class="btn">
<iframe name="idFrame" src="http://www.baidu.com" width="100%" height="550" frameBorder=0 marginwidth="0" marginheight="0">
</iframe>
</body>
</html>

分类:

技术点:

相关文章: