[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#879719: libsane-hpaio: Does not recognize OfficeJet Pro 8710



On Thu 30 Nov 2017 at 23:37:16 +0100, Gedalya wrote:

> On 11/30/2017 11:19 PM, Brian Potkin wrote:
> 
> > 
> >   lpadmin -p 4500 -v hp:/net/envy_4500_series?ip=192.168.9.238 -E -m drv:///hpcups.drv/hp_envy_4500_series.ppd\
> >                    ^
> >                    ^
> > We both have access to the same manual. :)
> 
> You're right. But I'm just not following most of what you're having me do.
> Sorry..
> 
> # lpadmin -p 4500 -v hp:/net/envy_4500_series?ip=192.168.9.238 -E -m
> drv:///hpcups.drv/hp_envy_4500_series.ppd
                      ^

> lpadmin: Unable to copy PPD file.

Sorry; another typo. It's drv:///hpcups.drv/hp-envy_4500_series.ppd

[Snip]

> > You seem to be able to scan with Bonjour enabled. If necessary, I'll
> > quote you on this.
> 
> Please do. I'm definitely having trouble keeping track. Either I didn't
> understand what I wrote, or possibly I should re-test, correct and clarify.

On 22 Nov you said:

 > With CUPS running, or with models.dat edited:
 >
 > $ scanimage -L
 > device `hpaio:/net/officejet_pro_8710?ip=192.168.9.238&queue=false' is a Hewlett-Packard officejet_pro_8710 all-in-one 

When you de-activated Bonjour you did not get this. In other words,
scanner detection and scanning works when Bonjour is activated. If
Bonjour is detecting the scanner, it shouldn't matter whether cupsd
is running or not.

What is perplexing is that scanner detection seems not to come via
the print queue. The command setting up 'lpadmin -p 4500....' as
above is an attempt to discover why,

> > 
> > Shows that editing models.dat is incorrect.
> 
> > So how does having to delete "HP_" come into the picture?
> > 
> 
> Now I really don't know what's not clear.
> When did this become a matter of "correct" or "incorrect"?
> Is there a bug here or am I entirely just wasting your time?

You are definitely not wasting my time. I'm unsure whether the issue is
the result of a bug. You report that

 scanimage -vv -d hpaio:/net/HP_OfficeJet_Pro_8710?ip=192.168.9.238 > image.pnm

works. This the strongest possible indication that this is the correct
device_uri.I'd expect using simple-scan and xsane instead of scanimage
also to work without any editing of models.dat. Do they?

(Actually, I've been a bit lax here. The last part of the URI should be
?ip=192.168.9.238&queue=false to allow hp-scan to work).

> Should scanners be automatically detected, or is all this trouble part of
> the plan?
> I'm trying my very best to report on a problem and I'm not trying to opine
> on what is "correct" or how it should be fixed. It's way beyond me.
> 
> The last message in this entire bug that I actually understand is the first
> one, in which I opened this bug.
> I have re-read it now and I find it error-free. It seems clear and to the
> point.

I have found your first mail and all the information you have provided
to be very detailed, clear and useful. The problem is fitting it all
together to form a coherent picture. One problem is this editing of
models.dat, which upstream says is unnecessary; I cannot think of a way
to test it apart from what we have done. Of course, there is always the
possibility I am misunderstanding something.

Cheers,

Brian.


Reply to: