Overview
Allow to send / print ZPL format commands to network .ZPL printer
Allow to print any raw data from JavaScript at any opened page directly to any .ZPL printer like Zebra Usage: Print barcode 1234567 window.postMessage( { type: "zpl", cmd: "print", printer: 'http://127.0.0.1:9100', raw: "^XA^FO50,50^B8N,100,Y,N^FD1234567^FS^XZ" }); Listen extension: window.addEventListener("message", function (event){ if (event.data && event.data.type && event.data.type == 'from_zpl_ext') { // receive version of extension if exists if (event.data.cmd === 'version') { ZPL_EXTENSION_VERSION = event.data.value; return; } // receive status of printing if (event.data.cmd === 'status') { console.log(event.data) return; } } }, false);
Details
- Version1.1.1
- UpdatedApril 20, 2023
- Offered byAlexander Neverovsky
- Size17.06KiB
- LanguagesEnglish
- Developer
Email
neverovsky@gmail.com - Non-traderThis developer has not identified itself as a trader. For consumers in the European Union, please note that consumer rights do not apply to contracts between you and this developer.
Privacy
This developer declares that your data is
- Not being sold to third parties, outside of the approved use cases
- Not being used or transferred for purposes that are unrelated to the item's core functionality
- Not being used or transferred to determine creditworthiness or for lending purposes