Scanner inoperable with Zorin OS 16.1 & Document Scanner

Asked by Jim K

1. Your Linux Distribution and version.

Zorin OS 16.1 (Ubuntu-based)

2. Your printer make/model.

Laser Jet Pro MFP M130fn

3. If possible, run 'hp-check -t' and post the output.

jim@EliteZorin:~$ hp-check -t
Saving output in log file: /home/jim/hp-check.log

HP Linux Imaging and Printing System (ver. 3.22.2)
Dependency/Version Check Utility ver. 15.1

Copyright (c) 2001-18 HP Development Company, LP
This software comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to distribute it
under certain conditions. See COPYING file for more details.

Note: hp-check can be run in three modes:
1. Compile-time check mode (-c or --compile): Use this mode before compiling the
HPLIP supplied tarball (.tar.gz or .run) to determine if the proper dependencies
are installed to successfully compile HPLIP.
2. Run-time check mode (-r or --run): Use this mode to determine if a distro
supplied package (.deb, .rpm, etc) or an already built HPLIP supplied tarball
has the proper dependencies installed to successfully run.
3. Both compile- and run-time check mode (-b or --both) (Default): This mode
will check both of the above cases (both compile- and run-time dependencies).

Check types:
a. EXTERNALDEP - External Dependencies
b. GENERALDEP - General Dependencies (required both at compile and run time)
c. COMPILEDEP - Compile time Dependencies
d. [All are run-time checks]
PYEXT SCANCONF QUEUES PERMISSION

Status Types:
    OK
    MISSING - Missing Dependency or Permission or Plug-in
    INCOMPAT - Incompatible dependency-version or Plugin-version

warning: zorin distro is not found in AUTH_TYPES
/Gtk-Message: 12:07:14.941: Failed to load module "canberra-gtk-module"
warning: unknown-16 version is not supported. Using unknown-0 versions dependencies to verify and install...

---------------
| SYSTEM INFO |
---------------

 Kernel: 5.15.0-41-generic #44~20.04.1-Ubuntu SMP Fri Jun 24 13:27:29 UTC 2022 GNU/Linux
 Host: EliteZorin
 Proc: 5.15.0-41-generic #44~20.04.1-Ubuntu SMP Fri Jun 24 13:27:29 UTC 2022 GNU/Linux
 Distribution: unknown 16
 Bitness: 64 bit

-----------------------
| HPLIP CONFIGURATION |
-----------------------

HPLIP-Version: HPLIP 3.22.2
HPLIP-Home: /usr/share/hplip
warning: HPLIP-Installation: Auto installation is not supported for unknown distro 16 version

Current contents of '/etc/hp/hplip.conf' file:
# hplip.conf. Generated from hplip.conf.in by configure.

[hplip]
version=3.22.2

[dirs]
home=/usr/share/hplip
run=/var/run
ppd=/usr/share/ppd/hplip/HP
ppdbase=/usr/share/ppd/hplip
doc=/usr/share/doc/hplip-3.22.2
html=/usr/share/doc/hplip-3.22.2
icon=/usr/share/applications
cupsbackend=/usr/lib/cups/backend
cupsfilter=/usr/lib/cups/filter
drv=/usr/share/cups/drv/hp
bin=/usr/bin
apparmor=/etc/apparmor.d
# Following values are determined at configure time and cannot be changed.
[configure]
network-build=yes
libusb01-build=no
pp-build=no
gui-build=yes
scanner-build=yes
fax-build=yes
dbus-build=yes
cups11-build=no
doc-build=yes
shadow-build=no
hpijs-install=no
foomatic-drv-install=no
foomatic-ppd-install=no
foomatic-rip-hplip-install=no
hpcups-install=yes
cups-drv-install=yes
cups-ppd-install=no
internal-tag=3.22.2
restricted-build=no
ui-toolkit=qt5
qt3=no
qt4=no
qt5=yes
policy-kit=no
lite-build=no
udev_sysfs_rules=no
hpcups-only-build=no
hpijs-only-build=no
apparmor_build=yes
class-driver=no

Current contents of '/var/lib/hp/hplip.state' file:
Plugins are not installed. Could not access file: No such file or directory

Current contents of '~/.hplip/hplip.conf' file:
[commands]
scan = /usr/bin/simple-scan %SANE_URI%

[fax]
email_address =
voice_phone =

[last_used]
device_uri =
printer_name =
working_dir =

[polling]
device_list =
enable = false
interval = 5

[refresh]
enable = false
rate = 30
type = 1

[settings]
systray_messages = 0
systray_visible = 0

[upgrade]
last_upgraded_time = 1646687923
latest_available_version = 3.17.10
notify_upgrade = false
pending_upgrade_time = 0

