update readme
This commit is contained in:
parent
735dded69b
commit
240307f316
1 changed files with 13 additions and 1 deletions
14
README.md
14
README.md
|
@ -1,7 +1,19 @@
|
||||||
### Usage
|
## Usage
|
||||||
|
|
||||||
|
### Generate Address-Label
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
echo "Max Hackerberg\nLeibnizstr. 32\n39104 Magdeburg" | python address-label.py
|
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
|
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
|
||||||
```
|
```
|
Loading…
Reference in a new issue