update readme

This commit is contained in:
David Kilias 2020-04-07 14:27:49 +02:00
parent 735dded69b
commit 240307f316

View file

@ -1,7 +1,19 @@
### Usage
## Usage
### Generate Address-Label
```bash
echo "Max Hackerberg\nLeibnizstr. 32\n39104 Magdeburg" | python address-label.py
jq -r .stammdaten.address_label ../Vorstand/stammdaten-formular/example.json | python address-label.py
```
### Print label
Needs to be in the same network as the printer.
```bash
echo "Max Hackerberg\nLeibnizstr. 32\n39104 Magdeburg" | address-label.sh
jq -r .stammdaten.address_label ../Vorstand/stammdaten-formular/example.json | address-label.sh
```