[installation]
date_time = 07/31/22 12:07:15
version = 3.22.2

 <Package-name> <Package-Desc> <Required/Optional> <Min-Version> <Installed-Version> <Status> <Comment>

-------------------------
| External Dependencies |
-------------------------

 error: cups CUPS - Common Unix Printing System REQUIRED 1.1 - INCOMPAT 'CUPS may not be installed or not running'
 gs GhostScript - PostScript and PDF language interpreter and previewer REQUIRED 7.05 9.50 OK -
Gtk-Message: 12:07:16.742: Failed to load module "canberra-gtk-module"
Gtk-Message: 12:07:16.778: Failed to load module "canberra-gtk-module"
 xsane xsane - Graphical scanner frontend for SANE OPTIONAL 0.9 0.999 OK -
 scanimage scanimage - Shell scanning program OPTIONAL 1.0 1.0.29 OK -
 dbus DBus - Message bus system REQUIRED - 1.12.16 OK -
 policykit PolicyKit - Administrative policy framework OPTIONAL - 0.105 OK -
 network network -wget OPTIONAL - 1.20.3 OK -
 avahi-utils avahi-utils OPTIONAL - 0.7 OK -

------------------------
| General Dependencies |
------------------------

 libjpeg libjpeg - JPEG library REQUIRED - - OK -
 cups-devel CUPS devel- Common Unix Printing System development files REQUIRED - - OK -
 cups-image CUPS image - CUPS image development files REQUIRED - - OK -
 libpthread libpthread - POSIX threads library REQUIRED - b'2.31' OK -
 libusb libusb - USB library REQUIRED - 1.0 OK -
 sane SANE - Scanning library REQUIRED - - OK -
 sane-devel SANE - Scanning library development files REQUIRED - - OK -
 libnetsnmp-devel libnetsnmp-devel - SNMP networking library development files REQUIRED 5.0.9 5.8 OK -
 libcrypto libcrypto - OpenSSL cryptographic library REQUIRED - 1.1.1 OK -
 python3X Python 2.2 or greater - Python programming language REQUIRED 2.2 3.8.10 OK -
 python3-notify2 Python libnotify - Python bindings for the libnotify Desktop notifications OPTIONAL - - OK -
 error: python3-pyqt4-dbus PyQt 4 DBus - DBus Support for PyQt4 OPTIONAL 4.0 - MISSING 'python3-pyqt4-dbus needs to be installed'
 error: python3-pyqt4 PyQt 4- Qt interface for Python (for Qt version 4.x) REQUIRED 4.0 - MISSING 'python3-pyqt4 needs to be installed'
 python3-dbus Python DBus - Python bindings for DBus REQUIRED 0.80.0 1.2.16 OK -
 python3-xml Python XML libraries REQUIRED - 2.2.9 OK -
 python3-devel Python devel - Python development files REQUIRED 2.2 3.8.10 OK -
 python3-pil PIL - Python Imaging Library (required for commandline scanning with hp-scan) OPTIONAL - 9.0.1 OK -
 python3-reportlab Reportlab - PDF library for Python OPTIONAL 2.0 3.6.7 OK -

--------------
| COMPILEDEP |
--------------

 libtool libtool - Library building support services REQUIRED - 2.4.6 OK -
 gcc gcc - GNU Project C and C++ Compiler REQUIRED - 9.4.0 OK -
 make make - GNU make utility to maintain groups of programs REQUIRED 3.0 4.2.1 OK -

---------------------
| Python Extentions |
---------------------

 cupsext CUPS-Extension REQUIRED - 3.22.2 OK -
 hpmudext IO-Extension REQUIRED - 3.22.2 OK -

----------------------
| Scan Configuration |
----------------------

 hpaio HPLIP-SANE-Backend REQUIRED - 3.22.2 OK 'hpaio found in /etc/sane.d/dll.conf'
 scanext Scan-SANE-Extension REQUIRED - 3.22.2 OK -

------------------------------
| DISCOVERED SCANNER DEVICES |
------------------------------

