Files
brother-ql-bridge/config.py
timmyhadwen 4010ffc01b 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
2025-12-21 16:46:14 +10:00

16 lines
388 B
Python

"""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"