| .idea | initial commit | 2026-11-26 17:47:00 |
|---|---|---|
| src | initial commit | 2026-11-26 17:47:00 |
| tests | initial commit | 2026-11-26 17:47:00 |
| LICENSE | MIT license included | 2026-11-26 17:47:29 |
| README.md | initial commit | 2026-11-26 17:47:00 |
| pyproject.toml | initial commit | 2026-11-26 17:47:00 |
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
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