device `hpaio:/usb/HP_LaserJet_MFP_M129-M134?serial=VND3K18072' is a Hewlett-Packard HP_LaserJet_MFP_M129-M134 all-in-one
device `hpaio:/net/hp_laserjet_mfp_m129-m134?ip=169.254.250.136&queue=false' is a Hewlett-Packard hp_laserjet_mfp_m129-m134 all-in-one
device `escl:http://169.254.250.136:8080' is a ESCL HP LaserJet MFP M130fn (C1F054) flatbed scanner

--------------------------
| DISCOVERED USB DEVICES |
--------------------------

  Device URI Model
  -------------------------------- -------------------------
  hp:/usb/HP_LaserJet_MFP_M129-M13 HP LaserJet MFP M129-M134
  4?serial=VND3K18072

---------------------------------
| INSTALLED CUPS PRINTER QUEUES |
---------------------------------

HP-LaserJet-MFP-M129-M134
-------------------------
Type: Printer
Device URI: hp:/usb/HP_LaserJet_MFP_M129-M134?serial=VND3K18072
PPD: /etc/cups/ppd/HP-LaserJet-MFP-M129-M134.ppd
warning: Failed to read /etc/cups/ppd/HP-LaserJet-MFP-M129-M134.ppd ppd file
PPD Description:
Printer status: printer HP-LaserJet-MFP-M129-M134 is idle. enabled since Sat 09 Jul 2022 09:58:50 PM PDT
Communication status: Good

HP_LaserJet_MFP_M130fn_C1F054_
------------------------------
Type: Unknown
Device URI: implicitclass://HP_LaserJet_MFP_M130fn_C1F054_/
PPD: /etc/cups/ppd/HP_LaserJet_MFP_M130fn_C1F054_.ppd
warning: Failed to read /etc/cups/ppd/HP_LaserJet_MFP_M130fn_C1F054_.ppd ppd file
PPD Description:
Printer status: printer HP_LaserJet_MFP_M130fn_C1F054_ is idle. enabled since Sun 31 Jul 2022 11:37:36 AM PDT
warning: Printer is not HPLIP installed. Printers must use the hp: or hpfax: CUPS backend for HP-Devices.

--------------
| PERMISSION |
--------------

USB HP-LaserJet-MFP-M129-M134 Required - - OK Node:'/dev/bus/usb/001/011' Perm:' root lp rw- rw- rw- rw- r--'

-----------
| SUMMARY |
-----------

Missing Required Dependencies
-----------------------------
None

Missing Optional Dependencies
-----------------------------
None

Total Errors: 3
Total Warnings: 1

Done.

4. A detailed explanation of your problem.

I am unable to use the scanner from Zorin Linux. Document Scanner recognizes the scanner is there but is unable to scan. Under some conditions the scanner is scanning (audible) but the data is not sent to the computer. I have tried many many things to fix it but nothing has worked. I have tried removing HPLIP, installing different versions of HPLIP, and USB connection, and Ethernet connection, and BOTH connections. In some conditions Document Scanner says "Plug-in required" and it asks if I would like to download it from HP, and I say yes, and it says "Unable to detect network" even though my Ethernet connection is active. On the HPLIP website I cannot find a way to download the plug-in required for the scanner.

5. Steps to recreate the problem.

(a) Install Zorin OS 16.1 core and turn computer ON

(b) Connect the printer by USB or Ethernet or both, and turn printer ON

(c) Run Document Scanner

(d) Select printer

(e) Select SCAN

(f) Shake head in disappointment

Question information

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

We should be able to get your head nodding! With an ethernet
connection give

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

Revision history for this message
Jim K (jimofadel) said :
#2

Thanks for your help.
I assumed those were console commands, but they are getting rejected by my
system:

jim@EliteZorin:~$ avahi-browse -rt_ipp._tcp
avahi-browse: invalid option -- '_'

jim@EliteZorin:~$ avahi-browse -rt_uscan._tcp
avahi-browse: invalid option -- '_'

jim@EliteZorin:~$ avahi-browse -rt-ipp.-tcp
avahi-browse: invalid option -- '-'

I tried a few variations with 'dash' and 'underscore' but none worked.
avahi-browse man page didn't help, but that may be my lack of familiarity
with this.

What do you suggest?

Jim K.

On Mon, Aug 1, 2022 at 9:41 AM brian_p <email address hidden>
wrote:

> Your question #702614 on HPLIP changed:
> https://answers.launchpad.net/hplip/+question/702614
>
> Status: Open => Needs information
>
> brian_p requested more information:
> We should be able to get your head nodding! With an ethernet
> connection give
>
> avahi-browse -rt _ipp._tcp
> avahi-browse -rt _uscan._tcp
>
> --
> 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/702614
>
> You received this question notification because you asked the question.
>

Revision history for this message
Manfred Hampl (m-hampl) said :
#3

You are missing space characters between -rt and underscore

Revision history for this message
Jim K (jimofadel) said :
#4

Thank you; I appreciate the help -- now those commands work. Here are the
results:

jim@EliteZorin:~$ avahi-browse -rt _ipp._tcp
+ eno1 IPv6 HP LaserJet MFP M130fn (C1F054) Internet
Printer local
+ eno1 IPv4 HP LaserJet MFP M130fn (C1F054) Internet
Printer local
= eno1 IPv6 HP LaserJet MFP M130fn (C1F054) Internet
Printer local
   hostname = [NPIC1F054.local]
   address = [169.254.250.136]
   port = [631]
   txt = ["mopria-certified=1.3" "mac=b4:b6:86:c1:f0:54" "usb_MDL=HP
LaserJet MFP M129-M134" "usb_MFG=HP" "TLS=1.2" "PaperMax=legal-A4"
"kind=document,envelope,photo" "UUID=564e4433-4b31-3830-3732-b4b686c1f054"
"Fax=T" "Scan=T" "Duplex=F" "Color=F" "note=unitedStates" "adminurl=
http://NPIC1F054.local./hp/device/info_config_AirPrint.html?tab=Networking&menu=AirPrintStatus"
"priority=10" "product=(HP LaserJet MFP M129-M134)" "ty=HP LaserJet MFP
M129-M134" "URF=V1.4,CP99,W8,OB10,PQ3-4-5,IS1,MT1-3-5,RS600"
"rfo=ipp/faxout" "rp=ipp/print"
"pdl=image/urf,application/PCLm,application/octet-stream" "qtotal=1"
"txtvers=1"]
= eno1 IPv4 HP LaserJet MFP M130fn (C1F054) Internet
Printer local
   hostname = [NPIC1F054.local]
   address = [169.254.250.136]
   port = [631]
   txt = ["mopria-certified=1.3" "mac=b4:b6:86:c1:f0:54" "usb_MDL=HP
LaserJet MFP M129-M134" "usb_MFG=HP" "TLS=1.2" "PaperMax=legal-A4"
"kind=document,envelope,photo" "UUID=564e4433-4b31-3830-3732-b4b686c1f054"
"Fax=T" "Scan=T" "Duplex=F" "Color=F" "note=unitedStates" "adminurl=
http://NPIC1F054.local./hp/device/info_config_AirPrint.html?tab=Networking&menu=AirPrintStatus"
"priority=10" "product=(HP LaserJet MFP M129-M134)" "ty=HP LaserJet MFP
M129-M134" "URF=V1.4,CP99,W8,OB10,PQ3-4-5,IS1,MT1-3-5,RS600"
"rfo=ipp/faxout" "rp=ipp/print"
"pdl=image/urf,application/PCLm,application/octet-stream" "qtotal=1"
"txtvers=1"]

jim@EliteZorin:~$ avahi-browse -rt _uscan._tcp
+ eno1 IPv6 HP LaserJet MFP M130fn (C1F054) _uscan._tcp
     local
+ eno1 IPv4 HP LaserJet MFP M130fn (C1F054) _uscan._tcp
     local
= eno1 IPv6 HP LaserJet MFP M130fn (C1F054) _uscan._tcp
     local
   hostname = [NPIC1F054.local]
   address = [169.254.250.136]
   port = [8080]
   txt = ["note=unitedStates" "duplex=F" "is=platen,adf"
"cs=color,grayscale" "pdl=application/pdf,image/jpeg"
"uuid=564e4433-4b31-3830-3732-b4b686c1f054" "rs=eSCL" "representation=
http://NPIC1F054.local/ipp/images/printer.png" "vers=2.5" "usb_MDL=HP
LaserJet MFP M129-M134" "usb_MFG=HP" "mdl=LaserJet MFP M129-M134" "mfg=HP"
"ty=HP LaserJet MFP M129-M134" "adminurl=http://NPIC1F054.local."
"txtvers=1"]
= eno1 IPv4 HP LaserJet MFP M130fn (C1F054) _uscan._tcp
     local
   hostname = [NPIC1F054.local]
   address = [169.254.250.136]
   port = [8080]
   txt = ["note=unitedStates" "duplex=F" "is=platen,adf"
"cs=color,grayscale" "pdl=application/pdf,image/jpeg"
"uuid=564e4433-4b31-3830-3732-b4b686c1f054" "rs=eSCL" "representation=
http://NPIC1F054.local/ipp/images/printer.png" "vers=2.5" "usb_MDL=HP
LaserJet MFP M129-M134" "usb_MFG=HP" "mdl=LaserJet MFP M129-M134" "mfg=HP"
"ty=HP LaserJet MFP M129-M134" "adminurl=http://NPIC1F054.local."
"txtvers=1"]

--Jim K.

On Tue, Aug 2, 2022 at 12:25 AM Manfred Hampl <
<email address hidden>> wrote:

> Your question #702614 on HPLIP changed:
> https://answers.launchpad.net/hplip/+question/702614
>
> Manfred Hampl posted a new comment:
> You are missing space characters between -rt and underscore
>
> --
> You received this question notification because you asked the question.
>

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

Thanks for the info. Sorry for the typos. Thanks Manfred.

You have a printer that provides AirPrint v1.4. Download and install
sane-airscan from

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

For USB you will need ipp-usb too.

Ubuntu 22.04 has these packages as standard; a future Zorin will
have them too.

Now, please give

  scanimage -l
  airscan-discover

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

Another typo! It is

  scanimage -L

Revision history for this message
Jim K (jimofadel) said :
#7

OK, here are the results of those two commands --

jim@EliteZorin:~$ scanimage -L
device `hpaio:/usb/HP_LaserJet_MFP_M129-M134?serial=VND3K18072' is a
Hewlett-Packard HP_LaserJet_MFP_M129-M134 all-in-one
device
`hpaio:/net/hp_laserjet_mfp_m129-m134?ip=169.254.250.136&queue=false' is a
Hewlett-Packard hp_laserjet_mfp_m129-m134 all-in-one
device `escl:http://169.254.250.136:8080' is a ESCL HP LaserJet MFP M130fn
(C1F054) flatbed scanner

