Αναζήτηση στην υποστήριξη

Προσοχή στις απάτες! Δεν θα σας ζητήσουμε ποτέ να καλέσετε ή να στείλετε μήνυμα σε κάποιον αριθμό τηλεφώνου ή να μοιραστείτε προσωπικά δεδομένα. Αναφέρετε τυχόν ύποπτη δραστηριότητα μέσω της επιλογής «Αναφορά κατάχρησης».

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 !