日期:2014-05-17 浏览次数:20702 次
<object id="factory" viewastext style="display:none" classid="clsid:1663ed61-23eb-11d2-b92f-008048fdd814" codebase="smsx.cab#Version=6,3,434,26"></object> <style> @media print { .noprint {display:none} } .STYLE2 { font-size: 18px; font-weight: bold; } </style> <td class="noprint" align="right"><img src="" align="right" style="cursor:hand"onClick="set_print()"></td> <script language="javascript"> function set_print() { factory.printing.header = ""; factory.printing.footer = ""; factory.printing.portrait = 1; //1为纵向打,0为横向打 factory.printing.leftMargin = 13; //左边距 factory.printing.topMargin = 20; //右边距 factory.printing.Print(false); } </script>
------解决方案--------------------
单存的打印好弄 期待楼主的问题能解决 顶了
------解决方案--------------------
既然都装了,你就象调本一台真实打印机那样调用就行了.输出文件名的问题查其它资料.