Loading Search...

Thursday, June 07, 2012

Sharing Scanner over Network from Centos

first, install xsane and all dependencies to use scanner
yum install xsane

check to see if your scanner detected
scanimage -L

for epson, you might need to install latest driver from here:

test scan
scanimage --format tiff > gambar.tiff

if everything works, install xinetd and set it to start saned
# yum install xinetd

# cat /etc/xinetd.d/saned
service sane-port
   port = 6566
   socket_type = stream
   server = /usr/sbin/saned
   user = root
   group = root
   wait = no

# cat /etc/sane.d/saned.conf

change saned.conf to match you network subnet.
for security, you might want to change which user and group saned run as.

start it up:
chkconfig xinetd on
service xinetd restart

scan from windows, over network:
first download: http://sanetwain.ozuzo.net/#download
extract to new folder and run ScanImage.exe
enter you linux ip address into the hostname and click OK.

now you can use your scanner over network.

-- tips & tricks on computers and gadgets denny on IT ; let's doIT documenting the brain

No comments: