Differences between revisions 13 and 15 (spanning 2 versions)
Revision 13 as of 2015-01-29 00:33:42
Size: 2512
Editor: ?CarstenBrandt
Comment: added Troubleshooting about HP OfficeJet
Revision 15 as of 2015-05-01 10:03:43
Size: 2657
Editor: ?DamienCourousse
Comment: the backend 'net' needs to be activated on the client side
Deletions are marked like this. Additions are marked like this.
Line 59: Line 59:
=== The network scanner in not detected ===
Check that the backend 'net' is activated on the client side, in the file /etc/sane.d/dll.conf.
Line 61: Line 64:
A HP network printer e.g. HP OfficeJet (connected via LAN/WLAN) may not be detected by `scanimage -L` even if it is correctly configured for printing. A HP network printer e.g. HP !OfficeJet (connected via LAN/WLAN) may not be detected by `scanimage -L` even if it is correctly configured for printing.

Translation(s): English - Français - Italiano


SANE over network

Server

You will need to have the following packages installed: sane-utils libsane. In order to use a HP multifunction printer/scanner, make sure to also install the hplip package.

Make sure your scanner is recognised (your output will differ unless you have the same scanner ;) )

% sane-find-scanner
found USB scanner (vendor=0x04a9 [Canon], product=0x220d [CanoScan], chip=LM9832/3) at libusb:002:006

% scanimage -L
device `plustek:libusb:002:006' is a Canon N670U/N676U/LiDE20 USB flatbed scanner

Once you can see your scanner make sure that the saned user is in the scanner group. Note: In some situations it is necessary that the saned user also is in the lp group (place in secondary group)

Make sure that /etc/default/saned includes

# Set to yes to start saned                                                     
RUN=yes

You will also need to add the following line to /etc/inetd.conf

sane-port stream tcp nowait saned.saned /usr/sbin/saned saned

You will need to restart inetd for this to take affect: /etc/init.d/openbsd-inetd restart

Then add the relevant network addresses to /etc/sane.d/saned.conf

192.168.0.0/24

Client

You will need to have the following packages installed: sane-utils libsane

You will need to add the ip/hostname of the sane server to: /etc/sane.d/net.conf

You will also need to add any users who need access to the scanner group

If everything is working correctly you should get something like this:

% scanimage -L
device `net:192.168.0.100:plustek:libusb:002:006' is a Canon N670U/N676U/LiDE20 USB flatbed scanner

Troubleshooting

The network scanner in not detected

Check that the backend 'net' is activated on the client side, in the file /etc/sane.d/dll.conf.

HP OfficeJet network printer is not detected

A HP network printer e.g. HP OfficeJet (connected via LAN/WLAN) may not be detected by scanimage -L even if it is correctly configured for printing.

According to a post on the sane mailing list the printer has to be configured differently in CUPS using HPLib and a URL of the following style, instead of connecting via socket or IPS:

hp:/net/Officejet_6500_E709n?ip=192.168.0.52