summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2022-04-17 22:47:48 -0400
committerJesse Luehrs <doy@tozt.net>2022-04-17 22:47:48 -0400
commit202bd55eacb7b9a38593261346077b0aea790f65 (patch)
tree217197d97719cc629bff487447be4e943945eada /bin
parent1e43efde796365fc884cf8a7d5858378ad8a5e65 (diff)
downloadconf-202bd55eacb7b9a38593261346077b0aea790f65.tar.gz
conf-202bd55eacb7b9a38593261346077b0aea790f65.zip
helper to scan an image as a pdf
Diffstat (limited to 'bin')
-rwxr-xr-xbin/scanpdf4
1 files changed, 4 insertions, 0 deletions
diff --git a/bin/scanpdf b/bin/scanpdf
new file mode 100755
index 0000000..31ebb14
--- /dev/null
+++ b/bin/scanpdf
@@ -0,0 +1,4 @@
+#!/bin/sh
+set -eu
+
+scanimage --format=png --device=pixma --resolution=150 | convert - scan.pdf