ZPL-JS is a ZPL / ZPL II JavaScript library for printing to Zebra printers. It's goal is to make printing to Zebra printers as easy as possible with JavaScript while still leveraging the power of ZPL.
Note: This a rough early release. The CLI is probably not usable for you without modification. For the impatient: PR's welcome ;-)
var zpl = require('zpl');
zpl.print()
To install from github:
$ git clone https://github.com/ebpa/zpl-js
$ cd zpl-js
$ npm install
TODO: Explain dual API
It's also possible to print directly from the command line via:
$ babel-node print.js
To run the unit tests
$ npm test
You can help make this library better and more useful by:
- Submit bugs via the issue tracker here on Github
- Add printers
Find me on gitter at gitter.im/zpl-js
ZPL-JS is freely distributable under the terms of the MIT license.