Differences between revisions 11 and 12
Revision 11 as of 2013-01-13 15:30:46
Size: 1939
Editor: ?IvarKramer
Comment:
Revision 12 as of 2013-01-13 15:32:38
Size: 1941
Editor: ?IvarKramer
Comment:
Deletions are marked like this. Additions are marked like this.
Line 20: Line 20:
Once you can see your scanner make sure that the saned user is in the scanner group Once you can see your scanner make sure that the saned user is in the scanner group.

Translation(s): English - Français - Italiano


SANE over network

Server

You will need to have the following packages installed: sane-utils libsane. In order to use a HP multifunction printer/scanner, make sure to also install the hplip package.

Make sure your scanner is recognised (your output will differ unless you have the same scanner ;) )

% sane-find-scanner
found USB scanner (vendor=0x04a9 [Canon], product=0x220d [CanoScan], chip=LM9832/3) at libusb:002:006

% scanimage -L
device `plustek:libusb:002:006' is a Canon N670U/N676U/LiDE20 USB flatbed scanner

Once you can see your scanner make sure that the saned user is in the scanner group. Note: In some situations it is necessary that the saned user also is in the lp group (place in secondary group)

Make sure that /etc/default/saned includes

# Set to yes to start saned                                                     
RUN=yes

You will also need to add the following line to /etc/inetd.conf

sane-port stream tcp nowait saned.saned /usr/sbin/saned saned

You will need to restart inetd for this to take affect: /etc/init.d/openbsd-inetd restart

Then add the relevant network addresses to /etc/sane.d/saned.conf

192.168.0.0/24

Client

You will need to have the following packages installed: sane-utils libsane

You will need to add the ip/hostname of the sane server to: /etc/sane.d/net.conf

You will also need to add any users who need access to the scanner group

If everything is working correctly you should get something like this:

% scanimage -L
device `net:192.168.0.100:plustek:libusb:002:006' is a Canon N670U/N676U/LiDE20 USB flatbed scanner