I can't scan

Asked by Pedro

Since I changed the OS from Windows to openSUSE I cannot scan with the multifunction printer. I have installed the hplip driver from both the Suse (3.21.10) and HP (3.22.2) repositories and I have access to print, configuration and toner status, but it always gives me the error "Error during I/O device."
On mobile devices with HPSmart everything works perfectly, but not on Linux.
My OS is openSUSE Leap 15.3
The printer is HP Color LaserJet MFP M280nw

Question information

Language:
English Edit question
Status:
Solved
For:
HPLIP Edit question
Assignee:
No assignee Edit question
Solved by:
brian_p
Solved:
Last query:
Last reply:
Revision history for this message
brian_p (claremont102) said :
#1

I haven't a clue about openSUSE and haven't any desire to debug HPLIP.
That does not mean we cannot get scanning workig.

Have you a USB or network connection?

Revision history for this message
Pedro (piudeferro) said :
#2

network connection

El 18/4/22 a las 20:25, brian_p escribió:
> Your question #701399 on HPLIP changed:
> https://answers.launchpad.net/hplip/+question/701399
>
> Status: Open => Needs information
>
> brian_p requested more information:
> I haven't a clue about openSUSE and haven't any desire to debug HPLIP.
> That does not mean we cannot get scanning workig.
>
> Have you a USB or network connection?
>
--
Pedro Carrasco
<email address hidden>

Revision history for this message
Pedro (piudeferro) said :
#3

I have the computer connected to a neutral hub as well as the printer,
since the main router assigns the IP to them. The router is a Linksys Velop.

El 18/4/22 a las 20:45, Pedro escribió:
> Your question #701399 on HPLIP changed:
> https://answers.launchpad.net/hplip/+question/701399
>
> Status: Needs information => Open
>
> You gave more information on the question:
> network connection
>
> El 18/4/22 a las 20:25, brian_p escribió:
>> Your question #701399 on HPLIP changed:
>> https://answers.launchpad.net/hplip/+question/701399
>>
>> Status: Open => Needs information
>>
>> brian_p requested more information:
>> I haven't a clue about openSUSE and haven't any desire to debug HPLIP.
>> That does not mean we cannot get scanning workig.
>>
>> Have you a USB or network connection?
>>
--
Pedro Carrasco
<email address hidden>

Revision history for this message
brian_p (claremont102) said :
#4

> I have the computer connected to a neutral hub as well as the printer,
> since the main router assigns the IP to them. The router is a Linksys Velop.

This sounds like you have the device connected to the network. Give

  avahi-browse -rt _ipp._tcp

and

  avahi-browse -rt _uscan._tcp

Revision history for this message
Pedro (piudeferro) said :
#5

Attached I send screenshots in txt of the terminal output

El 18/4/22 a las 21:41, brian_p escribió:
> Your question #701399 on HPLIP changed:
> https://answers.launchpad.net/hplip/+question/701399
>
> Status: Open => Needs information
>
> brian_p requested more information:
>> I have the computer connected to a neutral hub as well as the printer,
>> since the main router assigns the IP to them. The router is a Linksys Velop.
> This sounds like you have the device connected to the network. Give
>
> avahi-browse -rt _ipp._tcp
>
> and
>
> avahi-browse -rt _uscan._tcp
>
--
Pedro Carrasco
<email address hidden>

Revision history for this message
brian_p (claremont102) said :
#6

> Attached I send screenshots in txt of the terminal output

Nothing arrived here. Just copy and paste the output to send.

Revision history for this message
Pedro (piudeferro) said :
#7

