Fujitsu ScanSnap: Difference between revisions
(Änderung 2461 von Marcluer (Diskussion) rückgängig gemacht.) Tag: Undo |
No edit summary |
||
Line 1: | Line 1: | ||
== Update Raspberry OS == | |||
<pre> | |||
apt update | |||
apt full-upgrade | |||
</pre> | |||
== Test Scanner Connection == | |||
* | |||
<pre> | |||
lsusb | |||
sane-find-scanner | |||
</pre> | |||
== Scan Button Daemon == | == Scan Button Daemon == | ||
* Install via apt | * Install via apt | ||
Line 50: | Line 65: | ||
sudo pip3 install ocrmypdf | sudo pip3 install ocrmypdf | ||
</pre> | </pre> | ||
== Links == | |||
* https://ocrmypdf.readthedocs.io/en/latest/cookbook.html | |||
== Troubleshooting Links == | == Troubleshooting Links == | ||
Line 59: | Line 78: | ||
** User B | ** User B | ||
*** /lib/udev/rules.d/99-saned.rules (ENV{libsane_matched}=="yes", GROUP="scanner") | *** /lib/udev/rules.d/99-saned.rules (ENV{libsane_matched}=="yes", GROUP="scanner") | ||
== Windows: Deactivate ScanSnap folder == | == Windows: Deactivate ScanSnap folder == |
Revision as of 16:41, 3 July 2020
Update Raspberry OS
apt update apt full-upgrade
Test Scanner Connection
lsusb sane-find-scanner
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
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"