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
README.md give hint to disable standby 4 months ago
dummy_receiver.py add dummy receiver for testing without hardware 4 months ago
layouter.py cut SN at start 2 months ago
output.png cut SN at start 2 months ago
reHDDPrinter.py wait for printer 4 months ago
reHDDPrinter.service trigger brother_ql 4 months 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

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

see https://github.com/pklaus/brother_ql 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