19 lines
No EOL
484 B
Markdown
19 lines
No EOL
484 B
Markdown
## 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
|
|
``` |