8/10/2019 Share Scanner
1/8
How to share a scanner on your network
By Manolis Tzanidakison October 27, 2006 (8:00:00 AM)
After o!rs of researc and t"eakin#, all yo!r co$%!ters are connected to eac oter and te &nternet,
and yo! can %rint yo!r doc!$ents on a %rinter connected to anoter syste$ '' b!t yo! still $!st take abreak "en so$eone else "ants to !se te scanner connected to yo!r syste$ a*e te $oneyadditional scanners "o!ld cost by sarin# yo!r scanner on yo!r +Atart "it A-(cannin# Access o" -asy), te scannin# s!ite for +in!. and oter /ni.'likesyste$s eck te %ro1ects list of s!%%orted de*ices &f yo!r scanner is listed, $ost of te 1ob isalready done
A- consists of t"o %acka#es, sane'backends and sane'frontends Te backends %acka#e incl!desscanner dri*ers and co$$and'line interface (+&) !tilities for !sin# te scanner 3o!ll "ant to installtis %acka#e on bot te ser*er and te clients Te frontends %acka#e contains #ra%ical and +&'based front ends for te scannin# %rocess 4e "ont !se tis %acka#e, beca!se "e can !se one of te$ore ad*anced front ends for A-5 $ore on tat later
Be#in by installin# te sane'backends %acka#e acka#es and %orts are a*ailable for $ost +in!. andB distrib!tions &n ebian and /b!nt! te %acka#e is called sane'!tils5 lack"are and Arc si$%lyna$e it sane &f yo! %refer b!ildin# fro$ so!rce, its a tri*ial ./configure; make; makeinstall%rocess oc!$entation is %ro*ided in te so!rce tarball 4en te installation is done,ceck tat yo!r scanner is detected by r!nnin# scanimage -Las root Te o!t%!t of tis co$$andso!ld look so$etin# like te follo"in#:
device `plustek:libusb:001:003' is a pson !erfection 1"#0/!$oto %&flatbed scanner
4ile yo! co!ld r!n saned, te scannin# dae$on, as root, its better to r!n it as a less %ri*ile#ed !ser,
saned, instead, to i$%ro*e sec!rity &f te saned !ser is not added by te %acka#e of yo!r distrib!tion,add it $an!ally "it te co$$and:
if ( id saned; t$en groupadd saned; useradd -g saned -) scanner -s/bin/false -d /dev/null saned; fi
Add yo!r non'root !ser to te scanner #ro!% "it te co$$and usermod -a -) usernamescanner
&f yo!r +in!. distrib!tion !ses /- for de*ice node $ana#e$ent '' as $ost $odern distrib!tions do'' yo! so!ld reboot to ens!re tat te ne" !de* r!les for A- are loaded and tat yo!re able to scanas a non'root !ser To *erify tat yo!r syste$ !ses /-, ceck for te %resence of te directory9de*9!de* and see "eter te !de*d %rocess is r!nnin# "it te co$$and ps au* + grep
udevd 3o! can a*oid rebootin# and $an!ally restart te !de* dae$on, b!t tats not *ery easy, so itsbetter to reboot &f yo!r distrib!tion !ses static de*ice nodes, take a look at A-s -AM-lin!.file for $ore infor$ation on o" to $an!ally fi. %er$issions and allo" non'root !sers to access tescanner ;!st to be s!re tat !sers oter tan root can access te scanner, r!n scanimage -Las tenon'root !ser yo! %re*io!sly added to te scanner #ro!% after yo! reboot5 te o!t%!t so!ld be tesa$e as before
o" its ti$e to confi#!re te saned dae$on Add te ostna$es or & addresses of te osts yo! "antto a*e access to te scanner to te file 9etc9saned9sanedconf &f yo! "ant to %ro*ide access to all teco$%!ters on yo!r net"ork, 1!st add yo!r & s!bnet'' for e.a$%le, if yo!r & address is
8/10/2019 Share Scanner
2/8
yo!r s!bnet is %robably
8/10/2019 Share Scanner
3/8
D ress Scan Alternati*ely yo! can also %ress te HcanH b!tton on te scanner to o%en tescannin# dialo#
> Once te scannin# %rocess is finised a t!$bnail i$a#e is dis%layed Saveyo!r file
I &f yo! "ant to create a $!lti'%a#e file e.can#e te doc!$ents on te scanner and re%eat tescannin# %rocess !ntil all %a#es are scanned ont for#et to Save"en yo! are finised
!o device available " what to do?
Tere co!ld be se*eral reasons "y yo! $i#t #et tis $essa#e:
8/10/2019 Share Scanner
4/8
e#:
C >200 ' !nco$$ent te $p5"00line
C DD00, C D>00, C >D00, Af#a na%scan To!c ' !nco$$ent te nias$line
C >>00, C >>70 ' !nco$$ent te $p6rts77**line
> a*e can#es to conf fileI @ire !% ane and scan a"ay
!ote+te "ay +in!. ot%l!##in# st!ff "orks, yo! $ay need to %l!# in te scanner after te co$%!teras booted
Specific Scanner $odels
o$e s%ecific $odels a*e been doc!$ented ere:
+ifetec=D8Ionfi#
Artec-%l!s>8!onf
Eeni!solor%a#ei*id> LO&A M&O+TA
8/10/2019 Share Scanner
5/8
Server"side setup
&n tis confi#!ration, one co$%!ter as a scanner connected by /B or %arallel %ort and sares it "itoters on te net"ork Te co$%!ter "it te scanner connected is called te ser*er and all oterco$%!ters on te net"ork "isin# to sare te scanner are called clients
!ote+Make s!re yo!r scanner is installed and "orkin# %ro%erly on te ser*er co$%!ter (ie te
co$%!ter to "ic te scanner is %ysically attaced)Test first on tat local $acine before atte$%tin#to sare te scanner o*er te net"ork
All co$%!ters need to a*e ane installed:
sudo apt-get install sane
As saned does not a!to$atically detect a scanner tat is sared by a re$ote co$%!ter yo! "ill need toset it !% "it bot, te ser*er and te client
8/10/2019 Share Scanner
6/8
scanimage -L
As a res!lt, yo! so!ld see a de*ice identified, e#
device `$paio:/usb/4esket630,060>?3140,@' is a elett-!ackard 4esket630,06
8/10/2019 Share Scanner
7/8
8/10/2019 Share Scanner
8/8
Help Ubuntu to support more scanners
Tere are se*eral "ays yo! can el% /b!nt! to s!%%ort $ore and $ore scanners o*er ti$e
!%%ort te A- ro1ectTis %ro1ect %ro*ides $ost of te scannin# backend infor$ation for
/b!nt!
4en %!rcasin# a ne" scanner, al"ays ask if it "orks in +in!.
ontact te $an!fact!rer abo!t s!%%ortin# yo!r scanner !nder +in!. Make s!re yo! tell te$
abo!t te A- %ro1ect
30ternal links
A- %ro1ect(canner Access o" -asy)
A-s scanner o"to
http://www.sane-project.org/contrib.htmlhttp://www.sane-project.org/http://www.sane-project.org/http://tldp.org/HOWTO/Scanner-HOWTO/index.htmlhttp://www.sane-project.org/contrib.htmlhttp://www.sane-project.org/http://www.sane-project.org/http://tldp.org/HOWTO/Scanner-HOWTO/index.htmlTop Related