From: Bastian Dehn Date: Tue, 24 Dec 2024 16:14:06 +0000 (+0100) Subject: add generate trennblatt script X-Git-Tag: v1.0.1^2~1 X-Git-Url: https://gitweb.hhaalo.de/?a=commitdiff_plain;h=400717fcc1a52fc22a8048616b1819fc37f27ef7;p=scantopdf.git add generate trennblatt script --- diff --git a/build-package b/build-package index 9a4a0a1..1eaf0e0 100755 --- a/build-package +++ b/build-package @@ -13,6 +13,7 @@ main() 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 diff --git a/control b/control index f4ebc0e..9c936d6 100644 --- a/control +++ b/control @@ -2,5 +2,5 @@ Package: scantopdf Version: 1.0.0 Architecture: amd64 Maintainer: Bastian Dehn -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 diff --git a/generate-trennblatt b/generate-trennblatt new file mode 100755 index 0000000..10b04af --- /dev/null +++ b/generate-trennblatt @@ -0,0 +1,20 @@ +#!/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