我打开PDF并在新窗口中显示当单击打印机图标时,将显示PDF并调用打印机。这在Chrome中运行良好,但在IE中却不行。
$("#printPDF").on("click", function() {
var url = setPDFRequest();
var win = window.open(url, '', "menubar=0,location=0,resizable=1,height=600,width=600");
win.focus();
win.print();
}