1、jsp开发
2、 <object id="factory" style="margin:0px 0px 0px 0px;" onunload="PageSetup_Null();" classid="clsid:1663ed61-23eb-11d2-b92f-008048fdd814" codebase="../js/smsx.cab#Version=6,5,439,50"></object>
<OBJECT id="WebBrowser" classid="CLSID:8856F961-340A-11D0-A96B-00C04FD705A2" height="0" width="0" VIEWASTEXT></OBJECT>
3、<input type="button" value="打印预览..." onclick="SetPrintSettings()">
4、 <script defer>
function SetPrintSettings() {
factory.printing.paperSize = "A4";//在这里出错,想控制纸张尺寸,增加这句就出错,Invalid or missing publishing license. Please report to Mead & Company at [email protected],不加这句能够正常执行
factory.printing.header = "";
factory.printing.footer = "";
factory.printing.portrait = false; //方向,true
factory.printing.leftMargin = 1;
factory.printing.topMargin = 1.0;
factory.printing.rightMargin = 1;
factory.printing.bottomMargin = 1.0;
factory.printing.Preview();
}
</script>这是什么问题?
2、 <object id="factory" style="margin:0px 0px 0px 0px;" onunload="PageSetup_Null();" classid="clsid:1663ed61-23eb-11d2-b92f-008048fdd814" codebase="../js/smsx.cab#Version=6,5,439,50"></object>
<OBJECT id="WebBrowser" classid="CLSID:8856F961-340A-11D0-A96B-00C04FD705A2" height="0" width="0" VIEWASTEXT></OBJECT>
3、<input type="button" value="打印预览..." onclick="SetPrintSettings()">
4、 <script defer>
function SetPrintSettings() {
factory.printing.paperSize = "A4";//在这里出错,想控制纸张尺寸,增加这句就出错,Invalid or missing publishing license. Please report to Mead & Company at [email protected],不加这句能够正常执行
factory.printing.header = "";
factory.printing.footer = "";
factory.printing.portrait = false; //方向,true
factory.printing.leftMargin = 1;
factory.printing.topMargin = 1.0;
factory.printing.rightMargin = 1;
factory.printing.bottomMargin = 1.0;
factory.printing.Preview();
}
</script>这是什么问题?
解决方案 »
- DwrUserBean找不到,请高手指点
- 子页面,父页面问题
- 如何获取js键值映射数组的length
- js去空字符串的办法
- 请教高手——如何使用正则表达式判断格式为“mm/dd/yyyy”(类似"20/7/2006")的字符串,利马给分,多谢了!!
- 为什么我的alert没任何反应而alert2能执行alert("a")!在线等
- 想知道jsp和javascript如何结合。
- 请问showModalDialog()函数show出来的页面能交互吗???
- 请教一个关于闭包的写法
- JavaScript上style.left的问题
- JS中有Sleep() 和 DoEvent吗?
- 为什么鼠标悬浮到“客户中心”时出现错误?虚心请教!
猜测ING
你写那句是要花钱买的