|
|
@@ -1,5 +1,7 @@
|
|
|
#!/bin/sh
|
|
|
|
|
|
+SCANNER_NAME=${SCANNER_NAME:-epsonds:libusb:003:039}
|
|
|
+
|
|
|
name=$1
|
|
|
shift
|
|
|
|
|
|
@@ -8,7 +10,7 @@ mkdir -p ${name}
|
|
|
cd ${name}
|
|
|
|
|
|
scanimage --source "ADF Duplex" \
|
|
|
- --device "epsonds:libusb:003:016" \
|
|
|
+ --device "${SCANNER_NAME}" \
|
|
|
--format png \
|
|
|
--batch="page-%04d.png" \
|
|
|
--resolution 600 \
|