Skip to content
This repository has been archived by the owner on Jul 5, 2023. It is now read-only.

Latest commit

 

History

History
23 lines (15 loc) · 587 Bytes

README.md

File metadata and controls

23 lines (15 loc) · 587 Bytes

escpos-cli

escpos-cli is a command-line utility for printing stuff using pyxmlescpos

Installing

pip2 install -U git+https://github.com/kalmanolah/escpos-cli.git

Usage

From the command line:

$ escpos-cli --device-vendor-id 0x04b8 --device-product-id 0x0e15 '<receipt><h1 align="center">Test Receipt!</h1><line/></receipt>'

Dependencies

This utility depends on pyxmlescpos. Currently, my fork located here is used since it adds additional support for QR codes.