ScriptX IE打印 页面自适应 大小 适用于IE7一下的web打印

来源:互联网 发布:英雄连2网络 编辑:程序博客网 时间:2024/06/11 19:55

ScriptX版本6.3,可能支持放大缩小,这样在IE7一下就可以使用 “缩小字体填充” 这个只有在IE7才提供的功能了
使用方法:

<OBJECT id="factory" style="DISPLAY: none" codeBase="smsx.cab#VVersion=6,5,439,50"  classid="clsid:1663ed61-23eb-11d2-b92f-008048fdd814" viewastext></OBJECT>

 

function setPrintTemplate()
{
 factory.printing.templateURL = "MeadCo://IE7";
}

 

<center class="Noprint"> 
<input type=button onclick="factory.printing.Print(true);"  value="打印" >   
<input type=button onclick="factory.printing.PageSetup();" value="页面设置" >   
<input type=button onclick="factory.printing.Preview();" value="打印预览" >             
<input type="button" value="关闭" > 
</center>

 

下载地址 : http://www.meadroid.com/scriptx/indexdocs.asp