No description
Find a file
2024-10-15 14:27:26 +00:00
fonts initial commit 2020-04-05 22:46:22 +02:00
address-label.py fix fontsizes and label dimensions 2020-04-10 16:11:21 +02:00
address-label.sh remove c'n'p artefact 2020-04-10 16:21:07 +02:00
README.md fix usage examples 2020-04-10 16:11:36 +02:00
renovate.json Add renovate.json 2023-07-29 19:36:54 +00:00
requirements.txt Update dependency Pillow to v11 2024-10-15 14:27:26 +00:00

Usage

Generate Address-Label

echo "Max Hackerberg\nLeibnizstr. 32\n39104 Magdeburg" | python address-label.py

MEMBERFILE="../Vorstand/stammdaten-formular/example.json"
jq -r .stammdaten.address_label $MEMBERFILE | python address-label.py

Print label

Needs to be in the same network as the printer.

echo "Max Hackerberg\nLeibnizstr. 32\n39104 Magdeburg" | ./address-label.sh

MEMBERFILE="../Vorstand/stammdaten-formular/example.json"
jq -r .stammdaten.address_label $MEMBERFILE | ./address-label.sh