Azitech

Azimout's Linux weblog

Network-shared scanner

leave a comment »

To share a (usb-attached) printer between Ubuntu machines, do the following:

  1. See if your scanner is recognised: sudo scanimage -L
    For me the output is device `hpaio:/usb/Deskjet_F2100_series?serial=CN82C4Q4V304TK’ is a Hewlett-Packard Deskjet_F2100_series all-in-one
  2. Add yourself to the saned user group: sudo usermod -a -G saned `whoami`
  3. Modify /etc/sane.d/saned.conf to include your subnet (for me it’s 192.168.1.0/24)
  4. Confirm that the service port is open: cat /etc/services|grep sane
    Your output should be something like this:
    sane-port 6566/tcp sane saned # SANE network scanner daemon
  5. Uncomment the relevant line in /etc/inetd.conf:
    sane-port stream tcp nowait saned:saned /usr/sbin/saned saned

Finally, on the clients, add the server’s ip address (or hostname, if you have populated your /etc/hosts file) to the file /etc/sane.d/net.conf

References:

Advertisements

Written by azimout

17/12/2009 at 18:29

Posted in Reference

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: