From fb2b3591aa832dce5d8d9295d444fbe3909980de Mon Sep 17 00:00:00 2001 From: Johannes Ranke Date: Fri, 12 May 2023 17:11:08 +0200 Subject: Clean out unused stuff --- bin/pdfscan | 33 --------------------------------- 1 file changed, 33 deletions(-) delete mode 100755 bin/pdfscan (limited to 'bin/pdfscan') diff --git a/bin/pdfscan b/bin/pdfscan deleted file mode 100755 index 5b71b30..0000000 --- a/bin/pdfscan +++ /dev/null @@ -1,33 +0,0 @@ -#!/bin/sh - -usage() -{ -echo "Usage: pdfscan [Lineart|Gray|Color] [resolution] " -} - -#test to see if the mode and a filename have been entered -if [ $# -lt 3 ] ; then usage ; exit 1 ; fi -mode=$1 -resolution=$2 -name=$3 - -#read output of help command to get scanner device name -#scanner=`scanimage --help | tail --lines=1 ` - -echo Now scanning your A4 document to pdf -#echo Now scanning your A4 document on $scanner - -#scan the A4 binary(b&w) file uncompressed at 300dpi to temporary file -#scanimage -d $scanner \ -scanimage \ - --mode $mode \ - -x 210 -y 296 \ - --resolution $resolution \ - --format=tiff > temp-$name.tif - -#convert to pdf with G4 compression -tiff2pdf temp-$name.tif -p A4 -q G4 -o $name.pdf -rm temp-$name.tif - -#display pdf -okular $name.pdf -- cgit v1.2.1