mirror of
https://github.com/rickbarrette/redmine_qbo_label_agent.git
synced 2026-11-17 18:10:36 -05:00
Print agent for redmine_qbo_labels
Runs on the label printer's network, asks Redmine for labels every couple of seconds (Bearer token from Administration » Label printers), draws them like the print dialog's preview, and prints them on a Brother QL printer over TCP 9100. Finds the printer on the network over Bonjour/mDNS (or PRINTER), checks its status before each label and every minute, and reports back printed or failed with the printer's error. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
commit
e5ca5b6980
20 files changed
+1054
No files matched your search
@@ -0,0 +1,16 @@
|
||||
# Runs the print agent on a computer on the label printer's network.
|
||||
# REDMINE_URL and AGENT_TOKEN come from Administration » Label printers in Redmine.
|
||||
services:
|
||||
label-agent:
|
||||
build: .
|
||||
restart: always
|
||||
# Host networking lets the agent find the printer on the local network (Bonjour/mDNS)
|
||||
network_mode: host
|
||||
environment:
|
||||
REDMINE_URL: https://redmine.example.com
|
||||
AGENT_TOKEN: qbl_paste-the-token-here
|
||||
PRINTER_MODEL: QL-820NWB
|
||||
# Optional: skip the network search and use this printer
|
||||
# PRINTER: tcp://192.168.0.100
|
||||
# DEBUG, INFO or WARNING
|
||||
LOG_LEVEL: INFO
|
||||
Reference in new issue
Block a user