cp scantopdf build/$PACKAGENAME/usr/local/bin/scantopdf
cp scantopdfgray build/$PACKAGENAME/usr/local/bin/scantopdfgray
cp scantopdfbw build/$PACKAGENAME/usr/local/bin/scantopdfbw
+ cp generate-trennblatt build/$PACKAGENAME/usr/local/bin/generate-trennblatt
mkdir -p build/$PACKAGENAME/DEBIAN
cp control build/$PACKAGENAME/DEBIAN/control
Version: 1.0.0
Architecture: amd64
Maintainer: Bastian Dehn <hhaalo@arcor.de>
-Depends: sane (>= 1.0.14), qpdf (>= 11.3.0), pdftk (>= 2.02), libtiff-tools (>= 4.5.0), ocrmypdf (>= 14.0.1), tesseract-ocr-deu (>= 4.1.0), zbar-tools (>= 0.23.92), dmtx-utils (>= 0.7.6)
+Depends: sane (>= 1.0.14), qpdf (>= 11.3.0), pdftk (>= 2.02), libtiff-tools (>= 4.5.0), ocrmypdf (>= 14.0.1), tesseract-ocr-deu (>= 4.1.0), zbar-tools (>= 0.23.92), dmtx-utils (>= 0.7.6), qrencode (>= 4.1.), librsvg2-bin (>= 2.54.7)
Description: scan to pdf with ocr scripts for sane-kds-s2000w-net
--- /dev/null
+#!/bin/bash
+
+main()
+{
+ echo "Trennblatt" \
+ | qrencode --level=H \
+ --type=SVG \
+ --output=- \
+ | rsvg-convert --format=pdf \
+ --output=trennblatt-qr.pdf
+ echo "Trennblatt" \
+ | dmtxwrite --symbol-size=32x32 \
+ --format=SVG \
+ --output=- \
+ | rsvg-convert --format=pdf \
+ --output=trennblatt-datamatrix.pdf
+
+}
+
+main