萬盛學電腦網

 萬盛學電腦網 >> 網頁制作 >> 腳本Html教程 >> 彈出打印窗口的一個方法

彈出打印窗口的一個方法

  <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 

copyright © 萬盛學電腦網 all rights reserved