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
|
|
|
|
2020-04-10 15:17:58 +02:00
|
|
|
MEMBERFILE="../Vorstand/stammdaten-formular/example.json"
|
|
|
|
jq -r .stammdaten.address_label $MEMBERFILE | 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
|
|
|
|
|
2020-04-10 15:17:58 +02:00
|
|
|
MEMBERFILE="../Vorstand/stammdaten-formular/example.json"
|
|
|
|
jq -r .stammdaten.address_label $MEMBERFILE | address-label.sh
|
2020-04-05 22:46:22 +02:00
|
|
|
```
|