No description
Find a file
2020-04-10 16:21:07 +02: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
requirements.txt add printer api to requirements 2020-04-07 14:24:28 +02: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