Initial commit: Brother QL USB-to-Network Bridge

- TCP server exposing USB Brother QL printers on port 9100
- Supports all Brother QL series label printers
- Async architecture for handling concurrent print jobs
- Raspberry Pi deployment script and systemd service
- Documentation for setup and InvenTree integration
This commit is contained in:
timmyhadwen
2025-12-21 16:46:14 +10:00
commit 4010ffc01b
7 changed files with 585 additions and 0 deletions

15
config.py Normal file
View File

@@ -0,0 +1,15 @@
"""Configuration for Brother QL Bridge."""
# TCP server settings
TCP_HOST = "0.0.0.0" # Listen on all interfaces
TCP_PORT = 9100 # Standard raw printing port
# USB printer settings
# Set to None for auto-detection, or specify like "usb://0x04f9:0x2028"
USB_DEVICE = None
# Printer model (used for brother_ql compatibility)
PRINTER_MODEL = "QL-570"
# Logging
LOG_LEVEL = "INFO"