longjinbo / zpl-js

(work in progress) ZPL / ZPL II JavaScript library for printing to Zebra printers

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ZPL-JS

Join the chat at https://gitter.im/ebpa/zpl-js

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()

Installation

To install from github:

$ git clone https://github.com/ebpa/zpl-js
$ cd zpl-js
$ npm install

API Reference

TODO: Explain dual API

CLI Interface

It's also possible to print directly from the command line via:

$ babel-node print.js

Tests

To run the unit tests

$ npm test

Contributors

You can help make this library better and more useful by:

Getting Help

Find me on gitter at gitter.im/zpl-js

License

ZPL-JS is freely distributable under the terms of the MIT license.

About

(work in progress) ZPL / ZPL II JavaScript library for printing to Zebra printers

License:MIT License


Languages

Language:JavaScript 100.0%