From 5f92bc1a6f2d7004c88a9f8a4662d3577052ef36 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Wed, 16 Oct 2019 20:25:43 +0200 Subject: erzeuge-Barcodes neu --- .gitignore | 1 + erzeuge-Barcodes | 10 ++++++++++ 2 files changed, 11 insertions(+) create mode 100644 .gitignore create mode 100755 erzeuge-Barcodes diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..22bee2e --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +bc.* diff --git a/erzeuge-Barcodes b/erzeuge-Barcodes new file mode 100755 index 0000000..dfed51e --- /dev/null +++ b/erzeuge-Barcodes @@ -0,0 +1,10 @@ +#!/bin/bash + +{ + printf 'SELECT `Barcode` FROM `%s`;\n' \ + 'Schrauben' 'Muttern' 'Unterlegscheiben' +} \ +| mysql -N --raw --batch \ +| barcode -n -u mm -t5x10+0+20 -o bc.ps + +ps2pdf bc.ps -- cgit v1.2.3-70-g09d2