git.schokokeks.org
Repositories
Help
Report an Issue
python-escpos-printer.git
Code
Commits
Branches
Tags
Suche
Strukturansicht:
ff31c22
Branches
Tags
main
v0.1.0
python-escpos-printer.git
README.md
initial commit
Bernd Wurst
commited
ff31c22
at 2026-11-26 17:47:00
README.md
Blame
History
Raw
# escpos-printer ESC/POS receipt printer library (USB and network). Parts of this is based on a ancient version of https://github.com/python-escpos/python-escpos ```python from escpos_printer import ESCPrinter p = ESCPrinter() # first supported USB printer p = ESCPrinter(type="network", address="192.168.1.50", port=9100, cp858=14) p.text("Hello\n") p.cut() ``` `usb_fix_script` optionally names a shell command run when USB access fails (e.g. to fix permissions). Install: `pip install .` (or `pip install git+<repo-url>`). Licensed under MIT license