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 12a4da0902 add dummy receiver for testing without hardware 1 week ago
.gitignore Initial commit 4 weeks ago
LICENSE Initial commit 4 weeks ago
README.md added label img 1 week ago
dummy_receiver.py add dummy receiver for testing without hardware 1 week ago
layouter.py error handling and refactor 1 week ago
output.png receive data via IPC msg queue 1 week ago
reHDDPrinter.py trigger brother_ql 1 week ago
reHDDPrinter.service trigger brother_ql 1 week ago

README.md

reHDDPrinter

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

Example Label

Screenshot of label

Install

pip install qrcode sysv-ipc pycstruct brother-ql

cd /root/
git clone https://git.mosad.xyz/localhorst/reHDDPrinter.git
cd reHDDPrinter
chmod +x reHDDPrinter.py
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

see https://github.com/pklaus/brother_ql

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