I was also concerning to the same case and I need to say that you have to install some more packages so as to enable what you wish to.
So, you need to install the package sane-utils:
Code:
sudo apt-get install sane-utils
and then you need to make an installation of server-side setup, you need to open /etc/default/saned with a text editor and write the following code.
Code:
gksudo gedit /etc/default/saned
after this , you will require to set RUN to yes and save and exit the file. And as a result , you will be with that the file will look like this:
Code:
# Defaults for the saned initscript, from sane-utils
# Set to yes to start saned
RUN=yes
# Set to the user saned should run as
RUN_AS_USER=saned
Then you will require to open /etc/sane.d/saned.conf with a text editor, here is the code you need to enter.
Code:
gksudo gedit /etc/sane.d/saned.conf
you need to locate the following section and modify it bymaking use of the ip and netmask settings of your scanner server. as well amend if you only wish for certain hosts to be able to make use of the scanner:
Code:
## Access list
# A list of host names, IP addresses or IP subnets (CIDR notation) that
# are permitted to use local SANE devices. IPv6 addresses must be enclosed
# in brackets, and should always be specified in their compressed form.
#
# The hostname matching is not case-sensitive.
#scan-client.somedomain.firm
#192.168.0.1
192.168.1.0/24
#[2001:7a8:185e::42:12]
#[2001:7a8:185e::42:12]/64
Then have a restart of the saned daemon:
Code:
sudo service saned restart
and then make an addition of the saned user to the lp group so it is able to access the scanner:
Code:
sudo adduser saned lp
Bookmarks