Small utility for endless scanning of documents with EPSON scanners designed for headless use to interface with paperless-ng.
This script makes use of epsonscan2 (es2). The conversion to a multipage PDF file is using imagemagick convert
.
The file settings.json
serves as a base config file which is used to run es2. It's adopted to my my Epson ES-50 scanner. With other hardware you might have to create your own config file using epsonscan2 -c
.
The base config can be modified using the es2 GUI:
mv settings.json settings.sf2 && epsonscan2 -e settings.sf2 && mv settings.sf2 settings.json