You are not logged in.
Pages: 1
Hi, I have a HP all-in-one device and have configured the it as a printer without any problem. However, when I run Sane tools it cannot find the scanner as it appears that Sane only looks for directly attached devices.
How can I get Sane to configure a network scanner?
Thanks
Offline
hplip tazpkg is the gui program for setting up HP devices.
Offline
@mojo, I have hplip installed but there is no hplip executable. I did however found hp-scan and other host of hp utilities including hp-setup. None of them can detect the network connected printer/scanner even when I provide the printer name or device uri.
Upon further checking I found that /etc/hp/hplip.conf file has following settings
# hplip.conf. Generated from hplip.conf.in by configure.
[hplip]
version=3.11.3
[dirs]
home=/usr/share/hplip
run=/var/run
ppd=/usr/share/ppd/HP
ppdbase=/usr/share/ppd
doc=/usr/share/doc/hplip-3.11.3
icon=/usr/share/applications
cupsbackend=/usr/lib/cups/backend
cupsfilter=/usr/lib/cups/filter
drv=/usr/share/cups/drv/hp
# Following values are determined at configure time and cannot be changed.
[configure]
network-build=no
pp-build=no
gui-build=no
scanner-build=yes
etc....
Perhaps excluding network build explains why these utilites cannot find the printer?
If this is the case, is there any way to do a new build with network support? This may be a long shot but I thought of asking anyway.
Thanks
Offline
Additional info....
By using hp-probe -bnet I found that my device uri was listed as
hp:/net/Photosmart_2700_series?zc=HP2850A0 and not as socket://10.0.0.3 which was what I found from the cups printers.conf file.
Removed the cups printer definition and added the printer with above uri. Now when I run Sane, I get the following error message.
device `hpaio:/net/Photosmart_2700_series?zc=HP2850A0' is a Hewlett-Packard Photosmart_2700_series all-in-one
Segmentation fault
----
Press ENTER to close...
Earlier, Sane used to close with no scanners found message.
Offline
If 10.0.0.3 is the i.p. address of the scanner:
xsane hpaio:/net/Photosmart_2700_series?ip=10.0.0.3
Offline
@mojo,
Tried it but the same error...Segmentation Fault.
I also tried hp-check -r and got 3 errors and a few warnings. I will go through them and see whether they can be resolved and post the results later on.
Thanks
Offline
So far no success with configuring the printer or scanner using hplip utilities. I keep getting segmentation fault errors. hp-check reports of 3 errors with regards to non-existent packages which I cannot find in the Slitaz repositories. The only way I can configure the printer is by using Cups but that does not allow me to configure the scanner.
Offline
After so many attempts I have just given up using hplip to configure printer/scanner due to run time errors shown by hp-check and also when configured using hplip both printer and scanner causes segmentation faults. It appears the only way to configure the printer is using cups?
Offline
Post the output: uname -a
I'll try to compile hplip.tazpkg with --enable-network-build
Offline
@mojo - thanks for taking the trouble to look at this issue. The output of uname -a is given below.
guptila@cruzo:~$ uname -a
Linux cruzo 2.6.37-slitaz #2 SMP Tue Jun 14 19:11:34 CEST 2011 i686 GNU/Linux
guptila@cruzo:~$
Offline
hplip network build:
http://www.mediafire.com/file/chhln5lr3dbw56n/hplip-3.11.3.tazpkg
#tazpkg clean-cache
#tazpkg remove hplip
#tazpkg install hplip-3.11.3.tazpkg
Troubleshooting: http://hplipopensource.com/node/332
Offline
@mojo, it all works fine now. Many many thanks for your help.
Offline
Pages: 1
[ Generated in 0.017 seconds, 7 queries executed - Memory usage: 1.55 MiB (Peak: 1.77 MiB) ]