No description
Find a file
2020-04-10 15:18:31 +02:00
fonts initial commit 2020-04-05 22:46:22 +02:00
address-label.py add shell wrapper 2020-04-07 14:24:52 +02:00
address-label.sh install python requirements in address-label.sh 2020-04-10 15:18:31 +02:00
README.md use variables in usage examples 2020-04-10 15:17:58 +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