LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 01-23-2021, 10:06 PM   #31
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,961

Rep: Reputation: 1167Reputation: 1167Reputation: 1167Reputation: 1167Reputation: 1167Reputation: 1167Reputation: 1167Reputation: 1167Reputation: 1167

See this post...
https://www.linuxquestions.org/quest...ml#post5808876
 
Old 01-24-2021, 12:28 AM   #32
dwhb
Member
 
Registered: Jul 2012
Location: Down Under
Distribution: Mint 19 Tara
Posts: 138

Original Poster
Rep: Reputation: Disabled
Hi ferrari, thanks for persisting with helping me solve this problem.

Unfortunately, I do not have any iterations of Windows so I cannot try the options kindly suggested by other members.

I hope the following outputs can give you an idea of what went wrong, what I've done wrong and what I should/shouldn't have done.

Code:
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".

Code:
lpstat -a>
output was:
Quote:
HP-LaserJet-Professional-P1102w accepting requests since Sun 24 Jan 2021 11:21:28 ACDT
Code:
lpstat -t
output was:
Quote:
scheduler is running
system default destination: LaserJet
device for LaserJet: usb://HP/LaserJet%20Professional%20P1102w?serial=000000000Q91GJ7VPR1a
LaserJet accepting requests since Sun 24 Jan 2021 15:36:54 ACDT
printer LaserJet now printing LaserJet-243. enabled since Sun 24 Jan 2021 15:36:54 ACDT
Sending data to printer.
LaserJet-243 daisy 1024 Sun 24 Jan 2021 15:36:15 ACDT
LaserJet-244 daisy 1024 Sun 24 Jan 2021 15:36:54 ACDT
because I've tried to print a test page twice but the printer never managed to print.

I installed 3.17.10 printer-driver-hpcups and hpijs in Synaptic thinking that these may be the missing filters. But it was of no use.
Code:
hp-setup
output was
Quote:
Traceback (most recent call last):
File "/usr/bin/hp-setup", line 48, in <module>
from base import device, utils, tui, models, module, services, os_utils
File "/usr/share/hplip/base/device.py", line 42, in <module>
from . import status
File "/usr/share/hplip/base/status.py", line 50, in <module>
import hpmudext
ImportError: /usr/lib/python2.7/dist-packages/hpmudext.so: undefined symbol: ipAddressBuff
Following is output from hp-check. The code which I highlighted in Bold Red asked me to reinstall hplip. Version 3.17.10 came with Mint 19.3 out of the box. I never needed to download & install. But I downloaded and installed hplip-3.20.11 this time. A test page cannot be printed

Code:
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 15:16:53
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 |
---------------------

error: NOT FOUND OR FAILED TO LOAD! Please reinstall HPLIP and check for the proper installation of hpmudext.
 error: hpmudext      IO-Extension                                                 REQUIRED        -               3.20.11         MISSING    'Not Found or Failed to load, Please reinstall HPLIP'
 cupsext              CUPS-Extension                                               REQUIRED        -               3.20.11         OK         -

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

No Scanner found.

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

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

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

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


Total Errors: 1
Total Warnings: 0


Done.

Last edited by dwhb; 01-24-2021 at 12:56 AM.
 
Old 01-24-2021, 12:42 AM   #33
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,961

Rep: Reputation: 1167Reputation: 1167Reputation: 1167Reputation: 1167Reputation: 1167Reputation: 1167Reputation: 1167Reputation: 1167Reputation: 1167
Quote:
Originally Posted by dwhb View Post
Hi ferrari, thanks for persisting with helping me solve this problem.

Unfortunately, I do not have any iterations of Windows so I cannot try the options kindly suggested by other members.

I hope the following outputs can give you an idea of what went wrong, what I've done wrong and what I should/shouldn't have done.

Code:
lpinfo -v
showed that the printer's connection is "direct usb".
For future reference, please just post the command and output as it came from the terminal. Enclose within CODE tags (refer to the '#' button in the advanced forum editor).

Quote:
On my computer's System Settings\Printers, it showed that the printer is "connected to local host".
Did you see my posts (and links) regarding the HP Smart Install 'feature'? If it is enabled, you'll need to figure out a way of disabling it first. Take the time to read the linuxquestions thread I linked to.
 
Old 01-24-2021, 12:59 AM   #34
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,961

Rep: Reputation: 1167Reputation: 1167Reputation: 1167Reputation: 1167Reputation: 1167Reputation: 1167Reputation: 1167Reputation: 1167Reputation: 1167
This is not a good sign either

Code:
---------------------
| Python Extentions |
---------------------

error: NOT FOUND OR FAILED TO LOAD! Please reinstall HPLIP and check for the proper installation of hpmudext.
 error: hpmudext      IO-Extension                                                 REQUIRED        -               3.20.11         MISSING    'Not Found or Failed to load, Please reinstall HPLIP'
 cupsext              CUPS-Extension                                               REQUIRED        -               3.20.11         OK         -
