Share Scanner over the network

From SuperX Documentation and Help
Jump to: navigation, search

This tutorial deal with sharing scanner connected to one PC, with other PCs in the network.

Configuration for the server

The "server" in this case is the PC to which the scanner in connected.

1. To set a SuperX PC as a scan server, ie expect connections, edit /etc/default/saned to set the variable RUN as "yes":

RUN=yes

You can browser to the folder containing the file, Right click -> Root Actions -> Open as Text. Once edited, save the file.

2. Now, edit the file, /etc/sane.d/saned.conf to share the printer on your local network:

# Required
localhost
# Share With
192.168.1.0/24

Make sure it is in your range of IPs. The /24 means to share with everybody in xxx.xxx.xxx.0 to 255.

3. Add the sane user to lp group:

sudo adduser saned lp

4. And finally run the following:

sudo service saned restart
sudo update-rc.d saned defaults

Configuration for the clients

The "clients" are the PCs that will connect to the server to access the scanner.

1. Edit the file /etc/sane.d/net.conf with the IP address of the server. For example:

192.168.1.0/24
2. Now, in the terminal run:
scanimage -L

If it detects your shared scanner, your PC is ready to use the shared scanner.

Configuration for Windows Clients

By default, Windows cannot connect to a SuperX network scanner (ex. Windows 7, or Windows 8.1 using the built-in Scan app). This is because SuperX do not use the Microsoft Scan Service (WS-Scan) protocol, and vice-versa. However, several tools are available to allow Windows machines to use sane servers for scanner access. For example, in Windows one may download an installer via http://sanetwain.ozuzo.net/ (1.36 tested working in Windows 8.1 x64).