HPLIP don't detect HP Laserjet PRO MFP M280nw

Bug #1814307 reported by Sergio Sánchez López
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
HPLIP
New
Undecided
Unassigned

Bug Description

HPLIP don't detect HP Laserjet PRO MFP M280nw on Ubuntu 18.04. When i run "hp-setup" i choose USB printer or Network Printer this don't detect. I can't print and scanner.

Revision history for this message
brian_p (claremont102) wrote :

Which type of connection do you want? USB or network? Post the outputs of 'lpinfo -v' and 'scanimage -L'.

Do

avahi-browse -art > log

and post log as an attachment.

--
Brian.

Revision history for this message
Sergio Sánchez López (ssergio-ll) wrote :

I have tried USB and Network.

HPLip don't detect printer. I only can add with assitant printers of KDE, then i can print but i can't scan.

I attach logs.

Revision history for this message
brian_p (claremont102) wrote :

> I have tried USB and Network.

I wanted to know which one you preferred to use.

Ok, you can print now, but "No scanners were identified." is bothersome. What operating system are you using and what does 'cat /etc/sane.d/dll.d/hplip' show?

--
Brian.

Revision history for this message
brian_p (claremont102) wrote :

You didn't post the log I asked for.

--
Brian.

Revision history for this message
Sergio Sánchez López (ssergio-ll) wrote :

I prefer use with network. My system is KDE Neon 18.04 but with Ubuntu 18.04 neither run.

This show log:

cat /etc/sane.d/dll.d/hplip:
# dll.conf snippet for hplip
#
hpaio

lpinfo -v:

network beh
file cups-brf:/
network https
network ipp
network lpd
network ipps
network socket
network http
direct hp
direct hpfax
network dnssd://HP%20Color%20LaserJet%20MFP%20M280nw%20(5207B7)._ipp._tcp.local/?uuid=564e424e-4c42-5631-464e-84a93e5207b7
network socket://192.168.100.48
network ipp://NPI5207B7.local:631/ipp/print

scanimage -L:

No scanners were identified. If you were expecting something different,
check that the scanner is plugged in, turned on and detected by the
sane-find-scanner tool (if appropriate). Please read the documentation
which came with this software (README, FAQ, manpages).

Revision history for this message
brian_p (claremont102) wrote :

> cat /etc/sane.d/dll.d/hplip:
> # dll.conf snippet for hplip
> #
? hpaio

This shows that the SANE backend, hpaio, is on the system. That means you should be able to scan. But you cannot. I wonder where the problem is?

Execute the command

avahi-browse -art > log

and post log here.

> scanimage -L:
>
> No scanners were identified. If you were expecting something different,
> check that the scanner is plugged in, turned on and detected by the
> sane-find-scanner tool (if appropriate). Please read the documentation
> which came with this software (README, FAQ, manpages).

Is that the output you get with both network and USB connections separately?

--
Brian.

Revision history for this message
Sergio Sánchez López (ssergio-ll) wrote :
Download full text (24.6 KiB)

This show log "avahi-browse -art > log":