The suggestion is to reinstall HPLIP. I would make sure that you stray with installing/using the version that your package manager provides. Since you are a Mint user, consider casting your support net wider by posting in the LM Forums perhaps...

https://forums.linuxmint.com/

Last edited by ferrari; 01-24-2021 at 12:53 PM.
 
Old 01-24-2021, 06:56 AM   #35
dwhb
Member
 
Registered: Jul 2012
Location: Down Under
Distribution: Mint 19 Tara
Posts: 138

Original Poster
Rep: Reputation: Disabled
I have tried to re-installed hplip-3.17.10 but a message says that linuxmint-19.3 is not supported. I do not know how to remove hplip-3.20.11

Maybe the only option is to upgrade to Mint 20 and see if the printer issue is resolved. I am not technically well-versed enough to rectify the situation I'm in right now
 
Old 01-24-2021, 08:13 AM   #36
dwhb
Member
 
Registered: Jul 2012
Location: Down Under
Distribution: Mint 19 Tara
Posts: 138

Original Poster
Rep: Reputation: Disabled
Based on fossies.org troubleshoot, I have followed the suggested steps. Except for a 'no' in my output instead of a 'yes' to foomatic-drv-install and fooatic-rip-hplip-install and a warning and error (see output below) my printer was detected and is idle and enabled.

Output from Installed CUPS printer queues

Code:
LaserJet
--------
Type: Printer
Device URI: hp:/usb/HP_LaserJet_Professional_P1102w?serial=000000000Q91GJ7VPR1a
PPD: /etc/cups/ppd/LaserJet.ppd
warning: Failed to read /etc/cups/ppd/LaserJet.ppd ppd file
PPD Description: 
Printer status: printer LaserJet is idle.  enabled since Sun 24 Jan 2021 21:44:11 ACDT  Rendering completed
error: Required plug-in status: Not installed
Communication status: Good
 
Old 01-24-2021, 08:52 AM   #37
dwhb
Member
 
Registered: Jul 2012
Location: Down Under
Distribution: Mint 19 Tara
Posts: 138

Original Poster
Rep: Reputation: Disabled
Printer is now discovered in hp-setup but installation of plugin failed
Code:
Plug-in version: 3.20.11
Installed HPLIP version: 3.20.11
Number of files to install: 64

Plugin installation failed
error: Python gobject/dbus may be not installed
error: Plug-in install failed
Synaptic Package Manager showed that python-gobject and python-gobject2 was installed

Can anyone help me with the installation of plugin please?
Thanks very much in advance
 
Old 01-24-2021, 12:52 PM   #38
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,961

Rep: Reputation: 1167Reputation: 1167Reputation: 1167Reputation: 1167Reputation: 1167Reputation: 1167Reputation: 1167Reputation: 1167Reputation: 1167
Quote:
Originally Posted by dwhb View Post
Printer is now discovered in hp-setup but installation of plugin failed
Code:
Plug-in version: 3.20.11
Installed HPLIP version: 3.20.11
Number of files to install: 64

Plugin installation failed
error: Python gobject/dbus may be not installed
error: Plug-in install failed
Synaptic Package Manager showed that python-gobject and python-gobject2 was installed

Can anyone help me with the installation of plugin please?
Thanks very much in advance
See if the answer given here helps....
https://askubuntu.com/questions/1250...gin-fail-hplip
 
Old 01-25-2021, 01:26 PM   #39
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 17,262

Rep: Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553
I'd stopped following this. Here, however is My Struggle With It .
 
Old 01-26-2021, 02:59 AM   #40
dwhb
Member
 
Registered: Jul 2012
Location: Down Under
Distribution: Mint 19 Tara
Posts: 138

Original Poster
Rep: Reputation: Disabled
MThe printer language you kindly shared sounds totally foreign to me. Out of my depth. Unfortunately, too complicated for me to understand. Maybe reinstalling the OS is the only way to get the printer going again. It has always printed without any problems except.

Any help in the meantime would be welcome and hugely appreciated.
Grateful to all who offered their help.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Installing an HP laserjet p1102w printer in Linux Mint beefman Linux - Newbie 12 04-30-2022 09:30 PM
[SOLVED] HP LaserJet Professional P1102w stopped working dwhb Linux - Hardware 2 08-18-2021 11:14 AM
Down load a driver for hp laserjet printer P1102W lmbaca Linux - Newbie 2 04-03-2013 09:42 PM
HP LaserJet P1102w jfmarg2011 Linux - Newbie 3 08-06-2011 02:52 AM
hp p1102w laserjet does not print through suse 11.2 jimonlinux Linux - Hardware 3 07-04-2010 05:35 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 01:24 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration