摘要:
原理:通过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 阅读全文