This commit is contained in:
raven 2023-05-06 23:24:08 +02:00
commit 63b22a8d2b
Signed by: raven
GPG Key ID: 7B8469C2D00594A1
3 changed files with 94 additions and 0 deletions

6
README.md Normal file
View File

@ -0,0 +1,6 @@
# Kitchen Name-Labels
Quick Label-Generator for example Kitchenpartys.
Type a Name and you get an PNG-File with the Name of an Kitchen-Member.
After that print it with Brother.

11
names.sh Executable file
View File

@ -0,0 +1,11 @@
#!/bin/bash
brother_ip="172.23.3.74"
read -p "Name: " name
read -p "Number: " number
cat names.svg | sed "s/--Name--/$name/g" | sed "s/--Number--/$number/g" >tmp.svg
convert tmp.svg names.png
brother_ql -b network -m QL-820NWB -p tcp://$brother_ip:9100 print -l 29 -r 90 names.png

77
names.svg Normal file

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 35 KiB