QZ.io - Print to popular hardware
Content Type: Module
Categories: Import/Export
Overview
This module uses ZPL (Zebra Printing Language) to print to popular Zebra hardware and uses the https://qz.io/ software to print from your browser.
Documentation
1. Introduction
Print QR codes and text in this example to a (Zebra) printer from your browser.
2. Usage
2.1 Installation
- Install dependencies
- Community Commons ( https://marketplace.mendix.com/link/component/170 )
- QR Code Generator ( https://marketplace.mendix.com/link/component/45725 )
- Download and install from https://qz.io/download/
- Download Node JS (if not already installed) https://nodejs.org/en/download/
- Run npm install qztray sha ws in the folder javascriptsource\QZTray\actions if node_modules is not available in the directory.
2.2 Test with a printer emulator
- Go to https://qz.io/wiki/printeremulators
- Install the ZPL Emulator (Chrome app) at https://chrome.google.com/webstore/detail/zplprinter/phoidlklenidapnijkabnfdgmadlcmjo/related?hl=en-US
- Note: Increase the buffer to something large (e.g. 50000B) to print. Sometimes if the data is too big the emulator will not work (see https://stackoverflow.com/questions/33066789/emulatezpl-printer#answer-60148675 )
- Set the emulator to ON (after every setting)
- Fill in a example text and print you QR code + text
Releases
Version: 1.0.0
Framework Version: 8.13.2
Release Notes: First release