Installed hplip 3.19.8, and now my printer doesn't work

Asked by David C. Bryant on 2019-09-01

I'm trying to get holip to run under openSUSE Tumbleweed distro.

I couldn't get the version (3.19.6) that came with my distro to install my printer, so I downloaded and installed 3.19.8 using the "sh hplip-3.19.8.run" command. It had a couple of unresolved optional dependencies, but otherwise seemed OK.

I can run hp-setup from the command line with the -i (interactive) option, and that all looks OK. Here's the output.

---------------------------------------------------------------------------------------------------------------------------------------------------------------------------
david@install:~> hp-setup -i 192.168.1.5

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

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: Defaults for each question are maked with a '*'. Press <enter> to accept the default.)

Setting up device: hp:/net/HP_LaserJet_M1522nf_MFP?ip=192.168.1.5

------------------------
| PLUG-IN INSTALLATION |
------------------------

HP Linux Imaging and Printing System (ver. 3.19.8)
Plugin Download and Install Utility ver. 2.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.

HP Linux Imaging and Printing System (ver. 3.19.8)
Plugin Download and Install Utility ver. 2.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: Defaults for each question are maked with a '*'. Press <enter> to accept the default.)

-----------------------------------------
| PLUG-IN INSTALLATION FOR HPLIP 3.19.8 |
-----------------------------------------

  Option Description
  ---------- --------------------------------------------------
  d Download plug-in from HP (recommended)
  p Specify a path to the plug-in (advanced)
  q Quit hp-plugin (skip installation)

Enter option (d=download*, p=specify path, q=quit) ? d

-------------------
| DOWNLOAD PLUGIN |
-------------------

Checking for network connection...
Downloading plug-in from:
Downloading plug-in: [\ ] 0% Plugin is not accessible. Trying to download it from fallback location: [https://developers.hp.com/sites/default/files/hplip-3.19.8-plugin.run]
Receiving digital keys: /usr/bin/gpg --homedir /home/david/.hplip/.gnupg --no-permission-warning --keyserver pgp.mit.edu --recv-keys 0x4ABA2F66DBD5A95894910E0673D770CDA59047B9
()
error: Unable to recieve key from keyserver
Do you still want to install the plug-in? (y=yes, n=no*, q=quit) ? y

----------------------
| INSTALLING PLUG-IN |
----------------------

Creating directory plugin_tmp
Verifying archive integrity... All good.
Uncompressing HPLIP 3.19.8 Plugin Self Extracting Archive..............................................................

HP Linux Imaging and Printing System (ver. 3.19.8)
Plugin Installer ver. 3.0

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.

Plug-in version: 3.19.8
Installed HPLIP version: 3.19.8
Number of files to install: 64

You must agree to the license terms before installing the plug-in:

LICENSE TERMS FOR HP Linux Imaging and Printing (HPLIP) Driver Plug-in

[License details deleted]

Do you accept the license terms for the plug-in (y=yes*, n=no, q=quit) ? y
Please enter the root/superuser password:

Done.

Done.

---------------------
| PRINT QUEUE SETUP |
---------------------

Please enter a name for this print queue (m=use model name:'HP_LaserJet_M1522nf_MFP'*, q=quit) ?m
Using queue name: HP_LaserJet_M1522nf_MFP
Locating PPD file... Please wait.

Found PPD file: /usr/share/cups/model/HP/hp-laserjet_m1522_mfp-ps.ppd.gz
Description:

Note: The model number may vary slightly from the actual model number on the device.

Does this PPD file appear to be the correct one (y=yes*, n=no, q=quit) ? y
Enter a location description for this printer (q=quit) ?q
OK, done.
david@install:~>
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------

But after I've done this, the print queue remains inaccessible (or maybe I just don't know how to find it?) Anyway, when I run the hp-setup in interactive mode everything looks the same doen to where the plugin has been installed:

---------------------------------------------------------------------------------------------------------------------------------------------------------------------------
david@install:~> hp-setup

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

HP Linux Imaging and Printing System (ver. 3.19.8)
Plugin Installer ver. 3.0

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.

Plug-in version: 3.19.8
Installed HPLIP version: 3.19.8
Number of files to install: 64

Done.
 Plug-in installation successful

Done.
error: The device you are trying to setup requires a binary plug-in. Some functionalities may not work as expected without plug-ins. Please run 'hp-plugin' as normal user to install plug-ins. Visit http://hplipopensource.com for more infomation.
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------

