diff --git a/README.md b/README.md index 522c08c..1ec25c5 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,19 @@ -### Usage +## 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 ``` \ No newline at end of file