Install a Scanner in Elementary OS

Asked by Steve Greenwood

I have an HP Deskjet 4130e. Printing is fine in elementary OS7 but i can use the scanner.
Scanimage -L from the terminal prompt gives
Device escl:https://192.168.1.174:443 is a HP Deskjet 4100 series Platen,adf scanner.
lsusb at the terminal prompt gives all usb devices and identifies Deskjet 4100 series with a Bus number and a Device number.

Please can anyone assist me with actually installing the scanner driver into elementary OS

Thanks

Question information

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

that should be CANT use the scanner

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

Give the outputs of

  avahi-browse -rt _ipp._tcp
  avahi-browse -rt _uscan._tcp
  dpkg -l sane-airscan

Revision history for this message
Steve Greenwood (steveg99) said :
#3

Hi Brian
First commands response is

Command 'avahi-browse' not found, but can be installed with:
sudo apt install avahi-utils

Second Commands response is
Command 'avahi-browse' not found, but can be installed with:
sudo apt install avahi-utils

3rd command response is
Desired=Unknown/Install/Remove/Purge/Hold
|
Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-==============-===============-============-========================================================
ii sane-airscan 0.99.27-1build1 amd64 SANE backend for AirScan
(eSCL) and WSD document scanner

Hope this helps. whats my next action?
and thanks for your help,much appreciated
Regards
Steve

On Fri, Feb 10, 2023 at 7:50 PM brian_p <
<email address hidden>> wrote:

> Your question #705018 on HPLIP changed:
> https://answers.launchpad.net/hplip/+question/705018
>
> Status: Open => Needs information
>
> brian_p requested more information:
> Give the outputs of
>
> avahi-browse -rt _ipp._tcp
> avahi-browse -rt _uscan._tcp
> dpkg -l sane-airscan
>
> --
> To answer this request for more information, you can either reply to
> this email or enter your reply at the following page:
> https://answers.launchpad.net/hplip/+question/705018
>
> You received this question notification because you asked the question.
>

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

> sudo apt install avahi-utils

Do this and repeat the first two commands, giving their
outputs.

> ii sane-airscan

This package is already installed so there should be an
airscan entry in 'scanimage -L'. Try again?

Revision history for this message
Steve Greenwood (steveg99) said :
#5

Hi Brian
All below terminal runs were done with the printer connected both by USB
and the wireless active on the printer.
There is an airscan entry in scanimage -L output see below
1st Command

