Scan failure Ubuntu 20.04

Asked by Sharyn on 2020-09-10

I have been using HP scanners since at least Ubuntu 14.04 and my present scanner (HP Color Laserjet Pro MFP M180nw) since Ubuntu 16.04. It has always worked just fine. Last week, I upgraded to Ubuntu 20.04-1 and Simple Scan/Document Scanner RECOGNIZES the scanner, but will NOT scan --- returns FAILED to OPEN caveat. SANE troubleshooter reports INVALID ARGUEMENT (of course not saying what arguement or where). I've tried everything I can think of. Presently using v3.20.3 to no avail. Will NOT work on any of my Linux devices, but does work with Microsoft Windows 10 devices

Question information

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

You're USB connected? It would be useful to have the outputs of

  avahi-browse -rt _ipp._tcp
  avahi-browse -rt _uscan._tcp
  scanimage -L

--
Brian.

Sharyn (gsw2) said : #2

No. NOT USB connected ---- NETWORK connected.

SANE sees scanner, but fails to perform scan.

scanner is HP MFP M180nw

HPLIP recognizes both scanner and printer.   Printer works fine. Scanner
doesn't scan.
Scanner worked just fine under Ubuntu 18.04 and 16.04, but not now under
20.04

On 9/10/20 7:41 AM, brian_p wrote:
> Your question #692836 on HPLIP changed:
> https://answers.launchpad.net/hplip/+question/692836
>
> Status: Open => Needs information
>
> brian_p requested more information:
> You're USB connected? It would be useful to have the outputs of
>
> avahi-browse -rt _ipp._tcp
> avahi-browse -rt _uscan._tcp
> scanimage -L
>

Sharyn (gsw2) said : #3

shary@shary-DX4870:~$ avahi-browse -rt _ipp._tcp

+ wlp3s0 IPv6 HP Color LaserJet MFP M180nw (C67338) Internet Printer
local
+ wlp3s0 IPv4 HP Color LaserJet MFP M180nw (C67338) Internet Printer
local
= wlp3s0 IPv4 HP Color LaserJet MFP M180nw (C67338) Internet Printer
local
    hostname = [NPIC67338.local]
    address = [192.168.0.34]
    port = [631]
    txt = ["mopria-certified=1.3" "mac=18:60:24:c6:73:38" "usb_MDL=HP
ColorLaserJet MFP M178-M181" "usb_MFG=HP" "TLS=1.2" "PaperMax=legal-A4"
"kind=document,envelope,photo"
"UUID=564e4233-4b30-3033-3235-186024c67338" "Fax=F" "Scan=T" "Duplex=F"
"Color=T" "note=Living Room"
"adminurl=http://NPIC67338.local./hp/device/info_config_AirPrint.html?tab=Networking&menu=AirPrintStatus"
"priority=10" "product=(HP ColorLaserJet MFP M178-M181)" "ty=HP
ColorLaserJet MFP M178-M181"
"URF=V1.4,CP99,W8,OB10,PQ3-4-5,ADOBERGB24,DEVRGB24,DEVW8,SRGB24,IS1,MT1-2-3-5-12,RS600"
"rp=ipp/print"
"pdl=image/urf,application/PCLm,application/octet-stream,application/pdf,application/postscript,application/vnd.hp-PCL,application/vnd.hp-PCLXL,image/jpeg"
"qtotal=1" "txtvers=1"]
= wlp3s0 IPv6 HP Color LaserJet MFP M180nw (C67338) Internet Printer
local
    hostname = [NPIC67338.local]
    address = [192.168.0.34]
    port = [631]
    txt = ["mopria-certified=1.3" "mac=18:60:24:c6:73:38" "usb_MDL=HP
ColorLaserJet MFP M178-M181" "usb_MFG=HP" "TLS=1.2" "PaperMax=legal-A4"
"kind=document,envelope,photo"
"UUID=564e4233-4b30-3033-3235-186024c67338" "Fax=F" "Scan=T" "Duplex=F"
"Color=T" "note=Living Room"
"adminurl=http://NPIC67338.local./hp/device/info_config_AirPrint.html?tab=Networking&menu=AirPrintStatus"
"priority=10" "product=(HP ColorLaserJet MFP M178-M181)" "ty=HP
ColorLaserJet MFP M178-M181"
"URF=V1.4,CP99,W8,OB10,PQ3-4-5,ADOBERGB24,DEVRGB24,DEVW8,SRGB24,IS1,MT1-2-3-5-12,RS600"
"rp=ipp/print"
"pdl=image/urf,application/PCLm,application/octet-stream,application/pdf,application/postscript,application/vnd.hp-PCL,application/vnd.hp-PCLXL,image/jpeg"
"qtotal=1" "txtvers=1"]

shary@shary-DX4870:~$ avahi-browse -rt _uscan._tcp

