Printer not discovered cannot print

Asked by Daisy Bachmann on 2021-01-24

 Linux Mint 19.3 Cinnamon
HP LaserJet Professional P1102w

The printer has stopped working all of a sudden a few days ago since applying system updates on 20Jan2021.
I have installed the latest hplip-3.20.11 over the previous hplip-3.17.10 when the printer failed to print. However, hp-setup cannot discover the USB connected printer although it is listed in CUPS. I changed the URI to USB connected in Mint's System Settings\Printers and tried to print a test page. The job just kept on "processing: rendering complete". hp-check -t said that my printer model is unsupported. Your list of supported printers clearly indicated that hplip-3.20.11.run is the correct download for my Linux distribution. A test page ca b printed after adding printer, but documents sent cannot be printed. The status n\in CUPS is "Idle - Filter failed".

I followed your automatic installation instructions. Running hp-setup on restart of the computer, plugin was successfully downloaded. On the next step, I selected the 1st option (printer connected to USB) but the error reported "no devices found on bus: usb".

<lpinfo -v> showed that the printer's connection is "direct usb". On my computer's System Settings\Printers, it showed that the printer is "connected to local host".

<apt-cache policy hplip> output:
hplip:
  Installed: (none)
  Candidate: 3.17.10+repack0-5
  Version table:
     3.17.10+repack0-5 500
        500 http://mirror.internode.on.net/pub/ubuntu/ubuntu bionic/main amd64 Packages
        100 /var/lib/dpkg/status

<lpstat -a> output: HP-LaserJet-Professional-P1102w accepting requests since Sun 24 Jan 2021 11:21:28 ACDT

<hp-setup> output:
Searching... (bus=usb, search=(None), desc=0)
error: No devices found on bus: usb
Searching... (bus=usb, search=(None), desc=0)
error: No devices found on bus: usb
Searching... (bus=usb, search=(None), desc=2)

Outpost from hp-check -t :
HP Linux Imaging and Printing System (ver. 3.20.11)
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

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

 Kernel: 4.15.0-54-generic #58-Ubuntu SMP Mon Jun 24 10:55:24 UTC 2019 GNU/Linux
 Host: daisy-NUC8i7BEH
 Proc: 4.15.0-54-generic #58-Ubuntu SMP Mon Jun 24 10:55:24 UTC 2019 GNU/Linux
 Distribution: 22 19.3
 Bitness: 64 bit

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

HPLIP-Version: HPLIP 3.20.11
HPLIP-Home: /usr/share/hplip
HPLIP-Installation: Auto installation is supported for linuxmint distro 19.3 version

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

[hplip]
version=3.20.11

[dirs]
home=/usr/share/hplip
run=/var/run
ppd=/usr/share/ppd/HP
ppdbase=/usr/share/ppd
doc=/usr/share/doc/hplip-3.20.11
html=/usr/share/doc/hplip-3.20.11
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.20.11
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

Current contents of '/var/lib/hp/hplip.state' file:
[plugin]
installed = 1
eula = 1
version = 3.20.11

Current contents of '~/.hplip/hplip.conf' file:
[upgrade]
notify_upgrade = true
last_upgraded_time = 1611445524
pending_upgrade_time = 0
latest_available_version = 3.17.10

[installation]
date_time = 24/01/21 12:07:06
version = 3.20.11

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

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

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

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

 libcrypto libcrypto - OpenSSL cryptographic library REQUIRED - 1.1.1 OK -
 python-xml Python XML libraries REQUIRED - 2.2.5 OK -
 libnetsnmp-devel libnetsnmp-devel - SNMP networking library development files REQUIRED 5.0.9 5.7.3 OK -
 sane-devel SANE - Scanning library development files REQUIRED - - OK -
 pil PIL - Python Imaging Library (required for commandline scanning with hp-scan) OPTIONAL - 5.1.0 OK -
 pyqt4-dbus PyQt 4 DBus - DBus Support for PyQt4 REQUIRED 4.0 4.12.1 OK -
 libpthread libpthread - POSIX threads library REQUIRED - 2.27 OK -
 python-devel Python devel - Python development files REQUIRED 2.2 2.7.17 OK -
 cups-devel CUPS devel- Common Unix Printing System development files REQUIRED - 2.2.7 OK -
 libavahi-dev libavahi-dev REQUIRED - - OK -
 python-dbus Python DBus - Python bindings for DBus REQUIRED 0.80.0 1.2.6 OK -
 cups-ddk CUPS DDK - CUPS driver development kit OPTIONAL - - OK -
 reportlab Reportlab - PDF library for Python OPTIONAL 2.0 3.4.0 OK -
 pyqt4 PyQt 4- Qt interface for Python (for Qt version 4.x) REQUIRED 4.0 4.12.1 OK -
 libusb libusb - USB library REQUIRED - 1.0 OK -
 cups-image CUPS image - CUPS image development files REQUIRED - 2.2.7 OK -
 python2X Python 2.2 or greater - Python programming language REQUIRED 2.2 2.7.17 OK -
 python-notify Python libnotify - Python bindings for the libnotify Desktop notifications OPTIONAL - - OK -
 libjpeg libjpeg - JPEG library REQUIRED - - OK -
 sane SANE - Scanning library REQUIRED - - OK -

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

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

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

 gs GhostScript - PostScript and PDF language interpreter and previewer REQUIRED 7.05 9.26 OK -
 scanimage scanimage - Shell scanning program OPTIONAL 1.0 1.0.27 OK -
 cups CUPS - Common Unix Printing System REQUIRED 1.1 2.2.7 OK 'CUPS Scheduler is running'
 network network -wget OPTIONAL - 1.19.4 OK -
 policykit PolicyKit - Administrative policy framework OPTIONAL - 0.105 OK -
 xsane xsane - Graphical scanner frontend for SANE OPTIONAL 0.9 0.999 OK -
 dbus DBus - Message bus system REQUIRED - 1.12.2 OK -
 avahi-utils avahi-utils OPTIONAL - 0.7 OK -

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

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

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