steveg@SamsungRV520:~$ avahi-browse -rt _ipp._tcp
+ wlp1s0 IPv6 HP DeskJet 4100 series [DB9302] Internet
Printer local
+ wlp1s0 IPv4 HP DeskJet 4100 series [DB9302] Internet
Printer local
+ lo IPv4 HP DeskJet 4100 series [DB9302] (USB) Internet
Printer local
= lo IPv4 HP DeskJet 4100 series [DB9302] (USB) Internet
Printer local
   hostname = [SamsungRV520.local]
   address = [127.0.0.1]
   port = [60000]
   txt = ["air=none" "mopria-certified=2.0" "rp=ipp/print" "priority=50"
"kind=document,envelope,photo,postcard" "PaperMax=legal-A4"
"URF=CP1,MT1-2-8-9-10-11,PQ3-4-5,RS300,SRGB24,OB9,OFU0,W8-16,DEVW8-16,DEVRGB24-48,ADOBERGB24-48,FN3,IS1,V1.5"
"UUID=162e2626-c241-7f9b-c1bd-08e50f011ec8" "Color=T" "Duplex=F" "note="
"qtotal=1" "usb_MDL=DeskJet 4100 series" "usb_MFG=HP"
"usb_CMD=PCL3GUI,PJL,Automatic,JPEG,PCLM,AppleRaster,PWGRaster,DW-PCL,802.11,DESKJET,DYN"
"ty=HP DeskJet 4100 series" "product=(HP DeskJet 4100 series)"
"pdl=application/vnd.hp-PCL,image/jpeg,application/PCLm,image/urf,image/pwg-raster,application/octet-stream"
"txtvers=1" "adminurl=http://localhost:60000/#hId-pgAirPrint" "Fax=F"
"Scan=T"]
= wlp1s0 IPv4 HP DeskJet 4100 series [DB9302] Internet
Printer local
   hostname = [HPA8B13BDB9302.local]
   address = [192.168.1.174]
   port = [631]
   txt = ["Scan=T" "Duplex=F" "Color=T"
"UUID=162e2626-c241-7f9b-c1bd-08e50f011ec8" "Fax=F" "TLS=1.2" "note="
"adminurl=http://HPA8B13BDB9302.local./#hId-pgAirPrint"
"mac=a8:b1:3b:db:93:02" "priority=20" "usb_MDL=DeskJet 4100 series"
"usb_MFG=HP" "product=(HP DeskJet 4100 series)" "ty=HP DeskJet 4100 series"
"mopria-certified=2.0"
"URF=CP1,MT1-2-8-9-10-11,PQ3-4-5,RS300,SRGB24,OB9,OFU0,W8-16,DEVW8-16,DEVRGB24-48,ADOBERGB24-48,FN3,IS1,V1.5"
"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"]
= wlp1s0 IPv6 HP DeskJet 4100 series [DB9302] Internet
Printer local
   hostname = [HPA8B13BDB9302.local]
   address = [192.168.1.174]
   port = [631]
   txt = ["Scan=T" "Duplex=F" "Color=T"
"UUID=162e2626-c241-7f9b-c1bd-08e50f011ec8" "Fax=F" "TLS=1.2" "note="
"adminurl=http://HPA8B13BDB9302.local./#hId-pgAirPrint"
"mac=a8:b1:3b:db:93:02" "priority=20" "usb_MDL=DeskJet 4100 series"
"usb_MFG=HP" "product=(HP DeskJet 4100 series)" "ty=HP DeskJet 4100 series"
"mopria-certified=2.0"
"URF=CP1,MT1-2-8-9-10-11,PQ3-4-5,RS300,SRGB24,OB9,OFU0,W8-16,DEVW8-16,DEVRGB24-48,ADOBERGB24-48,FN3,IS1,V1.5"
"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"]
=========================================================
2nd command
steveg@SamsungRV520:~$ avahi-browse -rt _uscan._tcp
+ wlp1s0 IPv6 HP DeskJet 4100 series [DB9302] _uscan._tcp
     local
+ wlp1s0 IPv4 HP DeskJet 4100 series [DB9302] _uscan._tcp
     local
+ lo IPv4 HP DeskJet 4100 series [DB9302] (USB) _uscan._tcp
     local