jim@EliteZorin:~$ airscan-discover
[devices]
  HP LaserJet MFP M130fn (C1F054) = http://169.254.250.136:8080/eSCL/, eSCL
  HP LaserJet MFP M130fn (C1F054) =
http://[fe80::b6b6:86ff:fec1:f054%252]:53048/,
WSD
  HP LaserJet MFP M130fn (C1F054) = http://169.254.250.136:53048/, WSD
jim@EliteZorin:~$

Thanks for your help on this.
--Jim K.

On Tue, Aug 2, 2022 at 11:41 AM brian_p <
<email address hidden>> wrote:

> Your question #702614 on HPLIP changed:
> https://answers.launchpad.net/hplip/+question/702614
>
> Status: Open => Needs information
>
> brian_p requested more information:
> Thanks for the info. Sorry for the typos. Thanks Manfred.
>
> You have a printer that provides AirPrint v1.4. Download and install
> sane-airscan from
>
> https://download.opensuse.org/repositories/home:/pzz/xUbuntu_20.04/amd64/
>
> For USB you will need ipp-usb too.
>
> Ubuntu 22.04 has these packages as standard; a future Zorin will
> have them too.
>
> Now, please give
>
> scanimage -l
> airscan-discover
>
> --
> 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/702614
>
> You received this question notification because you asked the question.
>

