mirror of
https://github.com/brmlab/misc.git
synced 2025-06-07 17:34:08 +02:00
Coz takhle vyuzit GNU Barcode?
This commit is contained in:
parent
e14762188f
commit
61e01a6611
1 changed files with 13 additions and 0 deletions
13
barcodes.sh
Normal file
13
barcodes.sh
Normal file
|
@ -0,0 +1,13 @@
|
|||
#!/bin/bash
|
||||
#Jentak pro inspiraci, prijde mi to elegantnejsi nez ten python... ~harvie
|
||||
|
||||
#Rozmery stitku se upravuji tady:
|
||||
TABLE='-p A4 -t 3x8+10+0-10-0'
|
||||
MAX=$(( 3*8-1 ))
|
||||
|
||||
#Dalsi konfigurace
|
||||
GEOMETRY=''
|
||||
ENCTYPE=code128b
|
||||
PREFIX="$(date +%s)BRM"
|
||||
|
||||
barcode -e $ENCTYPE $GEOMETRY $TABLE $(for i in $(seq 0 $MAX); do echo -b $PREFIX$i; done)
|
Loading…
Add table
Add a link
Reference in a new issue