pedro@localhost:~> avahi-browse -rt _ipp._tcp
+   eth0 IPv6 HP Color LaserJet MFP M280nw (8086F6) Internet Printer
local
+   eth0 IPv4 HP Color LaserJet MFP M280nw (8086F6) Internet Printer
local
=   eth0 IPv6 HP Color LaserJet MFP M280nw (8086F6) Internet Printer
local
    hostname = [NPI8086F6.local]
    address = [10.114.1.176]
    port = [631]
    txt = ["mopria-certified=1.3" "mac=f8:b4:6a:80:86:f6" "usb_MDL=HP
ColorLaserJet MFP M278-M281" "usb_MFG=HP" "TLS=1.2" "PaperMax=legal-A4"
"kind=document,envelope,photo"
"UUID=564e424e-4d38-3430-5131-f8b46a8086f6" "Fax=F" "Scan=T" "Duplex=F"
"Color=T" "note="
"adminurl=http://NPI8086F6.local./hp/device/info_config_AirPrint.html?tab=Networking&menu=AirPrintStatus"
"priority=10" "product=(HP ColorLaserJet MFP M278-M281)" "ty=HP
ColorLaserJet MFP M278-M281"
"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"]
=   eth0 IPv4 HP Color LaserJet MFP M280nw (8086F6) Internet Printer
local
    hostname = [NPI8086F6.local]
    address = [10.114.1.176]
    port = [631]
    txt = ["mopria-certified=1.3" "mac=f8:b4:6a:80:86:f6" "usb_MDL=HP
ColorLaserJet MFP M278-M281" "usb_MFG=HP" "TLS=1.2" "PaperMax=legal-A4"
"kind=document,envelope,photo"
"UUID=564e424e-4d38-3430-5131-f8b46a8086f6" "Fax=F" "Scan=T" "Duplex=F"
"Color=T" "note="
"adminurl=http://NPI8086F6.local./hp/device/info_config_AirPrint.html?tab=Networking&menu=AirPrintStatus"
"priority=10" "product=(HP ColorLaserJet MFP M278-M281)" "ty=HP
ColorLaserJet MFP M278-M281"
"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"]
pedro@localhost:~>

pedro@localhost:~> avahi-browse -rt _uscan._tcp
+   eth0 IPv6 HP Color LaserJet MFP M280nw (8086F6) _uscan._tcp
local
+   eth0 IPv4 HP Color LaserJet MFP M280nw (8086F6) _uscan._tcp
local
=   eth0 IPv6 HP Color LaserJet MFP M280nw (8086F6) _uscan._tcp
local
    hostname = [NPI8086F6.local]
    address = [10.114.1.176]
    port = [8080]
    txt = ["note=" "duplex=F" "is=platen,adf" "cs=color,grayscale"
"pdl=application/pdf,image/jpeg"
"uuid=564e424e-4d38-3430-5131-f8b46a8086f6" "rs=eSCL"
"representation=http://NPI8086F6.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://NPI8086F6.local." "txtvers=1"]
=   eth0 IPv4 HP Color LaserJet MFP M280nw (8086F6) _uscan._tcp
local
    hostname = [NPI8086F6.local]
    address = [10.114.1.176]
    port = [8080]
    txt = ["note=" "duplex=F" "is=platen,adf" "cs=color,grayscale"
"pdl=application/pdf,image/jpeg"
"uuid=564e424e-4d38-3430-5131-f8b46a8086f6" "rs=eSCL"
"representation=http://NPI8086F6.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://NPI8086F6.local." "txtvers=1"]
pedro@localhost:~>

--
Pedro Carrasco
<email address hidden>

Revision history for this message
Best brian_p (claremont102) said :
#8
Revision history for this message
Pedro (piudeferro) said :
#9

Finally!!! Now Brian works, I open the Xsane application that came with
the OS and the option to scan with the eSCL driver appears and it works
perfectly. Even so, in any application that allows scanning, I choose
the eSCL driver and both the tray and the sheet feeder work perfectly. I
don't quite understand how the original HP driver (hpaio) with the same
IP address as the printer doesn't work and the one you recommended does,
but the important thing is that everything is going great.
Thank you very much for all the help you have given me, you are good
Brian, you are very good.

El 20/4/22 a las 12:01, brian_p escribió:
> Your question #701399 on HPLIP changed:
> https://answers.launchpad.net/hplip/+question/701399
>
> Status: Open => Answered
>
> brian_p proposed the following answer:
> Go to
>
> https://github.com/alexpevzner/sane-airscan
>
> Move on to
>
> https://download.opensuse.org/repositories/home:/pzz/openSUSE_Leap_15.3/x86_64/
>
> Install sane-airscan.
>
--
Pedro Carrasco
<email address hidden>

Revision history for this message
brian_p (claremont102) said :
#10

Hello Pedro,

Well done! I am very pleased you are now scanning. I do not know
why hpaio didn't work.

Don't forget to mark this issue as "solved" (it is still "open").

Revision history for this message
Pedro (piudeferro) said :
#11

Thanks brian_p, that solved my question.