搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

Learn More

Hi All, I am using a Thermal Printer for printing bills during billing process. But the problem am facing with mozilla is that it prints blank page.although its working fine with IE.

  • 1 个回答
  • 1 人有此问题
  • 13 次查看
  • 最后回复者为 Dharuv

more options

Code am using is given below :

var DocumentContainer = document.getElementById('printPO'); var WindowObject = window.open(, "printarea", "width=560,height=350,top=10,left=150,toolbars=no,scrollbars=yes,status=no,resizable=no"); var temp=DocumentContainer.innerHTML; temp = temp.replace('Print Bill',); WindowObject.document.writeln(temp); WindowObject.document.close(); WindowObject.focus(); WindowObject.print(); WindowObject.close();

Code am using is given below : var DocumentContainer = document.getElementById('printPO'); var WindowObject = window.open('', "printarea", "width=560,height=350,top=10,left=150,toolbars=no,scrollbars=yes,status=no,resizable=no"); var temp=DocumentContainer.innerHTML; temp = temp.replace('Print Bill',''); WindowObject.document.writeln(temp); WindowObject.document.close(); WindowObject.focus(); WindowObject.print(); WindowObject.close();

由Dharuv于修改

所有回复 (1)

more options

Please help me to get rid of this problem !