mirror of
https://github.com/emi420/esc-pos-server-print.git
synced 2025-12-23 08:09:25 +00:00
647 B
647 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'
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