This post will show you how to share a scanner connected to a computer running Ubuntu 14.04 with a client running Windows 8.1.
Ubuntu Server Configuration
Ubuntu should come pre-installed with the saned service, which provides functionality for sharing scanners over the local network. Follow the steps below to configure the saned service in Ubuntu.
- Edit the file /etc/default/saned
- sudo gedit /etc/default/saned
- Set the value RUN=yes
- Edit /etc/sane.d/saned.conf
- sudo gedit /etc/sane.d/saned.conf
- Add your local network (for example: 192.168.1.0/24 ) under the “## Access List” section
- Restart the saned service
- sudo service saned restart
- Tell the computer to start saned automatically
- sudo update-rc.d saned defaults
- Verify that the saned service is running
- sudo service saned status
That covers the Ubuntu server configuration. The next step is to configure the Windows client.
Windows Client Configuration
By default, Windows doesn’t understand the sane protocol, so a third party addon must be installed.
- Download SaneTwain
- Unzip the contents
- Move SaneTwain.ds into C:\Windows\twain_32
- Move ScanImage.exe into any location (The Desktop would be a convenient place)
- Open ScanImage.exe
- Enter the IP address of the Ubuntu server you configured above
- Click the scanner icon at the top left to save the scan, or click the magnifying glass icon for a preview
You should now be able to scan images from Windows using Ubuntu as the server!