Hi I am trying to print the barcode using ZPL command by following the same approach "Generic/Text only" but it is printing empty label and also it is working in IE only. Can any one please help me to print a barcode using ZPL commands to ZPL printer from browser. please find the sample code snippet here under <div id="raw"> <pre> ^XA^CFE^PR12^FS ^BY2^BCN,100,N^FO090,0100^FDHF9XI7A^FS ^XZ </pre> </div> <input onclick="varitext()" type="button" value="Print" /> Script function varitext(text) { text = document.getElementById('raw'); print(text.textContent) }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)