摘要: 原理:通过Js调用IE浏览器打印工具,直接调用本机打印机打印。<script language="javascript"> function doPrint() { bdhtml = window.document.body.innerHTML; sprnstr = "<!--startprint-->"; eprnstr = "<!--endprint-->"; prnhtml = bdhtml.substr(bdhtml.indexOf(sprnstr) + 17); prnhtml = prn 阅读全文
posted @ 2012-12-20 16:42 Mr.邹 阅读(1546) 评论(0) 推荐(0) 编辑