3. Press Scan. Alternatively you can also press the "Scan" button on the scanner to open the
scanning dialog.
4. Once the scanning process is finished a thumbnail image is displayed. Save your file.
5. If you want to create a multi-page file exchange the documents on the scanner and repeat the
scanning process until all pages are scanned. Don't forget to Save when you are finished!
3. Now you need to edit .conf file in /etc/sane.d/dll.conf. To enable the right driver for your
scanner look for the following lines:
# The following backends are not part of the SANE distribution
# but are provided by the libsane-extras Debian package
Below are several commented lines. Uncomment (delete the #) the correct one for your scanner,
e.g.:
HP 4200 - uncomment the hp4200 line.
HP 3300C, HP 3400C, HP 4300C, Afga Snapscan Touch - uncomment the niash line.
HP 4400C, HP 4470C - uncomment the hp_rts88xx line.
4. Save changes to .conf file.
5. Fire up Sane and scan away.
Note: the way Linux' hotplugging stuff works, you may need to plug in the scanner after the computer
has booted..
Permission Issues
Add saned to the group which owns your scanner device:
sudo adduser saned scanner
Note: I used sane-find-scanner to determine the device and ls -al /dev/bus/usb/XXX/XXX to identify
the group. Since I have MFC printer/scanner/fax the device happened to be owned by group 'lp' so I
added saned to that group (instead of scanner) to allow it access to the scanner.
ACL permissions for saned
Because of a change is the way access permissions are now applied to devices, saned may still not be
able to access the scanner when it is launched by inetd or xinetd. This can happen even though other
regular users on the server have access. The following bug-report contains a solution to this problem :
saned cannot access the scanner in Hardy
Server-side setup
In this configuration, one computer has a scanner connected by USB or parallel port and shares it with
others on the network. The computer with the scanner connected is called the server and all other
computers on the network wishing to share the scanner are called clients.
Note: Make sure your scanner is installed and working properly on the server computer (i.e. the
computer to which the scanner is physically attached).Test first on that local machine before attempting
to share the scanner over the network.
All computers need to have Sane installed:
sudo apt-get install sane
As saned does not automatically detect a scanner that is shared by a remote computer you will need to
set it up with both, the server and the client.
1. Tell it to run sane as a server (daemon, service)
2. Set the subnet where to share the scanner.
3. On distributions older that 10.10, set inet (or xinet) to listen on the appropriate port (This is
optional, saned can be setup to be running continuously)
4. Make sane run at start up
Sane as a server
Set sane to run as a server, ie expect connections Edit /etc/default/saned to read:
# Set to yes to start saned
RUN=yes
Make sure it is in your range of IPs. It hit me badly when I mis-configured it for 192.168.0.0 when I
meant 192.168.1.0 !
The /24 means to share with everybody in xxx.xxx.xxx.0 to 255.
User setup
In some cases, correct permissions needs to be set. E.g. for HP DesignJet 2050 All-in-one device, the
saned user has to be inserted into lp group. To do that by typing
sudo adduser saned lp
To verify the saned user has the correct permissions to access the scaner device, run the following
commands:
sudo -s
su -s /bin/bash saned
scanimage -L
Set (x)inetd
Only needed for 10.04 and previous distributions. You don't need this step if running 10.10, jump to
step four.
Edit /etc/inetd.conf by adding the following line:
sane-port stream tcp nowait saned.saned /usr/sbin/saned saned
Note: The saned value (last word on the inet configuration or in the user line in the xinetd
configuration) is the name of the user running the server. You can get it form the RUN_AS_USER= line
on the /etc/default/saned file
restart inetd or xinetd by
sudo /etc/init.d/(x)inetd restart
Run at start-up
Restart saned by (10.10)
sudo service saned restart
One user writes that a reboot is necessary. Not my experience (with 10.10) but YMMV.
To configure the Sane daemon to start automatically at boot up run:
sudo update-rc.d saned defaults
Client-side Setup
From the client, all you need to do is add server name or IP address of the scanner server to
/etc/sane.d/net.conf:
192.168.1.100
Now run xsane and it should pick up the new network scanner.
LAN-based scanners
The scanner is connected directly to the network without any intermediary computer.
Then installed the GPG key, update, install scanner driver & discover your scanner:
sudo wget -O - http://www.bchemnet.com/suldr/suldr.gpg | sudo apt-key add sudo apt-get update
sudo apt-get install samsungmfp-scanner
sudo /opt/Samsung/mfp/bin/netdiscovery --all --scanner >.samsung.netdiscovery
HP All-in-One devices
1. Ensure the device is connected to the network and can be pinged.
2. Ensure hplip is installed:
$ sudo apt-get install hplip
3. Run the hp-setup wizard which installs printer, scanner, and any other features.
$ sudo hp-setup
Brother All-in-One
See this page for the brscan utility and instructions.
External links
SANE project (Scanner Access Now Easy)
SANE's scanner howto