No Scanner found.

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

No devices found.

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

HP-LaserJet-Professional-P1102w
-------------------------------
Type: Unknown
Device URI: usb://HP/LaserJet%20Professional%20P1102w?serial=000000000Q91GJ7VPR1a
PPD: /etc/cups/ppd/HP-LaserJet-Professional-P1102w.ppd
warning: Failed to read /etc/cups/ppd/HP-LaserJet-Professional-P1102w.ppd ppd file
PPD Description:
Printer status: printer HP-LaserJet-Professional-P1102w is idle. enabled Rendering completed21 11:21:28 ACDT
warning: Printer is not HPLIP installed. Printers must use the hp: or hpfax: CUPS backend for HP-Devices.

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

error: Unsupported model: HP_LaserJet_Professional_P1102w

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

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

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

Total Errors: 0
Total Warnings: 1

Done.
daisy@daisy-NUC8i7BEH:~$

Question information

Language:
English Edit question
Status:
Answered
For:
HPLIP Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
shivani mandora (shivani1708) said :
#1

Hi

Can you try changing the model string in /usr/share/hplip/data/models/models.dat as hp_laserjet_professional_p_1102w.
And see if it is getting discovered.
Also please install plugin file

Revision history for this message
Daisy Bachmann (dwb5066) said :
#2

I've installed hplip-3.20.11, printer is discovered but cannot install plug
in running setup. Download or pointing to the separately downloaded plugin
file didn't go anywhere.
Tried many times but with same failed message.

Hplip-3.17.10 is installed with Mint19
How do i purge version 3 20.11?

Without the plugin I cannot print.

On Mon, 25 Jan 2021, 19:31 shivani mandora, <
<email address hidden>> wrote:

> Your question #695162 on HPLIP changed:
> https://answers.launchpad.net/hplip/+question/695162
>
> Status: Open => Answered
>
> shivani mandora proposed the following answer:
> Hi
>
> Can you try changing the model string in
> /usr/share/hplip/data/models/models.dat as
> hp_laserjet_professional_p_1102w.
> And see if it is getting discovered.
> Also please install plugin file
>
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
> https://answers.launchpad.net/hplip/+question/695162/+confirm?answer_id=0
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https://answers.launchpad.net/hplip/+question/695162
>
> You received this question notification because you asked the question.
>

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

There is the possibility to download the plug-in installer from https://developers.hp.com/hp-linux-imaging-and-printing/plugins and to start the installation with the command
sh hplip-3.20.11-plugin.run

Revision history for this message
Daisy Bachmann (dwb5066) said :
#4

Hi
I did the sh install but got the following:
Verifying archive integrity... All good.
Uncompressing HPLIP 3.20.11 Plugin Self Extracting
Archive..............................................................
Error importing HPLIP modules. Is HPLIP installed?

I definitely have hplip3.20.11 installed although 3.17.10 is still showing
as installed in Synaptic Software Manager. The printer miraculously printed
one page of the document I was working on, but has since failed to print
with a plugin required message. The print jobs stopped at the "Processing"
stage.
I am not sure whether hplip-3.17.11 should be completely uninstalled
within Synaptic?

I also tried manually selecting the plugin to install, but my sudo password
kept being rejected as incorrect. I have only one password for root and
sudo. Therefore I have no way of installing the plugin because the normal
method of installing within HP Setup does not work.

Your help will be greatly appreciated.

On Tue, 26 Jan 2021 at 20:20, Manfred Hampl <
<email address hidden>> wrote:

> Your question #695162 on HPLIP changed:
> https://answers.launchpad.net/hplip/+question/695162
>
> Status: Open => Answered
>
> Manfred Hampl proposed the following answer:
> There is the possibility to download the plug-in installer from
> https://developers.hp.com/hp-linux-imaging-and-printing/plugins and to
> start the installation with the command
> sh hplip-3.20.11-plugin.run
>
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
> https://answers.launchpad.net/hplip/+question/695162/+confirm?answer_id=2
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https://answers.launchpad.net/hplip/+question/695162
>
> You received this question notification because you asked the question.
>

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

You should have only on version of HPLIP installed.
Before trying to install 3.20.11 from the hp pages, you should uninstall everything belonging to the 3.17.11 version.

"my sudo password kept being rejected as incorrect"
You have to be aware that you do not get any feedback when typing the password at a "sudo" password request (no echo, not even '*' placeholders).
Just "blind" type your password.

What happens if you try the command (in a terminal window):
sudo id

Can you help with this problem?

Provide an answer of your own, or ask Daisy Bachmann for more information if necessary.

To post a message you must log in.