mirror of
https://github.com/emi420/esc-pos-server-print.git
synced 2025-12-13 08:02:24 +00:00
681 B
681 B
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