Revision history for this message
Jim K (jimofadel) said :
#8

Note: The MFP has both Ethernet and USB connections active.

On Wed, Aug 3, 2022 at 5:46 PM Jim K <email address hidden> wrote:

> OK, here are the results of those two commands --
>
> jim@EliteZorin:~$ scanimage -L
> device `hpaio:/usb/HP_LaserJet_MFP_M129-M134?serial=VND3K18072' is a
> Hewlett-Packard HP_LaserJet_MFP_M129-M134 all-in-one
> device
> `hpaio:/net/hp_laserjet_mfp_m129-m134?ip=169.254.250.136&queue=false' is a
> Hewlett-Packard hp_laserjet_mfp_m129-m134 all-in-one
> device `escl:http://169.254.250.136:8080' is a ESCL HP LaserJet MFP
> M130fn (C1F054) flatbed scanner
>
> jim@EliteZorin:~$ airscan-discover
> [devices]
> HP LaserJet MFP M130fn (C1F054) = http://169.254.250.136:8080/eSCL/,
> eSCL
> HP LaserJet MFP M130fn (C1F054) = http://[fe80::b6b6:86ff:fec1:f054%252]:53048/,
> WSD
> HP LaserJet MFP M130fn (C1F054) = http://169.254.250.136:53048/, WSD
> jim@EliteZorin:~$
>
> Thanks for your help on this.
> --Jim K.
>
> On Tue, Aug 2, 2022 at 11:41 AM brian_p <
> <email address hidden>> wrote:
>
>> Your question #702614 on HPLIP changed:
>> https://answers.launchpad.net/hplip/+question/702614
>>
>> Status: Open => Needs information
>>
>> brian_p requested more information:
>> Thanks for the info. Sorry for the typos. Thanks Manfred.
>>
>> You have a printer that provides AirPrint v1.4. Download and install
>> sane-airscan from
>>
>> https://download.opensuse.org/repositories/home:/pzz/xUbuntu_20.04/amd64/
>>
>> For USB you will need ipp-usb too.
>>
>> Ubuntu 22.04 has these packages as standard; a future Zorin will
>> have them too.
>>
>> Now, please give
>>
>> scanimage -l
>> airscan-discover
>>
>> --
>> 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/702614
>>
>> You received this question notification because you asked the question.
>>
>

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

airsan-discover has discovered that the M130fn understands the eSCL
and WSD protocols. eSCL is expected because there is an output from
'avahi-browse -rt _uscan._tcp'.

> HP LaserJet MFP M130fn (C1F054) = http://169.254.250.136:8080/eSCL/, eSCL
> HP LaserJet MFP M130fn (C1F054) = http://169.254.250.136:53048/, WSD

Therefore 'scanimage -L' should show a device beginning with 'airscan:e0... .
But it doesn't!

At the same time 'scanimage -L' has 'device `escl:http://169.254.250.136:8080'.
escl is a SANE backend that also uses the eSCL protocol. Why this but not an
entry for the airscan backend?

