弹出打印窗口的一个方法
发布时间:2015-05-12 来源:查字典编辑
摘要:functionwindow.onload(){factory.printing.header="-"factory.printing.fo...
<OBJECT id=factory style="DISPLAY: none" codeBase=http://www.meadroid.com/scriptx/ScriptX.cab#Version=5,60,0,360
classid=clsid:1663ed61-23eb-11d2-b92f-008048fdd814 viewastext></OBJECT>
<script defer>
function window.onload() {
factory.printing.header = "-"
factory.printing.footer = "-"
factory.printing.Print(true)
factory.printing.leftMargin = 0.2
factory.printing.topMargin = 0.5
factory.printing.rightMargin = 0.2
factory.printing.bottomMargin = 1.5
}