mirror of
https://github.com/emi420/esc-pos-server-print.git
synced 2025-12-19 18:29:26 +00:00
dcf6b67ea19199da9dd4677be2c81b0f80a30112
ESC-POS Server Print
Simple web server for print using ESC-POS.
Install and run
- Install requirements 'pip install -r reqs.txt'
- Run 'python server.py'
- Open 'http://localhost:8001/?h1=ABC123&h2=Testing&p=Lorem%20ipsum.'
Not printing?
Check the port configuration in server.py:
SERIAL = '/dev/ttyUSB0'
SPEED = 38400
DENSITY = 3
License
You may use this project under the terms of either the MIT License or the GNU General Public License (GPL) Version 3.
(c) 2016 Emilio Mariscal
Description
Languages
Python
100%