Let's revert to the HPLIP plugin route. Download the plugin run file for your
HPLIP version from

 https://www.openprinting.org/download/printdriver/auxfiles/HP/plugins/

Then do

 sh plugin_file

How does that go?

Back to sane-airscan. Find the [options] section in /etc/sane.d/airscan.conf
and add 'protocol = manual' to it. Run 'scanimage -L'. I am only interested
in whether airscan is in the output.

Revision history for this message
Jim K (jimofadel) said :
#10

I modified airscan.conf as suggested, and here is the airscan test:
jim@EliteZorin:~$ scanimage -L
device `hpaio:/usb/HP_LaserJet_MFP_M129-M134?serial=VND3K18072' is a
Hewlett-Packard HP_LaserJet_MFP_M129-M134 all-in-one
device
`hpaio:/net/hp_laserjet_mfp_m129-m134?ip=169.254.250.136&queue=false' is a
Hewlett-Packard hp_laserjet_mfp_m129-m134 all-in-one
device `escl:http://fe80::b6b6:86ff:fec1:f054:8080' is a ESCL HP LaserJet
MFP M130fn (C1F054) flatbed scanner
device `escl:http://169.254.250.136:8080' is a ESCL HP LaserJet MFP M130fn
(C1F054) flatbed scanner
device `airscan:e0:HP LaserJet MFP M130fn (C1F054)' is a eSCL HP LaserJet
MFP M130fn (C1F054) ip=169.254.250.136
device `airscan:w1:HP LaserJet MFP M130fn (C1F054)' is a WSD HP LaserJet
MFP M130fn (C1F054) ip=169.254.250.136, fe80::b6b6:86ff:fec1:f054%2
jim@EliteZorin:~$

As to the hplip plug-in, the version of hplip that I have installed is what
is available in the Zorin software catalog. The source is snapcraft.io,
and the version is 1.0. In your download plug-in link I don't see a plugin
link for this version. I could remove that version and do an apt install
and see what version I get that way...
When I try to scan from Document Scanner, it says "you need a plug-in" and
when I choose "download from HP", it says "Network connection not
detected", and there is no path forward.
Thanks for your help. I hope it is of some use to you to see what is going
on here, and that it will in the end benefit others. BTW - I worked for HP
for 50 years.
--Jim K.

On Thu, Aug 4, 2022 at 5:56 AM brian_p <email address hidden>
wrote:

> Your question #702614 on HPLIP changed:
> https://answers.launchpad.net/hplip/+question/702614
>
> Status: Open => Needs information
>
> brian_p requested more information:
> airsan-discover has discovered that the M130fn understands the eSCL
> and WSD protocols. eSCL is expected because there is an output from
> 'avahi-browse -rt _uscan._tcp'.
>
> > HP LaserJet MFP M130fn (C1F054) = http://169.254.250.136:8080/eSCL/,
> eSCL
> > HP LaserJet MFP M130fn (C1F054) = http://169.254.250.136:53048/, WSD
>
> Therefore 'scanimage -L' should show a device beginning with
> 'airscan:e0... .
> But it doesn't!
>
> At the same time 'scanimage -L' has 'device `escl:
> http://169.254.250.136:8080'.
> escl is a SANE backend that also uses the eSCL protocol. Why this but not
> an
> entry for the airscan backend?
>
> Let's revert to the HPLIP plugin route. Download the plugin run file for
> your
> HPLIP version from
>
> https://www.openprinting.org/download/printdriver/auxfiles/HP/plugins/
>
> Then do
>
> sh plugin_file
>
> How does that go?
>
> Back to sane-airscan. Find the [options] section in
> /etc/sane.d/airscan.conf
> and add 'protocol = manual' to it. Run 'scanimage -L'. I am only interested
> in whether airscan is in the output.
>
> --
> 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/702614
>
> You received this question notification because you asked the question.
>

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

I am unfamiliar with Zorin and am basing my advice on what I
know about Ubuntu 20.04. I also do not know where snapcraft.io
fits into the picture. The HPLIP version being used should be
given by

  dpkg -l hplip

Can you scan with

  simple-scan "airscan:e0:HP LaserJet MFP M130fn (C1F054)"
or
  simple-scan "airscan:w1:HP LaserJet MFP M130fn (C1F054)" ?

simple-scan (which is the same as Document Scanner) may be
replaced with xsane.

Revision history for this message
Jim K (jimofadel) said :
#12

Brian --
You made my head nod.
simple-scan "airscan:w1:HP LaserJet MFP M130fn (C1F054)"
The above WORKS. Scans, copies to computer, saves image.

*There are other things that work now*. The Gui version of simple-scan
"Document Scanner" now finds FIVE different scanners.
1. WSD HP LaserJet MFP M130fn (C14054) works !
2. eSCL HP LaserJet MFP M130fn (C1F054) works !
3. ESCL HP LaserJet MFP M130fn (C1F054) does *not* work
4. HP HP_LaserJet_MFP_M129-M134 does *not* work - (can't get plug-in)
HP hp_laserjet_mfp_m129-m134 does not work - (can't get plug-in)

Note: I think there was a re-boot in between my last tests reported to you
and the above tests. Maybe that change to that .conf file wasn't active in
 previous tests. Both USB and Ethernet are connected to the MFP.

My last request would be for a suggestion on what I can put in my notes
under "What to do if the scanner stops working." Also it would be helpful
if you can describe what was wrong before. And also, since I can PRINT
without hplip, is it now the case that I don't need hplip at all? (I
don't use FAX.)
Thanks very much for all your effort on this.
--Jim K.
P.S. Zorin OS 16.1 is just Ubuntu with a different DE and maybe different
software included. There is a free version and a $35 version that comes
with staff support. I have the free version.

On Fri, Aug 5, 2022 at 2:41 AM brian_p <email address hidden>
wrote:

> Your question #702614 on HPLIP changed:
> https://answers.launchpad.net/hplip/+question/702614
>
> Status: Open => Needs information
>
> brian_p requested more information:
> I am unfamiliar with Zorin and am basing my advice on what I
> know about Ubuntu 20.04. I also do not know where snapcraft.io
> fits into the picture. The HPLIP version being used should be
> given by
>
> dpkg -l hplip
>
> Can you scan with
>
> simple-scan "airscan:e0:HP LaserJet MFP M130fn (C1F054)"
> or
> simple-scan "airscan:w1:HP LaserJet MFP M130fn (C1F054)" ?
>
> simple-scan (which is the same as Document Scanner) may be
> replaced with xsane.
>
> --
> 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/702614
>
> You received this question notification because you asked the question.
>

Revision history for this message
Jim K (jimofadel) said :
#13

Brian --
I think I left this out:
"simple-scan "airscan:e0:HP LaserJet MFP M130fn (C1F054)" does NOT work.

On Fri, Aug 5, 2022 at 3:50 PM Jim K <email address hidden>
wrote:

> Your question #702614 on HPLIP changed:
> https://answers.launchpad.net/hplip/+question/702614
>
> Status: Needs information => Open
>
> You gave more information on the question:
> Brian --
> You made my head nod.
> simple-scan "airscan:w1:HP LaserJet MFP M130fn (C1F054)"
> The above WORKS. Scans, copies to computer, saves image.
>
> *There are other things that work now*. The Gui version of simple-scan
> "Document Scanner" now finds FIVE different scanners.
> 1. WSD HP LaserJet MFP M130fn (C14054) works !
> 2. eSCL HP LaserJet MFP M130fn (C1F054) works !
> 3. ESCL HP LaserJet MFP M130fn (C1F054) does *not* work
> 4. HP HP_LaserJet_MFP_M129-M134 does *not* work - (can't get plug-in)
> HP hp_laserjet_mfp_m129-m134 does not work - (can't get plug-in)
>
> Note: I think there was a re-boot in between my last tests reported to you
> and the above tests. Maybe that change to that .conf file wasn't active in
> previous tests. Both USB and Ethernet are connected to the MFP.
>
> My last request would be for a suggestion on what I can put in my notes
> under "What to do if the scanner stops working." Also it would be helpful
> if you can describe what was wrong before. And also, since I can PRINT
> without hplip, is it now the case that I don't need hplip at all? (I
> don't use FAX.)
> Thanks very much for all your effort on this.
> --Jim K.
> P.S. Zorin OS 16.1 is just Ubuntu with a different DE and maybe different
> software included. There is a free version and a $35 version that comes
> with staff support. I have the free version.
>
> On Fri, Aug 5, 2022 at 2:41 AM brian_p <
> <email address hidden>>
> wrote:
>
> > Your question #702614 on HPLIP changed:
> > https://answers.launchpad.net/hplip/+question/702614
> >
> > Status: Open => Needs information
> >
> > brian_p requested more information:
> > I am unfamiliar with Zorin and am basing my advice on what I
> > know about Ubuntu 20.04. I also do not know where snapcraft.io
> > fits into the picture. The HPLIP version being used should be
> > given by
> >
> > dpkg -l hplip
> >
> > Can you scan with
> >
> > simple-scan "airscan:e0:HP LaserJet MFP M130fn (C1F054)"
> > or
> > simple-scan "airscan:w1:HP LaserJet MFP M130fn (C1F054)" ?
> >
> > simple-scan (which is the same as Document Scanner) may be
> > replaced with xsane.
> >
> > --
> > 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/702614
> >
> > You received this question notification because you asked the question.
> >
>
> --
> You received this question notification because you asked the question.
>

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

> 1. WSD HP LaserJet MFP M130fn (C14054) works !
> 2. eSCL HP LaserJet MFP M130fn (C1F054) works !

Splendid! I reckon that is sufficient to mark this issue as solved.

> 3. ESCL HP LaserJet MFP M130fn (C1F054) does *not* work

Probably a bug in SANE's escl backend. The entry may function
when Zorin updates to Ubuntu 22.04.

The HP entries are not really of any use to you without a plugin.
They could be dispensed with by doing

  sudo apt purge libsane-hpaio

Actually, as you correctly deduce, you don't need any of hplip at all.
An updated Zorin will also update sane-airscan and ipp-usb.

I do not know what was wrong before, but one wonders whether the
printer's firmware is bug-free. See my next post. To help with your
notes read about IPP-over-USB, eSCL and WSD at

  https://wiki.debian.org/CUPSDriverlessPrinting
  https://wiki.debian.org/SaneOverNetwork

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

Hello Jim,

Something is bothering me. You have

> 2. eSCL HP LaserJet MFP M130fn (C1F054) works !

That would be expected because there is a _uscan._tcp service
provided by the M130fn and, indeed, the airscan backend is
making use of it to give what is above.

However, you also have

> "simple-scan "airscan:e0:HP LaserJet MFP M130fn (C1F054)" does NOT work.

There is a double quote (") before the s of simple-scan. It should
not be there. Did you type this as part of the command? If not and

  simple-scan "airscan:e0:HP LaserJet MFP M130fn (C1F054)"

still does not work, it is unexpected because the command does
exactly the same as the Gui version of simple-scan. Please check
again and try

  xsane "airscan:e0:HP LaserJet MFP M130fn (C1F054)"

Revision history for this message
Jim K (jimofadel) said :
#16

Good catch --
The following DOES work.
simple-scan "airscan:e0:HP LaserJet MFP M130fn (C1F054)"
I must have included the extra double quote as you suggest.
Do you think that the change we made to airscan.conf is what fixed this
problem?
That seems to be the only change I made to the system, except that I ran
several diagnostics . Is there any downside to leaving that change in
place, if it is not what fixed the problem?
I will check out the references you gave in your last email, save all of
your emails, and I'll go to launchpad and confirm the issue is resolved.
Thanks again.
--Jim K.

On Sat, Aug 6, 2022 at 5:55 AM brian_p <email address hidden>
wrote:

> Your question #702614 on HPLIP changed:
> https://answers.launchpad.net/hplip/+question/702614
>
> brian_p posted a new comment:
> Hello Jim,
>
> Something is bothering me. You have
>
> > 2. eSCL HP LaserJet MFP M130fn (C1F054) works !
>
> That would be expected because there is a _uscan._tcp service
> provided by the M130fn and, indeed, the airscan backend is
> making use of it to give what is above.
>
> However, you also have
>
> > "simple-scan "airscan:e0:HP LaserJet MFP M130fn (C1F054)" does NOT
> work.
>
> There is a double quote (") before the s of simple-scan. It should
> not be there. Did you type this as part of the command? If not and
>
> simple-scan "airscan:e0:HP LaserJet MFP M130fn (C1F054)"
>
> still does not work, it is unexpected because the command does
> exactly the same as the Gui version of simple-scan. Please check
> again and try
>
> xsane "airscan:e0:HP LaserJet MFP M130fn (C1F054)"
>
> --
> You received this question notification because you asked the question.
>

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

> Do you think that the change we made to airscan.conf is what fixed this
problem?

The change allows you to have entries to use eSCL or WSD for scanning.
Normally it is sufficient to have eSCL only, so try reverting the change.
However, there shouldn't be any downside to leaving it in place as far as
being able to scan is concerned.

Thanks for your engagement.

Revision history for this message
Jim K (jimofadel) said :
#18

Scanner is working now.