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.
tux 00f562de88 Merge pull request 'add-printing' (#1) from add-printing into master 1 year ago
fonts initial commit 1 year ago
README.md fix usage examples 1 year ago
address-label.py fix fontsizes and label dimensions 1 year ago
address-label.sh remove c'n'p artefact 1 year ago
requirements.txt add printer api to requirements 1 year ago

README.md

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