summaryrefslogtreecommitdiff
path: root/erzeuge-Barcodes
blob: 86d23e14749ebedce43e4c85dd651e6375e2fb06 (plain)
1
2
3
4
5
6
7
8
9
10
#!/bin/bash

{
  printf 'SELECT `Barcode` FROM `%s`;\n' \
    'Schrauben' 'Muttern' 'Unterlegscheiben'
} \
| mysql -N --raw --batch \
| barcode -n -u mm -t 5x10+7+30 -o bc.ps

ps2pdf bc.ps