mirror of
https://github.com/emi420/esc-pos-server-print.git
synced 2025-12-11 15:12:23 +00:00
master
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%