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 2 years ago
fonts initial commit 2 years ago
README.md fix usage examples 2 years ago
address-label.py fix fontsizes and label dimensions 2 years ago
address-label.sh remove c'n'p artefact 2 years ago
requirements.txt add printer api to requirements 2 years 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