21 lines
No EOL
538 B
Markdown
21 lines
No EOL
538 B
Markdown
## Usage
|
|
|
|
### Generate Address-Label
|
|
|
|
```bash
|
|
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.
|
|
|
|
```bash
|
|
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
|
|
``` |