I copied this topic from the old forum (orginally posted on » Sat Jan 28, 2012 10:19 pm) in case anyone should be interested in setting up their flatbed scanner to work with OMV.
NOTE: there is not (at time of this post) a plugin for a scanner. This is strictly installed on the Server without OMV support (but it works and that is what counts).
The following worked for me. I would suggest you first backup your OMV prior to installing the software just in case something goes wrong. I accept no responsibility if it somehow messes up your OMV server. Use at your own risk.
For a Windows machine you will need to download SaneTwain.zip (http://sanetwain.ozuzo.net/).
or xsane (xsane-win32-0.991.zip) for windows (ftp://ftp2.sane-project.org/pub/sane/xsane/)
I perfer xsane. Once you figure out how to use it, it seems to work better than SaneTwain.
For a Linux machine install xsane from the depository using the Software Manager
I have 2 scanners: a Canon CanoScan N650U flatbed and an Epson CX4200 all-in-one but it should work with any supported scanner (with a few modifications).
The following will need to be installed from the command line (apt-get install <name> ) of the OMV server:
sane
sane-utils
xinetd
Edit the following configuration files:
/etc/default/saned
edit/change RUN=no to RUN=yes
Uncomment (if needed) RUN_AS_USER=saned
Save changes
/etc/sane.d/saned.conf
Add LAN address and mask. In my case 192.168.1.0/24
Save changes.
Add sane user
adduser saned saned
reboot OMV
This was enough to get the CanoScan to work. But the Epson required just a bit more configuration.
Create the following file
/etc/xinetd.d/saned
Enter the following in the file
service saned
{
socket_type = stream
server = /usr/sbin/saned
protocol = tcp
user = saned
group = scanner
wait = no
disable = no
}
Save changes
Add lp user (may or may not be required as I don't use the Epson for network printing)
adduser saned lp
reboot -Now the Epson should work
On windows start ScanImage.exe (SaneTwain) (or xsane) in your windows machine or xsane on you Linux machine
You will need to configure (SaneTwain or xsane) to get it to see your scanner(s)
Note: only tested on Windows 7 and Linux Mint but it should work on Win XP or any flavor of Linux
The following web pages were of great help in setting it up:
Ubuntu scanning howto -was probably the most helpful
https://help.ubuntu.com/community/Scann ... side_setup
Saned(8) man page
http://Http://www.sane-project.org/man/saned.8.html
Scanimage man page
http://www.sane-project.org/man/scanimage.1.html
Sane backends
http://www.sane-project.org/sane-backen ... -CANON630U
Howto on xinetd
http://www.linuxfocus.org/English/Novem ... e175.shtml
And googling helped a lot too
https://encrypted.google.com