|Classes of Mark de Leon||>||PHP Document Scanner using SANE or eSCL AirPrint||>||README.md||>||Download|
eSCL and SANE support for:
Halo Magic Scanner
ION AirCopy E-Post Edition
Mustek iScan Air / S400W
Transcription Patri Kun A4 Wi-Fi Portable Scanner
???????? A4 Wi-Fi??????????
This software , I felt was not ready for release then I discoverd sane-airscan (https://github.com/alexpevzner/sane-airscan) and found the two to be fully compatible. I felt Linux users may need this. Now despite the eSCL/AirScan not being fully functonal from OSX and Mopria I decided to release it for the benefit of Linux SANE users. There remains some sloppy code and test files, etc. Hopefully over time it will get cleaned up.
This software stand-alone:
eSCL/AirPrnt functionality for OSX and Mopria is incomplete, however it will get you a scanner GUI from which you can scan with a web browser.
This software with sane-airscan:
This software combined with sane-airscan (https://github.com/alexpevzner/sane-airscan) as described below will give you SANE support for this scanner.
This software with your command line scanner under linux:
SANE support is a 2 part process. You will need:
AirScan is a web GUI and eSCL interface for these scanners. The host will advertise the scanner as an eSCL scanner on the network and process requests for it , translating scan comands to the scanner. It was tested entirely under Apache 2.4 and PHP 7 on Ubuntu 16.04 x86_64 and Debian on Raspberry Pi 3 . It can run on any Linux machine on your local network. It will provides a web GUI with Scanning to JPG or PDF , even multi-page PDF via the web GUI is available. It will also allow the scanner to be accessed via the software package listed below, which is a SANE back-end. The files are easily installable either to local machine or server. Most files are simply copied to web root directory, with a few exceptons. You will need on host machine: apache2 , PHP7, avahi-daemon , mod_dir, mod_rewrite, A wired or wireless interface to your LAN (wired recomended) , and an available wireless connection dedicated to connect to the scanner.
The second part of the software is the sane-airscan back-end. (Option A) You will need to install sane-airscan on all of the client machines (there are some repos for easy installaton), or (Option B) install sane-airscan on the same machine hosting the scanner and AirScan only . (Option C) is that the Scanner Host and user workstation may be the same linux machine already and sane-airsccan is also installed there.. Although sane-airscan was created for accessing eSCL/AirScan protocol scanners, it has been tested as working with the AirScan listed above.
Option A would share the scanner from the main host machine to other computers using the eSCL protocol. This is probably the preferred method in a multi-computer environment, unless you already have other SANE shared scanners.
Option B would share the scanner from the primary client machine to other client machines by way of SANE protocol.
Option C is recommended for a single computer, or sharing exclusively over SANE protocol.
As you can see there are various options for how to make it all work. Fear not, it is easy. I think option A or C are suitable for most environments. On other platforms, Vuescan for Windows, OSX, and Linux can use the scanner installed with option A , B or C becuase in any case the scanner will still advertise as eSCL.
Scanner Supported features/limitations:
Using with SANE:
Using with included Web GUI:
Text based usernames and passwords generated from the admin login menu
PAM authentication usng PAM accounts installed on the host machine
Installing this software:
Set appropriate permissins on all files for the web server . In debian/ubuntu you probably want to run sudo chown -r www-data:www-data *
If all above tests well and you want SANE support, proceed to:
and install the package found there
This software was spawned from the code here http://bastel.dyndns.info/~public/s400w/ http://bastel.duckduckdns.com/~public/s400w/ now available only as an archive here: https://web.archive.org/web/20190125153443/http://bastel.dyndns.info/~public/s400w/
There are three vesions of the binary included. with this code. x86-32, x86-64 and Raspberry Pi 2/3
GitHub is warning about security issues in the Toast UI image editor. Because this is a LAN App and not run over the Internet , I do not see it as a high priority but will hopefully get the Toast UI image eitor updated, although I can not guarantee this will fix the vulnerabilities. If you are worried about it, you can always delete the Toast UI files.