Fujitsu ScanSnap: Difference between revisions
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
== Scan Button Daemon == | == Scan Button Daemon == | ||
* via apt | * Install via apt | ||
<pre> | <pre> | ||
apt install scanbd | apt install scanbd | ||
</pre> | |||
/etc/scanbd/dll.conf: | * /etc/scanbd/dll.conf: | ||
<pre> | |||
#canon_pp | #canon_pp | ||
fujitsu | fujitsu | ||
Line 10: | Line 12: | ||
</pre> | </pre> | ||
* /etc/scanbd/scanbd.conf | |||
<pre> | |||
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) | |||
</pre> | |||
== OCRmyPDF via pip3 == | == OCRmyPDF via pip3 == |
Revision as of 16:51, 25 June 2020
Scan Button Daemon
- Install via apt
apt install scanbd
- /etc/scanbd/dll.conf:
#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 update sudo apt full-upgrade 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
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"