source : http://makassar-slackers.org/node/212
Scanner is one of the handy tool when we need to copy document/ paper/ picture into digital file. It will be very useful, but the small office like mine often only having one scanner for the entire organization. So we need to share it. Like what I want to do now. I put the scanner in one computer and without an extra effort I can scan the document from any computer.
According to the source in makasar-slackers, this is the steps I should configure.
In server make a service for sane-port available.
Edit file “/etc/services”, add this line
sane-port 6566/tcp #SANE Network Scanner Daemon
Edit /etc/inetd.conf for streaming service and add this line
sane-port stream tcp nowait saned.saned /usr/sbin/saned saned
Restart service inetd, by
Edit file “/etc/sane.d/saned.conf”, add this line
192.168.100.0/24 #according to our network range
To make it easier so user can scan without root privileged, add user and group saned.
if ! id saned; then groupadd saned; useradd -g saned -G scanner -s /bin/false -d /dev/null saned; fi
That’s for the server.
In the client computer edit /etc/sane.d/net.conf add the server ip.
Check in the file “/etc/sane.d/dll.conf” contain
net, slackware 13.37 the default setting already wrote it at the above line
That’s it. xsane from slackware client can use the scanner now.
We can alsa scan by command line in the terminalby typing
#scanimage -b 200 > filename.jpg
-b means resolution
Thanks to makasar-slackers for the knowledge.