Cross browser compatability issues with ZPL command

Y Yamanthak Kattegummula 2 years 11 months ago
18 1 0

  Hi,

The below code is working in chrome and firefox but it its not working in IE 11 browser. we are trying to print the plain text on the labels using the zebra printer ZT220 on client side printer.

Please help me on this issue resolved.

  Pr...

  Print ZPLfrom browser

  Test page forprint ZPL from browser!
 
    functionprintZpl(zpl) {
      var printWindow =window.open();printWindow.document.open('text/plain')     printWindow.document.write(zpl);     printWindow.document.close();     printWindow.focus();
      printWindow.print();     printWindow.close();
    }
 

^XA       
^FXTest ZPL^FS
^FO50,100
^A0N,89^FDHello ZPL^FS
^XZ
 

Please register or login to post a reply

1 Replies

V Vedsatx Saddvv

Hi, I'm thinking this is the CORS issue:
Robin

CONTACT
Can’t find what you’re looking for?