summaryrefslogtreecommitdiff
path: root/bin/a4copy
diff options
context:
space:
mode:
authorJohannes Ranke <jranke@uni-bremen.de>2023-05-12 17:11:08 +0200
committerJohannes Ranke <jranke@uni-bremen.de>2023-05-12 17:11:08 +0200
commitfb2b3591aa832dce5d8d9295d444fbe3909980de (patch)
tree247c385e81bb2d866f323f1e2ab66b09df102235 /bin/a4copy
parent432eb7ba89c46f97b4d13575d1de2fb41ae83be5 (diff)
Clean out unused stuff
Diffstat (limited to 'bin/a4copy')
-rwxr-xr-xbin/a4copy26
1 files changed, 0 insertions, 26 deletions
diff --git a/bin/a4copy b/bin/a4copy
deleted file mode 100755
index de45664..0000000
--- a/bin/a4copy
+++ /dev/null
@@ -1,26 +0,0 @@
-#!/bin/sh
-
-usage()
-{
-echo "Usage: a4copy [Lineart|Gray|Color]"
-}
-
-#test to see if the mode and a filename have been entered
-if [ $# -lt 1 ] ; then usage ; exit 1 ; fi
-mode=$1
-
-echo Now scanning your A4 document to pdf
-
-#scan the A4 binary(b&w) file uncompressed at 300dpi to temporary file
-scanimage \
- --mode $mode \
- -x 210 -y 296 \
- --resolution 300 \
- --format=tiff > temp-copy.tif
-
-#convert to pdf with G4 compression
-tiff2pdf temp-copy.tif -p A4 -q G4 -o temp-copy.pdf
-rm temp-copy.tif
-
-#print pdf
-lpr temp-copy.pdf

Contact - Imprint