gelinger777 / escpos-tools
PHP Packager compose
Installs: 133
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 85
pkg:composer/gelinger777/escpos-tools
Requires
- mike42/escpos-php: ^1.5
 - squizlabs/php_codesniffer: ^2.8
 
- dev-master
 - 1.0.1
 - 1.0
 - dev-feature/13-textsize
 - dev-feature/44-package-def
 - dev-feature/text-invert-cmds
 - dev-feature/50-raster-bit-image
 - dev-feature/32-colformat
 - dev-feature/relative-vert-position
 - dev-feature/mdcheckr
 - dev-feature/docs
 - dev-mike42-patch-1
 - dev-bugfix/img-spacing
 - dev-feature/recognise-image-commands
 - dev-bugfix/unrecognised-commands
 - dev-feature/11-alignment
 - dev-feature/01-contributing
 - dev-feature/08-double-width
 - dev-feature/09-emphasis
 - dev-feature/reuse-parser-for-html
 
This package is auto-updated.
Last update: 2025-10-14 05:29:20 UTC
README
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.
Quick start
This project is requires:
- PHP 5.6 or better
 - The 
mbstringandimagickextensions - composer
 
To install from source:
git clone https://github.com/receipt-print-hq/escpos-tools
cd escpos-tools
composer install
Included utilities
esc2text
esc2text extracts text and line breaks from binary ESC/POS files.
esc2html
esc2html converts binary ESC/POS files to HTML.
escimages
escimages extracts graphics from binary ESC/POS files in PBM and PNG format.