2020-04-07 14:27:49 +02:00
|
|
|
## Usage
|
|
|
|
|
|
|
|
### Generate Address-Label
|
2020-04-05 22:46:22 +02:00
|
|
|
|
|
|
|
```bash
|
|
|
|
echo "Max Hackerberg\nLeibnizstr. 32\n39104 Magdeburg" | python address-label.py
|
2020-04-07 14:05:00 +02:00
|
|
|
|
|
|
|
jq -r .stammdaten.address_label ../Vorstand/stammdaten-formular/example.json | python address-label.py
|
2020-04-07 14:27:49 +02:00
|
|
|
```
|
|
|
|
|
|
|
|
### 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
|
2020-04-05 22:46:22 +02:00
|
|
|
```
|