From 240307f316230749b34ade55963781beee718e1e Mon Sep 17 00:00:00 2001 From: David Kilias Date: Tue, 7 Apr 2020 14:27:49 +0200 Subject: [PATCH] update readme --- README.md | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) 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