+ wlp3s0 IPv6 HP Color LaserJet MFP M180nw (C67338) _uscan._tcp
local
+ wlp3s0 IPv4 HP Color LaserJet MFP M180nw (C67338) _uscan._tcp
local
= wlp3s0 IPv6 HP Color LaserJet MFP M180nw (C67338) _uscan._tcp
local
    hostname = [NPIC67338.local]
    address = [192.168.0.34]
    port = [8080]
    txt = ["note=Living Room" "duplex=F" "is=platen"
"cs=color,grayscale" "pdl=application/pdf,image/jpeg"
"uuid=564e4233-4b30-3033-3235-186024c67338" "rs=eSCL"
"representation=http://NPIC67338.local./ipp/images/printer.png"
"vers=2.63" "usb_MDL=HP ColorLaserJet MFP M178-M181" "usb_MFG=HP"
"mdl=ColorLaserJet MFP M178-M181" "mfg=HP" "ty=HP ColorLaserJet MFP
M178-M181" "adminurl=http://NPIC67338.local." "txtvers=1"]
= wlp3s0 IPv4 HP Color LaserJet MFP M180nw (C67338) _uscan._tcp
local
    hostname = [NPIC67338.local]
    address = [192.168.0.34]
    port = [8080]
    txt = ["note=Living Room" "duplex=F" "is=platen"
"cs=color,grayscale" "pdl=application/pdf,image/jpeg"
"uuid=564e4233-4b30-3033-3235-186024c67338" "rs=eSCL"
"representation=http://NPIC67338.local./ipp/images/printer.png"
"vers=2.63" "usb_MDL=HP ColorLaserJet MFP M178-M181" "usb_MFG=HP"
"mdl=ColorLaserJet MFP M178-M181" "mfg=HP" "ty=HP ColorLaserJet MFP
M178-M181" "adminurl=http://NPIC67338.local." "txtvers=1"]

shary@shary-DX4870:~$ scanimage -L
device `escl:https://192.168.0.34:443' is a ESCL HP Color LaserJet MFP
M180nw (C67338) SSL flatbed scanner
device `escl:http://192.168.0.34:8080' is a ESCL HP Color LaserJet MFP
M180nw (C67338) flatbed scanner
device
`hpaio:/net/hp_colorlaserjet_mfp_m178-m181?ip=192.168.0.34&queue=false'
is a Hewlett-Packard hp_colorlaserjet_mfp_m178-m181 all-in-one

On 9/10/20 7:41 AM, brian_p wrote:
> Your question #692836 on HPLIP changed:
> https://answers.launchpad.net/hplip/+question/692836
>
> Status: Open => Needs information
>
> brian_p requested more information:
> You're USB connected? It would be useful to have the outputs of
>
> avahi-browse -rt _ipp._tcp
> avahi-browse -rt _uscan._tcp
> scanimage -L
>

Sharyn (gsw2) said : #4

When I attempt to scan --- using Simple Scan / Document Scanner, I get:

And when I click on SCAN, I get:

On 9/10/20 7:41 AM, brian_p wrote:
> Your question #692836 on HPLIP changed:
> https://answers.launchpad.net/hplip/+question/692836
>
> Status: Open => Needs information
>
> brian_p requested more information:
> You're USB connected? It would be useful to have the outputs of
>
> avahi-browse -rt _ipp._tcp
> avahi-browse -rt _uscan._tcp
> scanimage -L
>

brian_p (claremont102) said : #5

> SANE sees scanner, but fails to perform scan.

This device needs a plugin. Is it installed?

Sharyn (gsw2) said : #6

Plugin?

What? Where?
Need further information  please ....

On 9/10/20 10:50 AM, brian_p wrote:
> Your question #692836 on HPLIP changed:
> https://answers.launchpad.net/hplip/+question/692836
>
> Status: Open => Needs information
>
> brian_p requested more information:
>> SANE sees scanner, but fails to perform scan.
> This device needs a plugin. Is it installed?
>

Sharyn (gsw2) said : #8

OK
I  THINK I've followed your instructions.
Got to this url:        https://wiki.debian.org/CUPSPrintQueues#hp
tried following the link/shadowbox.
Went thru a whole litany in Terminal
Process totally uploaded new HPLIP suite.

Until this interchange, I had NOT noticed that I no longer had the HP
Device Manager installed (but did notice the HP moniker was missing from
the top tool bar where it had been in 18.04.    After going thru this
new process, the Manager is reinstalled, but if I bring up  the PRINTERS
section in SETTINGS, I now have 2 copies of the M180nw shown, but not my
2nd printer (M251nw), but I did a test print, and it worked on all three
shown devices.
I tried the scan function, and it failed on both M180nw selections in
DOCUMENT SCANNER initially, but then DID function on a second attempt.
The M251nw is not showing up in the DEVICE MANAGER, so I guess I need to
try adding that printer again?   Maybe the older version of HPLIP is
still installed and populated?

Thanks for your patience with me on this

On 9/10/20 11:20 AM, brian_p wrote:
> Your question #692836 on HPLIP changed:
> https://answers.launchpad.net/hplip/+question/692836
>
> brian_p posted a new comment:
>> Plugin?
> https://wiki.debian.org/CUPSPrintQueues#hp
>

Best brian_p (claremont102) said : #9

Sharyn, I am completely disinclined to devise a way of debugging HPLIP,
so my final advice is to install sane-airscan from

  https://github.com/alexpevzner/sane-airscan

Your device is supported by it.

The file you want is at

  https://download.opensuse.org/repositories/home:/pzz/xUbuntu_20.04/amd64/

100% of users who have used this utility have benefited from it.

Sharyn (gsw2) said : #10

Thank you for all of your help, Brian. I really value your experience and advise.
And I will keep these URLs for present and future use.
Thank you very much!

brian_p (claremont102) said : #11

Hello Sharyn,

Glad to have helped. Is it possible to say explicitly whether sane-airscan
works for you? It can then be added to the list of working devices.

Sharyn (gsw2) said : #12

HI Brian,
Yes, it does appear to be working for me.  Thank you

On 9/11/20 5:55 AM, brian_p wrote:
> Your question #692836 on HPLIP changed:
> https://answers.launchpad.net/hplip/+question/692836
>
> brian_p posted a new comment:
> Hello Sharyn,
>
> Glad to have helped. Is it possible to say explicitly whether sane-airscan
> works for you? It can then be added to the list of working devices.
>