+ wlp62s0 IPv6 HP Color LaserJet MFP M280nw (5207B7) Internet Printer local
+ wlp62s0 IPv4 HP Color LaserJet MFP M280nw (5207B7) Internet Printer local
+ enp61s0 IPv6 HP Color LaserJet MFP M280nw (5207B7) Internet Printer local
+ enp61s0 IPv4 HP Color LaserJet MFP M280nw (5207B7) Internet Printer local
+ wlp62s0 IPv6 HP Color LaserJet MFP M280nw (5207B7) Secure Internet Printer local
+ wlp62s0 IPv4 HP Color LaserJet MFP M280nw (5207B7) Secure Internet Printer local
+ enp61s0 IPv6 HP Color LaserJet MFP M280nw (5207B7) Secure Internet Printer local
+ enp61s0 IPv4 HP Color LaserJet MFP M280nw (5207B7) Secure Internet Printer local
+ wlp62s0 IPv6 HP Color LaserJet MFP M280nw (5207B7) _scanner._tcp local
+ wlp62s0 IPv4 HP Color LaserJet MFP M280nw (5207B7) _scanner._tcp local
+ enp61s0 IPv6 HP Color LaserJet MFP M280nw (5207B7) _scanner._tcp local
+ enp61s0 IPv4 HP Color LaserJet MFP M280nw (5207B7) _scanner._tcp local
+ enp61s0 IPv4 HP Color LaserJet MFP M280nw (5207B7) _privet._tcp local
+ enp61s0 IPv4 HP Color LaserJet MFP M280nw (5207B7) Web Site local
+ enp61s0 IPv4 HP Color LaserJet MFP M280nw (5207B7) _http-alt._tcp local
+ enp61s0 IPv4 HP Color LaserJet MFP M280nw (5207B7) _print-caps._tcp local
+ enp61s0 IPv4 HP Color LaserJet MFP M280nw (5207B7) PDL Printer local
+ enp61s0 IPv4 HP Color LaserJet MFP M280nw (5207B7) UNIX Printer local
+ enp61s0 IPv4 HP Color LaserJet MFP M280nw (5207B7) _uscan._tcp local
+ enp61s0 IPv4 HP Color LaserJet MFP M280nw (5207B7) _uscans._tcp local
+ enp61s0 IPv6 HP Color LaserJet MFP M280nw (5207B7) _privet._tcp local
+ enp61s0 IPv6 HP Color LaserJet MFP M280nw (5207B7) Web Site local
+ enp61s0 IPv6 HP Color LaserJet MFP M280nw (5207B7) _http-alt._tcp local
+ enp61s0 IPv6 HP Color LaserJet MFP M280nw (5207B7) _print-caps._tcp local
+ enp61s0 IPv6 HP Color LaserJet MFP M280nw (5207B7) PDL Printer local
+ enp61s0 IPv6 HP Color LaserJet MFP M280nw (5207B7) UNIX Printer local
+ enp61s0 IPv6 HP Color LaserJet MFP M280nw (5207B7) _uscan._tcp local
+ enp61s0 IPv6 HP Color LaserJet MFP M280nw (5207B7) _uscans._tcp local
= enp61s0 IPv4 HP Color LaserJet MFP M280nw (5207B7) _scanner._tcp local
   hostname = [NPI5207B7.local]
   address = [192.168.100.48]
   port = [8289]
   txt = ["note=" "flatbed=T" "feeder=T" "button=T" "usb_MDL=HP ColorLaserJet MFP M278-M281" "usb_MFG=HP" "mdl=ColorLaserJet MFP M278-M281" "mfg=HP" "ty=HP ColorLaserJet MFP M278-M281" "adminurl=http://NPI5207B7.local." "txtvers=1" "UUID=564e424e-4c42-5631-464e-84a93e5207b7"]
