Cross browser compatability issues with ZPL command

Y Yamanthak Kattegummula 3 years 6 months ago
27 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

Y Yanis Dalabiras

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

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