SliTaz SliTaz Forum

You are not logged in.

#1 2011-10-05 11:21:51

gdesilva
Member
Registered: 2011-04-07
Posts: 419

Configure Network Scanner

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

#2 2011-10-05 16:31:15

mojo
Administrator
Registered: 2011-03-29
Posts: 2,174

Re: Configure Network Scanner

hplip tazpkg is the gui program for setting up HP devices.

Offline

#3 2011-10-06 04:05:32

gdesilva
Member
Registered: 2011-04-07
Posts: 419

Re: Configure Network Scanner

@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

#4 2011-10-06 04:53:21

gdesilva
Member
Registered: 2011-04-07
Posts: 419

Re: Configure Network Scanner

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

#5 2011-10-06 06:12:30

mojo
Administrator
Registered: 2011-03-29
Posts: 2,174

Re: Configure Network Scanner

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

#6 2011-10-07 00:26:53

gdesilva
Member
Registered: 2011-04-07
Posts: 419

Re: Configure Network Scanner

@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

#7 2011-10-07 22:43:45

gdesilva
Member
Registered: 2011-04-07
Posts: 419

Re: Configure Network Scanner

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

#8 2011-10-09 10:55:51

gdesilva
Member
Registered: 2011-04-07
Posts: 419

Re: Configure Network Scanner

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

#9 2011-10-09 16:53:18

mojo
Administrator
Registered: 2011-03-29
Posts: 2,174

Re: Configure Network Scanner

Post the output: uname -a

I'll try to compile hplip.tazpkg with --enable-network-build

Offline

#10 2011-10-10 06:59:16

gdesilva
Member
Registered: 2011-04-07
Posts: 419

Re: Configure Network Scanner

@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

#11 2011-10-10 08:09:40

mojo
Administrator
Registered: 2011-03-29
Posts: 2,174

Re: Configure Network Scanner

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

#12 2011-10-10 10:36:57

gdesilva
Member
Registered: 2011-04-07
Posts: 419

Re: Configure Network Scanner

@mojo, it all works fine now. Many many thanks for your help.

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.017 seconds, 7 queries executed - Memory usage: 1.55 MiB (Peak: 1.77 MiB) ]