= enp61s0 IPv4 HP Color LaserJet MFP M280nw (5207B7) Secure Internet Printer local
   hostname = [NPI5207B7.local]
   address = [192.168.100.48]
   port = [631]
   txt = ["mopria-certified=1.3" "print_wfds=T" "mac=84:a9:3e:52:07:b...

Revision history for this message
brian_p (claremont102) wrote :

Forgot. Also try to scan and look in 'journalctl' at the end of the output.

--
Brian.

Revision history for this message
Sergio Sánchez López (ssergio-ll) wrote :

This show "journalctl":

feb 02 00:08:33 AVANZA7 simple-scan[12376]: io/hpmud/model.c 543: no colorlaserjet_mfp_m278-m281 attributes found in /usr/share/hplip/data/models/unreleased/unreleased.dat
feb 02 00:08:33 AVANZA7 simple-scan[12376]: io/hpmud/model.c 532: no colorlaserjet_mfp_m278-m281 attributes found in /usr/share/hplip/data/models/models.dat

Revision history for this message
brian_p (claremont102) wrote :

Ah! Now we are getting somewhere. Thanks. Let's see how we go on with this:

Open /usr/share/hplip/data/models/models.dat in an editor and find the line

[hp_colorlaserjet_laserjet_mfp_m278-m281]

Change it to

[colorlaserjet_laserjet_mfp_m278-m281]

and try scanning and report back here.

Sergio - I have asked for the log file from avahi-browse three times. Please post it.

--
Brian.

Revision history for this message
brian_p (claremont102) wrote :

Aplogies:

> [hp_colorlaserjet_laserjet_mfp_m278-m281]

should be

[hp_colorlaserjet_mfp_m278-m281]

Change to

[colorlaserjet_mfp_m278-m281]

--
Brian.

Revision history for this message
Sergio Sánchez López (ssergio-ll) wrote :

I have open /usr/share/hplip/data/models/models.dat for change the line but i haven't it.

What is file avahi-browse? How can i get it?

Revision history for this message
Sergio Sánchez López (ssergio-ll) wrote :

This is my log file from avahi-browse :

avahi-browse -art > log
Error al resolver el servicio «HP Color LaserJet MFP M280nw (5207B7)» de tipo «_ipps._tcp» en el dominio «local»: Se ha alcanzado el tiempo de espera establecido
Error al resolver el servicio «HP Color LaserJet MFP M280nw (5207B7)» de tipo «_ipps._tcp» en el dominio «local»: Se ha alcanzado el tiempo de espera establecido
Error al resolver el servicio «HP Color LaserJet MFP M280nw (5207B7)» de tipo «_ipp._tcp» en el dominio «local»: Se ha alcanzado el tiempo de espera establecido
Error al resolver el servicio «HP Color LaserJet MFP M280nw (5207B7)» de tipo «_ipp._tcp» en el dominio «local»: Se ha alcanzado el tiempo de espera establecido

Revision history for this message
brian_p (claremont102) wrote :

I made a mistake. The line is

[hp_colorlaserjet_mfp_m278-m281]

Remove "hp_" and save the file.

Post what you get with the command

dpkg -l printer-driver-postscript-hp

if you still cannot find the line.

--
Brian.

Revision history for this message
brian_p (claremont102) wrote :

It is unfortunate but I think you may have hit another bug. This time it is in Ubuntu.

Go to

https://bugs.launchpad.net/ubuntu/+source/hplip/+bug/1812381

and read message #18. Then download the printer-driver-postscript-hp package from the Ubuntu disco distribution and install it with

  sudo dpkg -i printer-driver-postscript-hp

--
Brian.

Revision history for this message
Sergio Sánchez López (ssergio-ll) wrote :

I haven't line.

The comamd "dpkg -l printer-driver-postscript-hp" show:

dpkg -l printer-driver-postscript-hp
Deseado=desconocido(U)/Instalar/eliminaR/Purgar/retener(H)
| Estado=No/Inst/ficheros-Conf/desempaqUetado/medio-conF/medio-inst(H)/espera-disparo(W)/pendienTe-disparo
|/ Err?=(ninguno)/requiere-Reinst (Estado,Err: mayúsc.=malo)
||/ Nombre Versión Arquitectura Descripción
+++-======================================-========================-========================-==================================================================================
ii printer-driver-postscript-hp 3.17.10+repack0-5 all HP Printers PostScript Descriptions

Revision history for this message
brian_p (claremont102) wrote :

Please forget about printer-driver-postscript-hp; I got confused. Instead, in models.dat put this:

[hp_colorlaserjet_mfp_m278-m281]
scan-src=3
scan-type=5

--
Brian.

Revision history for this message
brian_p (claremont102) wrote :

> in models.dat put this:

> [hp_colorlaserjet_mfp_m278-m281]

No! Put

[colorlaserjet_mfp_m278-m281]
scan-src=3
scan-type=5

Revision history for this message
Sergio Sánchez López (ssergio-ll) wrote :

I have add this to my file models.dat and now i can scan:

[hp_colorlaserjet_mfp_m278-m281]
align-type=0
clean-type=0
color-cal-type=0
copy-type=0
embedded-server-type=1
fax-type=7
fw-download=False
icon=hp_color_laserjet_cm1312_mfp.png
io-mfp-mode=1
io-mode=1
io-support=14
job-storage=0
linefeed-cal-type=0
model1=HP Color LaserJet MFP M278-281
monitor-type=0
panel-check-type=0
pcard-type=0
plugin=1
plugin-reason=64
power-settings=0
ppd-name=hp-color_laserjet_pro_mfp_m277
pq-diag-type=0
r-type=0
r0-agent1-kind=4
r0-agent1-sku=CF400A/CF400X
r0-agent1-type=1
r0-agent2-kind=4
r0-agent2-sku=CF401A
r0-agent2-type=4
r0-agent3-kind=4
r0-agent3-sku=CF403A
r0-agent3-type=5
r0-agent4-kind=4
r0-agent4-sku=CF402A
r0-agent4-type=6
scan-src=3
scan-type=5
status-battery-check=0
status-dynamic-counters=0
status-type=10
support-released=True
support-subtype=48c3
support-type=2
support-ver=3.15.4
tech-class=Postscript
tech-subclass=Normal
tech-type=4
usb-pid=3c2a
usb-vid=3f0
wifi-config=3

Will be it corrected for the next version of hplip?

Thanks!

Revision history for this message
brian_p (claremont102) wrote :

I am a little surprised that having

  [hp_colorlaserjet_mfp_m278-m281]

instead of

  [colorlaserjet_mfp_m278-m281]

works.

Please do

  avahi-browse -rt _uscan._tcp > log

and post log.

> Will be it corrected for the next version of hplip?

Maybe. The version of hplip rou are using is 3.17.10. The Laserjet PRO MFP M280nw isn't supported on it. It needs 3.18.5 or greater. That was basically your problem.

--
Brian.

Revision history for this message
Sergio Sánchez López (ssergio-ll) wrote :

This show " avahi-browse -rt _uscan._tcp > log":

+ enp61s0 IPv6 HP Color LaserJet MFP M280nw (5207B7) _uscan._tcp local
+ enp61s0 IPv4 HP Color LaserJet MFP M280nw (5207B7) _uscan._tcp local
= enp61s0 IPv6 HP Color LaserJet MFP M280nw (5207B7) _uscan._tcp local
   hostname = [NPI5207B7.local]
   address = [192.168.100.48]
   port = [8080]
   txt = ["note=" "duplex=F" "is=platen,adf" "cs=color,grayscale" "pdl=application/pdf,image/jpeg" "uuid=564e424e-4c42-5631-464e-84a93e5207b7" "rs=eSCL" "representation=http://NPI5207B7.local./ipp/images/printer.png" "vers=2.63" "usb_MDL=HP ColorLaserJet MFP M278-M281" "usb_MFG=HP" "mdl=ColorLaserJet MFP M278-M281" "mfg=HP" "ty=HP ColorLaserJet MFP M278-M281" "adminurl=http://NPI5207B7.local." "txtvers=1"]
= enp61s0 IPv4 HP Color LaserJet MFP M280nw (5207B7) _uscan._tcp local
   hostname = [NPI5207B7.local]
   address = [192.168.100.48]
   port = [8080]
   txt = ["note=" "duplex=F" "is=platen,adf" "cs=color,grayscale" "pdl=application/pdf,image/jpeg" "uuid=564e424e-4c42-5631-464e-84a93e5207b7" "rs=eSCL" "representation=http://NPI5207B7.local./ipp/images/printer.png" "vers=2.63" "usb_MDL=HP ColorLaserJet MFP M278-M281" "usb_MFG=HP" "mdl=ColorLaserJet MFP M278-M281" "mfg=HP" "ty=HP ColorLaserJet MFP M278-M281" "adminurl=http://NPI5207B7.local." "txtvers=1"]

My problem is that i can't install last version hplip on my system because this have problem with dependencies. My system is KDE Neon 18.04 but in Ubuntu 18.04 neither.

Revision history for this message
brian_p (claremont102) wrote :

That addition you made to models is the way to go. There is nothing wrong with it for getting scanning going. (But do you really have it beginning with "[hp_colorlaserjet_mfp_m278-m281]"? I have made enough slipups dealing with your issue, so maybe I am misinterpreting your earlier journalct output).

I'm glad you are now scanning. Thank you for both the logs you sent.

--
Brian.

Revision history for this message
Sergio Sánchez López (ssergio-ll) wrote :

Thanks for you help.

One question. Why i can't install last version hplip on my Ubuntu 18.04. This show errors with dependencies. The version that i try to install is 3.19.1.

Thanks.

Revision history for this message
brian_p (claremont102) wrote :

> Why i can't install last version hplip on my Ubuntu 18.04.

Sorry. I cannot help with that. I've never tried it.

--
Brian.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.