Fujitsu ScanSnap
Prepare Raspberry OS
apt update apt full-upgrade apt install aptitude sane-utils
Test Scanner Connection
lsusb sane-find-scanner scanimage -L
Scan Button Daemon
- Install via apt
apt install scanbd
- change /etc/scanbd/dll.conf to fix kernel message:
#canon_pp fujitsu plustek_pp
- /etc/scanbd/scanbd.conf
action scan { filter = "^scan.*" numerical-trigger { from-value = 1 to-value = 0 } desc = "Scan to file" script = "/srv/scanbd/scanadf.script" include(scanner.d/fujitsu.conf)
OCRmyPDF via pip3
sudo apt install ghostscript libxml2 tesseract-ocr tesseract-ocr-deu pngquant unpaper leptonica-progs libleptonica-dev automake libtool zlib1g-dev libjpeg-dev python3 python3-pip libxml2-dev libxslt1-dev libffi-dev git git clone https://github.com/agl/jbig2enc cd jbig2enc ./autogen.sh ./configure && make sudo make install cd .. git clone https://github.com/qpdf/qpdf cd qpdf ./configure && make sudo make install sudo ldconfig cd .. sudo pip3 install --upgrade pip sudo pip3 install pybind11 sudo pip3 install ocrmypdf
Links
Troubleshooting Links
- https://bugs.launchpad.net/ubuntu/+source/scanbd/+bug/1747115
- User A
- /etc/dbus-1/system.d/scanbd_dbus.conf (user -> root)
- /lib/systemd/system/scanbm@.service (user -> root)
- /etc/scanbd/scanbd.conf (user -> root)
- User B
- /lib/udev/rules.d/99-saned.rules (ENV{libsane_matched}=="yes", GROUP="scanner")
- User A
Windows: Deactivate ScanSnap folder
- regsvr32 /u "C:\Program Files (x86)\PFU\ScanSnap\SSFolder\SSFolder.dll"