add label batch printing script

This commit is contained in:
Sebastien Bourdeauducq 2021-01-13 15:37:08 +08:00
parent efc8e52655
commit a327ac5f8a
1 changed files with 7 additions and 0 deletions

7
make_labels.sh Executable file
View File

@ -0,0 +1,7 @@
#!/usr/bin/env bash
for i in $(seq -f "%03g" 1 50)
do
convert -background white -fill black -monochrome +dither +antialias -font Intro -pointsize 28 label:M-Labs\ 002\ $i label.pbm
cat label.pbm |./klg2 -t 6
done