So after the GUI version installs the plugin it tells me that I need to install the plugin ... I'm trapped in an endless loop, and the only way out of it is to cancel hp-setup. HELP!!! ( Oh -- I think the GUI version should go to a clean EOJ after the plugin has been installed successfully. That's what happens with Ubuntu (18.04) and with Debian(10.0). It's only openSUSE Tumbleweed that gives me this problem.)

PS. I also ran hp-check. Here's that output:
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------
hp-check[29042]: info: :
hp-check[29042]: info: :[01mHP Linux Imaging and Printing System (ver. 3.19.8)[0m
hp-check[29042]: info: :[01mDependency/Version Check Utility ver. 15.1[0m
hp-check[29042]: info: :
hp-check[29042]: info: :Copyright (c) 2001-18 HP Development Company, LP
hp-check[29042]: info: :This software comes with ABSOLUTELY NO WARRANTY.
hp-check[29042]: info: :This is free software, and you are welcome to distribute it
hp-check[29042]: info: :under certain conditions. See COPYING file for more details.
hp-check[29042]: info: :
hp-check[29042]: info: :[01mNote: hp-check can be run in three modes:[0m
hp-check[29042]: info: :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
hp-check[29042]: info: :successfully compile HPLIP.
hp-check[29042]: info: :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
hp-check[29042]: info: :installed to successfully run.
hp-check[29042]: info: :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).
hp-check[29042]: info: :
hp-check[29042]: info: :Check types:
hp-check[29042]: info: :a. EXTERNALDEP - External Dependencies
hp-check[29042]: info: :b. GENERALDEP - General Dependencies (required both at compile and run time)
hp-check[29042]: info: :c. COMPILEDEP - Compile time Dependencies
hp-check[29042]: info: :d. [All are run-time checks] ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------
hp-check[29042]: info: :PYEXT SCANCONF QUEUES PERMISSION
hp-check[29042]: info: :
hp-check[29042]: info: :Status Types:
hp-check[29042]: info: : OK
hp-check[29042]: info: : MISSING - Missing Dependency or Permission or Plug-in
hp-check[29042]: info: : INCOMPAT - Incompatible dependency-version or Plugin-version
hp-check[29042]: info: :
warning: welcome distro is not found in AUTH_TYPES
warning: [01m3-0.0 version is not supported. Using 3-15.1 versions dependencies to verify and install...[0m
hp-check[29042]: info: :
hp-check[29042]: info: :---------------
hp-check[29042]: info: :| SYSTEM INFO |
hp-check[29042]: info: :---------------
hp-check[29042]: info: :
hp-check[29042]: info: : Kernel: 5.2.10-1-default #1 SMP Sun Aug 25 17:33:34 UTC 2019 (5878ee6) GNU/Linux
 Host: installhplip-3.19.8.run
 Proc: 5.2.10-1-default #1 SMP Sun Aug 25 17:33:34 UTC 2019 (5878ee6) GNU/Linux
 Distribution: 3 0.0
hp-check[29042]: info: : Bitness: 64 bit

hp-check[29042]: info: :
hp-check[29042]: info: :-----------------------
hp-check[29042]: info: :| HPLIP CONFIGURATION |
hp-check[29042]: info: :-----------------------
hp-check[29042]: info: :
hp-check[29042]: info: :HPLIP-Version: HPLIP 3.19.8
hp-check[29042]: info: :HPLIP-Home: /usr/share/hplip
warning: HPLIP-Installation: Auto installation is not supported for 3 distro 0.0 version
hp-check[29042]: info: :
hp-check[29042]: info: :[01mCurrent contents of '/etc/hp/hplip.conf' file:[0m
hp-check[29042]: info: :# hplip.conf. Generated from hplip.conf.in by configure.

[hplip]
version=3.19.8

[dirs]
home=/usr/share/hplip---------------------------------------------------------------------------------------------------------------------------------------------------------------------------
run=/var/run
ppd=/usr/share/cups/model/HP
ppdbase=/usr/share/cups/model
doc=/usr/share/doc/hplip-3.19.8
html=/usr/share/doc/hplip-3.19.8
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=yeshplip-3.19.8.run
cups-drv-install=yes
cups-ppd-install=no
internal-tag=3.19.8
restricted-build=no
ui-toolkit=qt4
qt3=no
qt4=yes
qt5=no
policy-kit=no
lite-build=no
udev_sysfs_rules=no
hpcups-only-build=no
hpijs-only-build=no
apparmor_build=yes
class-driver=no

hp-check[29042]: info: :
hp-check[29042]: info: :[01mCurrent contents of '/var/lib/hp/hplip.state' file:[0m
hp-check[29042]: info: :[plugin]
installed = 1
eula = 1
version = 3.19.8

hp-check[29042]: info: :
hp-check[29042]: info: :[01mCurrent contents of '~/.hplip/hplip.conf' file:[0m
hp-check[29042]: info: :[upgrade]
notify_upgrade = false
last_upgraded_time = 1567345483
pending_upgrade_time = 0
latest_available_version = 3.17.10

[last_used]
device_uri = hp:/net/HP_LaserJet_M1522nf_MFP?ip=192.168.1.5

[installation]
date_time = 09/01/19 09:13:50
version = 3.19.8

hp-check[29042]: info: : <Package-name> <Package-Desc> <Required/Optional> <Min-Version> <Installed-Version> <Status> <Comment>
hp-check[29042]: info: :
hp-check[29042]: info: :--------------
hp-check[29042]: info: :| COMPILEDEP |
hp-check[29042]: info: :--------------
hp-check[29042]: info: :
hp-check[29042]: info: : gcc gcc - GNU Project C and C++ Compiler REQUIRED - 9.2.1 OK -
hp-check[29042]: info: : make make - GNU make utility to maintain groups of programs REQUIRED 3.0 4.2.1 OK -
hp-check[29042]: info: : libtool libtool - Library building support services REQUIRED - 2.4.6 OK -
hp-check[29042]: info: :
hp-check[29042]: info: :------------------------
hp-check[29042]: info: :| General Dependencies |
hp-check[29042]: info: :------------------------
hp-check[29042]: info: :
hp-check[29042]: info: : libcrypto libcrypto - OpenSSL cryptographic library REQUIRED - 1.1.1 OK -
hp-check[29042]: info: : python-xml Python XML libraries REQUIRED - 2.2.6 OK -
hp-check[29042]: info: : libnetsnmp-devel libnetsnmp-devel - SNMP networking library development files REQUIRED 5.0.9 5.8 OK -
hp-check[29042]: info: : sane-devel SANE - Scanning library development files REQUIRED - 1.0.27 OK -

Question information

Language:
English Edit question
Status:
Open
For:
HPLIP Edit question
Assignee:
No assignee Edit question
Last query:
2019-09-03
Last reply:
2019-09-03
shivani mandora (shivani1708) said : #1

Hi,

Can you please try installing plugin using below command:

$sh hplip-3.19.8-plugin.run

Meanwhile, we will check the hp-plugin issue from our end.

OK, I had to hunt for this page:

https://developers.hp.com/hp-linux-imaging-and-printing/plugins

but I finally found it. I downloaded and ran "hplip-3.19.8-plugin.run", and it ran OK:

-----------------------------------------------------------------------------------------------------------------------------
david@install:~> cd Downloads
david@install:~/Downloads> sh hplip-3.19.8-plugin.run
Verifying archive integrity... All good.
Uncompressing HPLIP 3.19.8 Plugin Self Extracting Archive..............................................................

HP Linux Imaging and Printing System (ver. 3.19.8)
Plugin Installer ver. 3.0

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.

Plug-in version: 3.19.8
Installed HPLIP version: 3.19.8
Number of files to install: 64

Done.
david@install:~/Downloads> hp-toolbox

HP Linux Imaging and Printing System (ver. 3.19.8)
HP Device Manager ver. 15.0

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.

david@install:~/Downloads>
-----------------------------------------------------------------------------------------------------------------------------

But when I run "hp-toolbox", I still wind up in the same endless loop ... the program finds my printer OK, and tells me I need a plugin, and installs the plugin. But when I try to proceed, it tells me I have to install the plugin that I just installed. I can run it to a good EOJ in interactive mode ("hp-setup -i 192.168.1.5") ... that even says it has created a printer queue and everything, But the new queue isn't really there. And when I run XSANE, it says there isn't any scanner available, which I happen to know is because the plugin for the scanner hasn't been installed in an accessible location.

I can get the printer to function by using YAST (a SUSE program) to set up the print queue, etc. But it can't set up the plugin for me -- I need hplip for that. So I can use my printer, but the scanner won't work with open SUSE Tumbleweed, is the bottom line.

I'll go ask around at the openSUSE forum. I'll let you know if I learn anything.

Can you help with this problem?

Provide an answer of your own, or ask David C. Bryant for more information if necessary.

To post a message you must log in.