浏览器支持打印-即web打印

document.getElementById('printIframe').contentWindow.document.body.innerHTML = "<html><body><img src='" + this.img_object._img[0].src + "'></img></body></html>";
                document.getElementById('printIframe').contentWindow.focus();
                document.getElementById('printIframe').contentWindow.print();

猜你喜欢

转载自he3109006290.iteye.com/blog/2085927
今日推荐