Stars: 173
Forks: 57
Pull Requests: 33
Issues: 44
Watchers: 13
Last Updated: 2023-08-21 18:22:22
Utilities to read ESC/POS print data
License: MIT License
Languages: PHP, CSS
This repository provides command-line utilities for extracting information from binary ESC/POS data. ESC/POS is a page description language that is commonly used for receipt printing.
Currently we have a prototype ESC/POS parser, which can extract the commands contained in printable ESC/POS binary data, and render them to various formats.
This project is requires:
mbstring
and imagick
extensionsTo install from source:
git clone https://github.com/receipt-print-hq/escpos-tools
cd escpos-tools
composer install
esc2text
extracts text and line breaks from binary ESC/POS files.
esc2html
converts binary ESC/POS files to HTML.
escimages
extracts graphics from binary ESC/POS files in PBM and PNG format.