On Thu 30 Nov 2017 at 18:34:22 +0100, Gedalya wrote: > On 11/30/2017 03:11 PM, Brian Potkin wrote: > > I wonder how you would go on with the queue > > > > > > lpadmin -p 4500 hp:/net/envy_4500_series?ip=192.168.9.238 -E -m > > drv:///hpcups.drv/hp_envy_4500_series.ppd\ > > lpadmin: Unknown argument "hp:/net/envy_4500_series?ip=192.168.9.238". > > not sure where to go from here.
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. :) > > and 'scanimage -L'? > > > > > > > >> After re-enabling Bonjour, I noticed something new. > >> With the original models.dat, I get in syslog, regardless or cupsd running > >> or not: > >> > >> scanimage: io/hpmud/model.c 532: no officejet_pro_8710 attributes found in > >> /usr/share/hplip/data/models/models.dat > >> > >> with cupsd running, the output is: > >> > >> device `hpaio:/net/HP_OfficeJet_Pro_8710?ip=192.168.9.238' is a > >> Hewlett-Packard HP_OfficeJet_Pro_8710 all-in-one > >> > >> with cupsd stopped, the scanner is not found, as before. > >> > >> > >> now, with the edited file hp_ removed, cupsd running: > >> > >> device `hpaio:/net/officejet_pro_8710?ip=192.168.9.238&queue=false' is a > >> Hewlett-Packard officejet_pro_8710 all-in-one > >> > >> and syslog: > >> > >> scanimage: io/hpmud/model.c 532: no HP_OfficeJet_Pro_8710 attributes found > >> in /usr/share/hplip/data/models/models.dat > >> > >> cupsd stopped: > >> > >> device `hpaio:/net/officejet_pro_8710?ip=192.168.9.238&queue=false' is a > >> Hewlett-Packard officejet_pro_8710 all-in-one > >> > >> nothing in syslog. > >> > >>>> There is, the other printer was HP AIO too, but it's a different model. > >>> I'm a little lost here, but if libsane-hpaio and libhpmud are on the > >>> system then the 8710 scanning function should be detectable from its > >>> Bonjour broadcasts wih 'scanimage -L' > >> Yes, and it's not working, that's what this bug is about. > > I thought you had shown at the beginning of this mail that scanning is > > being done due to Bonjour? > > This bug is to report that it is impossible to use the OfficeJet Pro 8710 as > a scanner without doing one of the following: > * configure the printer function in cups, and keep cupsd running > * edit models.dat You seem to be able to scan with Bonjour enabled. If necessary, I'll quote you on this. > > > > Incidently. how do you on with > > > > scanimage -vv -d hpaio:/net/HP_OfficeJet_Pro_8710?ip=192.168.9.238 > > > image.pnm ? > > > > Bonjour is not involved with this command and a print queue is not > > necessary for it to be successful. > > > > Yes, works fine, original models.dat, on desktop and laptop, cupsd running or > not. That's what is expected. > edited models.dat produces: > > scanimage: open of device hpaio:/net/HP_OfficeJet_Pro_8710?ip=192.168.9.238 > failed: Operation not supported Shows that editing models.dat is incorrect. > Calling sane_exit > scanimage: finished > > OK so not "impossible" to use the scanner ;-) So how does having to delete "HP_" come into the picture? Cheers, Brian,