2512
Comment: added Troubleshooting about HP OfficeJet
|
2657
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
Contents
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