The receipt printer application
Go to file
2026-04-29 11:51:07 +02:00
.gitignore add receipt printer code 2025-04-02 08:55:43 +02:00
init_printer.py add receipt printer code 2025-04-02 08:55:43 +02:00
logo.png add receipt printer code 2025-04-02 08:55:43 +02:00
main.py Make USB printer more resilient 2026-04-29 11:51:07 +02:00
post_request_tester.py add receipt printer code 2025-04-02 08:55:43 +02:00
README.md update docs 2026-04-12 13:43:36 +02:00
receipt-printer.service add systemd service file 2026-04-12 13:40:38 +02:00
requirements.txt fix text centering, add automatic second copy 2026-04-12 13:37:13 +02:00

Receipt Printer

This software is designed to run on a debian based system and acts as a middle-man between the EZGG LAN Manager database and the USB interface of the receipt printer.

Notes

  • Does only work on Linux
  • Not meant to be exposed to the internet, local deployment only
  • For EZGG LAN Manager configuration, check README in that repo

Deploy

  1. Configure password and port in main.py
  2. Make sure USB printer is connected to device
  3. Install requirements in venv
  4. Adapt receipt-printer.service as needed and move to ~/.config/systemd/user
  5. Enable unit in systemd:
systemctl --user daemon-reexec
systemctl --user daemon-reload
systemctl --user enable receipt-printer
systemctl --user start receipt-printer