Scanning on ubuntu 18.04 with HP Envy 5547

Asked by Guillaume Gingembre on 2020-02-01

I have installed the latest version of Kubuntu, and my printer HP Envy 5547 works perfectly. However, the scanner does not work. It is connected to the computer with usb. I have installed the following version of HPLIP :

HP Linux Imaging and Printing System (ver. 3.17.10)
Printer/Fax Setup Utility ver. 9.0

But when I run hp-setup, I get the following error: error, no devices found on bus: usb

The printer is working, and the details are:

In settings -> printers, the system suggests a list of drivers, there are many drivers called Envy 5540 series hpijs, 3.17.10 (en), I am not sure which one to choose. No matter which one I choose, the hplip utility cannot find the printer (the printer / scanner is of course turned on when I try) and the printer does not work.

The printer works only with the following driver: Envy 5540 series hpcups, 3.17.10 (en), but even then the hp-setup command cannot find any device and simple-scan does not recognize the printer.

This scanner is the last thing that ties me to keeping windows running on an old computer, and I can't wait to get rid of it :) Any help would be really appreciated!

Question information

Language:
English Edit question
Status:
Solved
For:
HPLIP Edit question
Assignee:
No assignee Edit question
Solved by:
brian_p
Solved:
2020-02-02
Last query:
2020-02-02
Last reply:
2020-02-02
brian_p (claremont102) said : #1

> The printer works only with the following driver: Envy 5540 series
> hpcups, 3.17.10 (en), but even then the hp-setup command cannot
> find any device and simple-scan does not recognize the printer.

The driver is good. Printing works. We'll let it be for a moment. Give
what you get for 'lpstat -t' and 'lpinfo -v'.

--
Brian.

Thank you Brian for your quick response.

lpstat -t returns:
scheduler is running
no system default destination
matériel pour HP_ENVY_5540_series_187EEF_ : ipp://HP98E7F4187EEF.local:631/ipp/print
HP_ENVY_5540_series_187EEF_ accepte des requêtes depuis sam. 01 févr. 2020 19:47:40 CET
printer HP_ENVY_5540_series_187EEF_ is idle. enabled since sam. 01 févr. 2020 19:47:40 CET

and lpinfo -v returns:

network beh
file cups-brf:/
network ipps
network https
network ipp
network lpd
network http
direct hp
network socket
direct hpfax
network dnssd://HP%20ENVY%205540%20series%20%5B187EEF%5D._ipp._tcp.local/?uuid=1c852a4d-b800-1f08-abcd-98e7f4187eef
network socket://192.168.1.11:9100

brian_p (claremont102) said : #3

> matériel pour HP_ENVY_5540_series_187EEF_ : ipp://HP98E7F4187EEF.local:631/ipp/print

Your Envy 5547 is on the network. That's ok - and the URI is good for printing.
Nothing wrong there.

Now give the outputs you get for

   avahi-browse -rt _ipp._tcp

 and

   avahi-browse -rt _uscan._tcp

_ipp._tcp returns:

+ eno1 IPv6 HP ENVY 5540 series [187EEF] Internet Printer local
+ eno1 IPv4 HP ENVY 5540 series [187EEF] Internet Printer local
= eno1 IPv4 HP ENVY 5540 series [187EEF] Internet Printer local
   hostname = [HP98E7F4187EEF.local]
   address = [192.168.1.11]
   port = [631]
   txt = ["Scan=T" "Duplex=T" "Color=T" "UUID=1c852a4d-b800-1f08-abcd-98e7f4187eef" "Fax=F" "TLS=1.2" "note=" "adminurl=http://HP98E7F4187EEF.local./#hId-pgAirPrint" "mac=98:e7:f4:18:7e:ef" "priority=20" "usb_MDL=ENVY 5540 series" "usb_MFG=HP" "product=(HP ENVY 5540 series)" "ty=ENVY 5540 series" "URF=CP1,MT1-2-8-9-10-11,PQ3-4-5,RS300-600,SRGB24,OB9,OFU0,W8-16,DEVW8-16,DEVRGB24-48,ADOBERGB24-48,DM3,IS1-7,V1.4" "kind=document,envelope,photo,postcard" "PaperMax=legal-A4" "rp=ipp/print" "pdl=application/vnd.hp-PCL,image/jpeg,application/PCLm,image/urf,image/pwg-raster" "qtotal=1" "txtvers=1"]
= eno1 IPv6 HP ENVY 5540 series [187EEF] Internet Printer local
   hostname = [HP98E7F4187EEF.local]
   address = [192.168.1.11]
   port = [631]
   txt = ["Scan=T" "Duplex=T" "Color=T" "UUID=1c852a4d-b800-1f08-abcd-98e7f4187eef" "Fax=F" "TLS=1.2" "note=" "adminurl=http://HP98E7F4187EEF.local./#hId-pgAirPrint" "mac=98:e7:f4:18:7e:ef" "priority=20" "usb_MDL=ENVY 5540 series" "usb_MFG=HP" "product=(HP ENVY 5540 series)" "ty=ENVY 5540 series" "URF=CP1,MT1-2-8-9-10-11,PQ3-4-5,RS300-600,SRGB24,OB9,OFU0,W8-16,DEVW8-16,DEVRGB24-48,ADOBERGB24-48,DM3,IS1-7,V1.4" "kind=document,envelope,photo,postcard" "PaperMax=legal-A4" "rp=ipp/print" "pdl=application/vnd.hp-PCL,image/jpeg,application/PCLm,image/urf,image/pwg-raster" "qtotal=1" "txtvers=1"]

and uscan._tcp returns:

+ eno1 IPv4 HP ENVY 5540 series [187EEF] _uscan._tcp local
= eno1 IPv4 HP ENVY 5540 series [187EEF] _uscan._tcp local
   hostname = [HP98E7F4187EEF.local]
   address = [192.168.1.11]
   port = [8080]
   txt = ["duplex=F" "is=platen" "cs=binary,color,grayscale" "rs=eSCL" "representation=images/printer.png" "UUID=1c852a4d-b800-1f08-abcd-98e7f4187eef" "note=" "adminurl=http://HP98E7F4187EEF.local." "ty=ENVY 5540 series" "pdl=application/octet-stream,application/pdf,image/jpeg" "vers=2.5" "txtvers=1"]
+ eno1 IPv6 HP ENVY 5540 series [187EEF] _uscan._tcp local
= eno1 IPv6 HP ENVY 5540 series [187EEF] _uscan._tcp local
   hostname = [HP98E7F4187EEF.local]
   address = [192.168.1.11]
   port = [8080]
   txt = ["duplex=F" "is=platen" "cs=binary,color,grayscale" "rs=eSCL" "representation=images/printer.png" "UUID=1c852a4d-b800-1f08-abcd-98e7f4187eef" "note=" "adminurl=http://HP98E7F4187EEF.local." "ty=ENVY 5540 series" "pdl=application/octet-stream,application/pdf,image/jpeg" "vers=2.5" "txtvers=1"]

Best brian_p (claremont102) said : #5

From your _uscan._tcp output:

> ty=ENVY 5540 series

You have been hit by an HPLIP bug in version 3.17.10. See

   https://bugs.launchpad.net/hplip/+bug/1797501

If you try to scan and then look at the output of 'journalctl', the error
should be recorded.

Find the line with [envy_5540_series] on it in

   /usr/share/hplip/data/models/models.dat

and edit it to have

  [y_5540_series]

Ok now?

--
Brian.

Brian, thanks a lot, now it is working fine with Simple Scan, thanks a lot for your help! :)

Thanks brian_p, that solved my question.