= wlp1s0 IPv4 HP DeskJet 4100 series [DB9302] _uscan._tcp
     local
   hostname = [HPA8B13BDB9302.local]
   address = [192.168.1.174]
   port = [8080]
   txt = ["duplex=F" "is=platen,adf" "cs=binary,color,grayscale" "rs=eSCL"
"representation=images/printer.png"
"UUID=162e2626-c241-7f9b-c1bd-08e50f011ec8" "note=" "adminurl=
http://HPA8B13BDB9302.local." "mac=a8:b1:3b:db:93:02" "priority=100"
"usb_MDL=DeskJet 4100 series" "usb_MFG=HP" "product=(HP DeskJet 4100
series)" "ty=HP DeskJet 4100 series"
"pdl=application/octet-stream,application/pdf,image/jpeg"
"mopria-certified-scan=1.3" "vers=2.63" "txtvers=1"]
= wlp1s0 IPv6 HP DeskJet 4100 series [DB9302] _uscan._tcp
     local
   hostname = [HPA8B13BDB9302.local]
   address = [192.168.1.174]
   port = [8080]
   txt = ["duplex=F" "is=platen,adf" "cs=binary,color,grayscale" "rs=eSCL"
"representation=images/printer.png"
"UUID=162e2626-c241-7f9b-c1bd-08e50f011ec8" "note=" "adminurl=
http://HPA8B13BDB9302.local." "mac=a8:b1:3b:db:93:02" "priority=100"
"usb_MDL=DeskJet 4100 series" "usb_MFG=HP" "product=(HP DeskJet 4100
series)" "ty=HP DeskJet 4100 series"
"pdl=application/octet-stream,application/pdf,image/jpeg"
"mopria-certified-scan=1.3" "vers=2.63" "txtvers=1"]
= lo IPv4 HP DeskJet 4100 series [DB9302] (USB) _uscan._tcp
     local
   hostname = [SamsungRV520.local]
   address = [127.0.0.1]
   port = [60000]
   txt = ["duplex=F" "is=platen,adf" "cs=binary,color,grayscale"
"UUID=162e2626-c241-7f9b-c1bd-08e50f011ec8" "adminurl=http://localhost:60000"
"representation=images/printer.png"
"pdl=application/octet-stream,application/pdf,image/jpeg" "ty=DeskJet 4100
series" "rs=eSCL" "vers=2.63" "txtvers=1"]
====================================================
steveg@SamsungRV520:~$ scanimage -L
device `escl:https://192.168.1.174:443' is a HP DeskJet 4100 series
[DB9302] platen,adf scanner
device `hpaio:/net/deskjet_4100_series?ip=192.168.1.174&queue=false' is a
Hewlett-Packard deskjet_4100_series all-in-one
device `airscan:e0:HP DeskJet 4100 series [DB9302]' is a eSCL HP DeskJet
4100 series [DB9302] ip=192.168.1.174
device `airscan:e1:HP DeskJet 4100 series [DB9302] (USB)' is a eSCL HP
DeskJet 4100 series [DB9302] (USB) ip=127.0.0.1

regards
Steve

On Sun, Feb 12, 2023 at 4:05 PM brian_p <
<email address hidden>> wrote:

> Your question #705018 on HPLIP changed:
> https://answers.launchpad.net/hplip/+question/705018
>
> Status: Open => Needs information
>
> brian_p requested more information:
> > sudo apt install avahi-utils
>
> Do this and repeat the first two commands, giving their
> outputs.
>
>
> > ii sane-airscan
>
> This package is already installed so there should be an
> airscan entry in 'scanimage -L'. Try again?
>
> --
> To answer this request for more information, you can either reply to
> this email or enter your reply at the following page:
> https://answers.launchpad.net/hplip/+question/705018
>
> You received this question notification because you asked the question.
>

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

Can you scan with

  simple-scan "airscan:e0:HP DeskJet 4100 series [DB9302]"

or

  simple-scan "airscan:e1:HP DeskJet 4100 series [DB9302] (USB)"

Revision history for this message
Steve Greenwood (steveg99) said :
#7

Hi Brian
I had to install Simple-Scan and then the first command line worked.
I can scan via the feeder and the flatbed with this document scanner app.
However Libre office writer does not insert...media....from scanner...... a
document from the scanner.As no scanner is even suggested in a little box.
Is there a way to make libre office find this scanner?
Thanks for all you help so far.
Regards
Steve

On Sun, Feb 12, 2023 at 6:50 PM brian_p <
<email address hidden>> wrote:

> Your question #705018 on HPLIP changed:
> https://answers.launchpad.net/hplip/+question/705018
>
> Status: Open => Needs information
>
> brian_p requested more information:
> Can you scan with
>
> simple-scan "airscan:e0:HP DeskJet 4100 series [DB9302]"
>
> or
>
> simple-scan "airscan:e1:HP DeskJet 4100 series [DB9302] (USB)"
>
> --
> To answer this request for more information, you can either reply to
> this email or enter your reply at the following page:
> https://answers.launchpad.net/hplip/+question/705018
>
> You received this question notification because you asked the question.
>

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

Sorry, I cannot help with the LibreOffice issue as I
never use it. It seems to me that your basic problem
should be marked as solved.

Revision history for this message
Steve Greenwood (steveg99) said :
#9

Hi Brian
Thanks for your assistance with this issue.
I will contact Libre Office support regarding the Insert command for a scanned document.