Generate label and print them via brother_ql to
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Hendrik Schutter 63ba1e8d1d
Merge branch 'wait_for_printer'
2 months ago
.gitignore Initial commit 5 months ago
LICENSE Initial commit 5 months ago give hint to disable standby 4 months ago add dummy receiver for testing without hardware 4 months ago cut SN at start 2 months ago
output.png cut SN at start 2 months ago wait for printer 4 months ago
reHDDPrinter.service trigger brother_ql 4 months ago


  • Generate label and print them via brother QL-570.
  • Receive data from reHDD via IPC message queue.

Example Label

Screenshot of label


pip install qrcode sysv-ipc pycstruct brother-ql

cd /root/
git clone
cd reHDDPrinter
chmod +x
cp reHDDPrinter.service /lib/systemd/system/reHDDPrinter.service
systemctl daemon-reload
systemctl enable --now /lib/systemd/system/reHDDPrinter.service

Test printer manually

  export BROTHER_QL_PRINTER=file:///dev/usb/lp0
  export BROTHER_QL_MODEL=QL-570

brother_ql print -l 62 Untitled.png

Printer/Paper Info

  • Brother QL-570
  • Paper With: 62mm or 696px

Hint: Some Brother printers have enabled standby mode. This will disconnect the printer. See Issue #12 to disable standby.

see for details for printer access

Du besuchst diese Seite mit einem veralteten IPv4-Internetzugang. Möglicherweise treten in Zukunft Probleme mit der Erreichbarkeit und Performance auf. Bitte frage deinen Internetanbieter oder Netzwerkadministrator nach IPv6-Unterstützung.
You are visiting this site with an outdated IPv4 internet access. You may experience problems with accessibility and performance in the future. Please ask your ISP or network administrator for IPv6 support.
Weitere Infos | More Information
Klicke zum schließen | Click to close