HP All-in-One Printer No Longer Scanning

Used to use HP ColorLaserjet 2840 to scan using Skanlite on Leap 15.2. It is a network device connected through the Lan and it worked, although there were odd niggles. It never worked for hplip installation but worked as a manual network install using the fixed ip of the printer.

Now I have updated to Tumbleweed and have problems. Hplip still fails with a crash. In spite of all the available hplip packages available the Tumbleweed package still will not work with this printer, a python fault if I remember correctly but I have an unsolved thread on this from before Tumbleweed.

However I can install the printer using a network installation as previously but now Skanlite does not work at all. I suspect a firewall problem and would appreciate some help please in diagnosing and solving please.

Budgie2

You say you configured the printer anew. What does YaST > Hardware > Scanner say?

Hi Henk and thanks for your reply.

All my previous printer installations and this present installation with this printer have been done using Yast>Printer install and by using the Connection Wizard using TCP Port (AppSocket/JetDirect) and inserting the fixed IP address of this printer using manual insertion of IP address. I have never succeeded in finding this printer by search button and hplip crashes when I try and use it. It has been a problem since I purchased the printer many years ago but this method worked for me. As far as I recall I never tried to install the scanner part of this printer, it just worked until I changed to Tumbleweed when the scanner no longer worked.

With the introduction of Tumbleweed (at least I have only just seen it,) there is now a separate button for Scanner and the printer driver for HP Color Laserjet 2840 all in one is available so this is what I have been trying.

I have stopped the Firewall temporarily hoping this would do the trick but alas, using Yast>Scanner I get:-

No scanner was detected and no active scanner or driver exists.

so perhaps not a firewall issue?

Thanks. I just asked because to me that is the most obvious thing to do and you did not mention it.

hp-setup should not crash, I manage several TW machines and it works fine on all of them. Which makes me wonder about:

  • how you update
  • how you run hp-setup
  • how the printer is connected, i.e. wired? wireless?
  • like always: what does it say when it crashes
  • your repos ( zypper lr -d )

Hi and thanks for the reply. First my repos:-


alastair@install:~> zypper lr -d
# | Alias                            | Name                       | Enabled | GPG Check | Refresh | Priority | Type   | URI                                                                  | Service
--+----------------------------------+----------------------------+---------+-----------+---------+----------+--------+----------------------------------------------------------------------+--------
1 | download.opensuse.org-non-oss    | Main Repository (NON-OSS)  | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/tumbleweed/repo/non-oss/                |        
2 | download.opensuse.org-oss        | Main Repository (OSS)      | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/tumbleweed/repo/oss/                    |        
3 | download.opensuse.org-tumbleweed | Main Update Repository     | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/update/tumbleweed/                      |        
4 | libdvdcss                        | libdvdcss                  | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://opensuse-guide.org/repo/openSUSE_Tumbleweed/                  |        
5 | openSUSE-20190810-0              | openSUSE-20190810-0        | No      | ----      | ----    |   99     | rpm-md | cd:/?devices=/dev/disk/by-id/ata-IBM_SATA_DEVICE_81Y3681_M86E1KM4319 |        
6 | packman                          | packman                    | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://packman.inode.at/suse/openSUSE_Tumbleweed/                    |        
7 | repo-debug                       | openSUSE-Tumbleweed-Debug  | No      | ----      | ----    |   99     | NONE   | http://download.opensuse.org/debug/tumbleweed/repo/oss/              |        
8 | repo-source                      | openSUSE-Tumbleweed-Source | No      | ----      | ----    |   99     | NONE   | http://download.opensuse.org/source/tumbleweed/repo/oss/             |        
alastair@install:~> 

I update using the KDE prompt which used to ask for


sudo zypper dup

but for the last three or four updates there has been an update button.

The printer is connected by RJ45/copper lan through switch to my computer. No wifi in this link.

I run hp-setup using the Yast>Hardware>Printer>Add> and the prompt is:- No matching driver found. Change the string or try ‘Find More’.

I then select the hp-setup button which brings up Device Discovery and select the Button “Network/Ethernet/Wireless network (direct connection or JetDirect)” and ‘Next’ button.

I do this with firewall stopped but I can also and ususally do it using manual method by entering the IP fixed address. Both approaches find the correct printer and I then get the crash warning window. I cannot cut and paste but it says:-

We are sorry, python3.7 closed unexpectedly.
You cannot report this error, because python3.7does not provide a bug reporting address.

.

If I select Developer Information Tab from the crash warning window. I get:-

Application: python3.7 (python3.7), signal: Aborted
 Using host libthread_db library "/lib64/libthread_db.so.1".
 [Current thread is 1 (Thread 0x7f78526ba680 (LWP 30156))]
 

 Thread 5 (Thread 0x7f7841dd6700 (LWP 30161)):
 #0  0x00007f7852818e05 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
 #1  0x00007f7842cfea5b in ?? () from /usr/lib64/dri/r600_dri.so
 #2  0x00007f7842cfe907 in ?? () from /usr/lib64/dri/r600_dri.so
 #3  0x00007f7852812faa in start_thread () from /lib64/libpthread.so.0
 #4  0x00007f7852c7873f in clone () from /lib64/libc.so.6
 

 Thread 4 (Thread 0x7f7842718700 (LWP 30160)):
 #0  0x00007f7852818e05 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
 #1  0x00007f7842cfea5b in ?? () from /usr/lib64/dri/r600_dri.so
 #2  0x00007f7842cfe907 in ?? () from /usr/lib64/dri/r600_dri.so
 #3  0x00007f7852812faa in start_thread () from /lib64/libpthread.so.0
 #4  0x00007f7852c7873f in clone () from /lib64/libc.so.6
 

 Thread 3 (Thread 0x7f7849634700 (LWP 30158)):
 #0  0x00007f7852c6980c in read () from /lib64/libc.so.6
 #1  0x00007f784e8e570f in ?? () from /usr/lib64/libglib-2.0.so.0
 #2  0x00007f784e931c8e in g_main_context_check () from /usr/lib64/libglib-2.0.so.0
 #3  0x00007f784e933342 in ?? () from /usr/lib64/libglib-2.0.so.0
 #4  0x00007f784e93346f in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
 #5  0x00007f784f6109ab in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
 #6  0x00007f784f5b920b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
 #7  0x00007f784f3f1f91 in QThread::exec() () from /usr/lib64/libQt5Core.so.5
 #8  0x00007f784bc954f6 in ?? () from /usr/lib64/libQt5DBus.so.5
 #9  0x00007f784f3f3112 in ?? () from /usr/lib64/libQt5Core.so.5
 #10 0x00007f7852812faa in start_thread () from /lib64/libpthread.so.0
 #11 0x00007f7852c7873f in clone () from /lib64/libc.so.6
 

 Thread 2 (Thread 0x7f784bb4e700 (LWP 30157)):
 #0  0x00007f7852c6dcbf in poll () from /lib64/libc.so.6
 #1  0x00007f784e5aa742 in ?? () from /usr/lib64/libxcb.so.1
 #2  0x00007f784e5ab3fa in xcb_wait_for_event () from /usr/lib64/libxcb.so.1
 #3  0x00007f784bdd0f18 in ?? () from /usr/lib64/libQt5XcbQpa.so.5
 #4  0x00007f784f3f3112 in ?? () from /usr/lib64/libQt5Core.so.5
 #5  0x00007f7852812faa in start_thread () from /lib64/libpthread.so.0
 #6  0x00007f7852c7873f in clone () from /lib64/libc.so.6
 

 Thread 1 (Thread 0x7f78526ba680 (LWP 30156)):
 [KCrash Handler]
 #5  0x00007f7852bb6dd1 in raise () from /lib64/libc.so.6
 #6  0x00007f7852ba0549 in abort () from /lib64/libc.so.6
 #7  0x00007f784f3baa59 in QMessageLogger::fatal(char const*, ...) const () from /usr/lib64/libQt5Core.so.5
 #8  0x00007f784e332f46 in ?? () from /usr/lib64/python3.7/site-packages/PyQt5/QtCore.so
 #9  0x00007f784e33a7fd in ?? () from /usr/lib64/python3.7/site-packages/PyQt5/QtCore.so
 #10 0x00007f784f5e55dc in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib64/libQt5Core.so.5
 #11 0x00007f78500df392 in QAbstractButton::clicked(bool) () from /usr/lib64/libQt5Widgets.so.5
 #12 0x00007f78500df5aa in ?? () from /usr/lib64/libQt5Widgets.so.5
 #13 0x00007f78500e094f in ?? () from /usr/lib64/libQt5Widgets.so.5
 #14 0x00007f78500e0b15 in QAbstractButton::mouseReleaseEvent(QMouseEvent*) () from /usr/lib64/libQt5Widgets.so.5
 #15 0x00007f7850745acb in ?? () from /usr/lib64/python3.7/site-packages/PyQt5/QtWidgets.so
 #16 0x00007f785002cd06 in QWidget::event(QEvent*) () from /usr/lib64/libQt5Widgets.so.5
 #17 0x00007f7850746c8b in ?? () from /usr/lib64/python3.7/site-packages/PyQt5/QtWidgets.so
 #18 0x00007f784ffeac42 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQt5Widgets.so.5
 #19 0x00007f784fff4113 in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQt5Widgets.so.5
 #20 0x00007f78508a8516 in ?? () from /usr/lib64/python3.7/site-packages/PyQt5/QtWidgets.so
 #21 0x00007f784f5ba5b2 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib64/libQt5Core.so.5
 #22 0x00007f784fff3203 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool, bool) () from /usr/lib64/libQt5Widgets.so.5
 #23 0x00007f78500489c9 in ?? () from /usr/lib64/libQt5Widgets.so.5
 #24 0x00007f785004ba24 in ?? () from /usr/lib64/libQt5Widgets.so.5
 #25 0x00007f784ffeac42 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQt5Widgets.so.5
 #26 0x00007f784fff3ec0 in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQt5Widgets.so.5
 #27 0x00007f78508a8516 in ?? () from /usr/lib64/python3.7/site-packages/PyQt5/QtWidgets.so
 #28 0x00007f784f5ba5b2 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib64/libQt5Core.so.5
 #29 0x00007f784f9bc4b8 in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) () from /usr/lib64/libQt5Gui.so.5
 #30 0x00007f784f9bdd3b in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) () from /usr/lib64/libQt5Gui.so.5
 #31 0x00007f784f996acb in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Gui.so.5
 #32 0x00007f784bdd1e4a in ?? () from /usr/lib64/libQt5XcbQpa.so.5
 #33 0x00007f784e931683 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
 #34 0x00007f784e933430 in ?? () from /usr/lib64/libglib-2.0.so.0
 #35 0x00007f784e93346f in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
 #36 0x00007f784f610991 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
 #37 0x00007f784f5b920b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
 #38 0x00007f784f5c0d82 in QCoreApplication::exec() () from /usr/lib64/libQt5Core.so.5
 #39 0x00007f78508a108a in ?? () from /usr/lib64/python3.7/site-packages/PyQt5/QtWidgets.so
 #40 0x00007f785295ef61 in _PyMethodDef_RawFastCallKeywords () from /usr/lib64/libpython3.7m.so.1.0
 #41 0x00007f785295f093 in _PyCFunction_FastCallKeywords () from /usr/lib64/libpython3.7m.so.1.0
 #42 0x00007f7852982a13 in ?? () from /usr/lib64/libpython3.7m.so.1.0
 #43 0x00007f78529b5542 in _PyEval_EvalFrameDefault () from /usr/lib64/libpython3.7m.so.1.0
 #44 0x00007f7852964421 in _PyEval_EvalCodeWithName () from /usr/lib64/libpython3.7m.so.1.0
 #45 0x00007f7852965279 in PyEval_EvalCodeEx () from /usr/lib64/libpython3.7m.so.1.0
 #46 0x00007f785296529b in PyEval_EvalCode () from /usr/lib64/libpython3.7m.so.1.0
 #47 0x00007f7852a2c063 in ?? () from /usr/lib64/libpython3.7m.so.1.0
 #48 0x00007f7852a2fc17 in PyRun_FileExFlags () from /usr/lib64/libpython3.7m.so.1.0
 #49 0x00007f7852a35e2a in PyRun_SimpleFileExFlags () from /usr/lib64/libpython3.7m.so.1.0
 #50 0x00007f7852a37e6c in ?? () from /usr/lib64/libpython3.7m.so.1.0
 #51 0x00007f7852a3801c in _Py_UnixMain () from /usr/lib64/libpython3.7m.so.1.0
 #52 0x00007f7852ba1bcb in __libc_start_main () from /lib64/libc.so.6
 #53 0x00005606af97108a in _start ()
 [Inferior 1 (process 30156) detached]
 


I hope this means more to me than to you but I have tried this on all previous openSUSE versions with earlier hplip installations and even with the Tumblewed version it still does not work so I revert to the ‘manual’ method which works but not alas for the Scanner. I should add that the hp-setup works fine with all the other HP printers I have here and I should also add that the HP firmware is as up-to-date as I can find from HP.

And your further help is?

???
AFAIK, zypper dup is the ONLY way to do it.

Both the plasmoid pk-updater and the GNOME pk-indicator now support ‘zypper dup’. Tested the plasma one a couple of times ( who cares, I can rollback btrfs if it doesn’t work ), comparing results from pk-updater with dup ( after a rollback ), and it sort of works. Yet, where zypper reports ‘These packages will not be updated’ for f.e. packages that are being used from Packman, both applets display those as updates available after the dup session. But, the real danger, i.e. partial TW updates is gone.

@Budgie2 : This might be a better option:


su -
hp-setup

Hi and thanks for the suggestion. I tried running the command in terminal as root and this brought up the first window for selecting the printer connection. I selected the network connected option, with firewall stopped to keep thinks simple, and selected next. This is what I get in the terminal:-

AJBR-W530:~ # hp-setup

HP Linux Imaging and Printing System (ver. 3.19.6)
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.

QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'
Searching... (bus=net, timeout=5, ttl=4, search=(None) desc=0, method=slp)
Traceback (most recent call last):
  File "/usr/share/hplip/ui5/setupdialog.py", line 1305, in NextButton_clicked
    self.showAddPrinterPage()
  File "/usr/share/hplip/ui5/setupdialog.py", line 729, in showAddPrinterPage
    self.readwriteFaxInformation()
  File "/usr/share/hplip/ui5/setupdialog.py", line 1128, in readwriteFaxInformation
    self.fax_number = to_unicode(d.getPhoneNum())
  File "/usr/share/hplip/fax/pmlfax.py", line 146, in getPhoneNum
    data = utils.printable(self.getPML(pml.OID_FAX_LOCAL_PHONE_NUM)[1])
  File "/usr/share/hplip/base/utils.py", line 958, in printable
    return s.translate(identity, unprintable)
TypeError: translate() takes exactly one argument (2 given)
Aborted (core dumped)
AJBR-W530:~ # 


As I explained I can get the printer installed using method I used previously but is there a switch for hp-setup command to install scanner?
Finally there is also a “manual” way of installing the scanner but I need help with the entries required please.

Moving on, with the printer working using connection wizard and manual install I have then tried to get the scanner to work.

Using Yast>Hardware>Scanner if I select Add button I get access to the list of drivers and the HP Color Laserjet 2840 all-in-one printer is included in the driver list. With firewall stopped I have selected this driver which states that it “should work” but alas it does not.
It is using hpaio but not getting a response.
Please could somebody give me further help here?

I confess I have not tried Tumbleweed recently. I do have network printing/scanning working with various printers in openSUSE-15.0 and 15.1(and many earlier openSUSE versions) using :

I get the sense you tried something similar, but then you deviated, possibly due to Tumbleweed no longer providing an option?

or is it possible for you to try the technique noted in the above (as it has worked on every openSUSE version I have tried)?

Hi oldcp and many thanks for the link to the blog. Your blog is clear and most helpful but…

I have used hplip many times on my other HP printers and it works very well but not with my Color Laserjet 2840 all-in-one hplip. By using the Run hp-setu button the installation crashes with the python error I have reported above. So I cannot follow your instruction to install the printer.

However by using the Connection Wizard and entering the known fixed IP of the printer and selecting the driver, which is available, the printer works fine and I have used this method on each upgrade of openSUSE since openSUSE version 8.

Going back to your blog I have found that using Yast>Hardware>Scanner the printer is not detected even with the firewall stopped so I cannot edit as the blog suggests. All I get is hpaio No scanner recognized by this driver.

If I try using Add button I can find the driver on the list but once selected it fails and I get back to the No scanner recognized by this driver.

On the same printer but using Leap 43.2 I didn’t ever use Yast for the scanner; once the printer was installed then Skanlite picked up the scanner and just worked.

Any and all suggestion would be welcome.
Regards and thanks again,
Budgie2

Can you not get the scanner configured using ‘hp-setup’?

Try using the ‘hp-scan’ utility for scanning. Does that work ok?

You can use ‘hp-check’ or ‘hp-doctor’ to investigate any HPLIP-related issues eg

sudo hp-check -r

Another thought that I had is to check which print driver you are currently using for your HP device. The hpaio scanner backend relies on the HPLIP URI being correctly configured as I once wrote here.

This may be useful in determining how CUPS is currently configured…

lpstat -t
egrep -i "name|model|filter" /etc/cups/ppd/*

Hi all and many thanks for the replies. Our internet has been down for a time but what I have been doing is using dual boot (Grub) and going back to my little used openSUSE boot on the windows 7 machine. This is used only for accounting software.

The linux system was well out of date and needed an update or few and a long wait for internet to come up again but it is now a working Leap 15 machine. Sadly I found it had not been configured for any printers so I have no info on any machine which used to work with the problem HP All-in-one printer for scanning.

Having tried to install the printer various ways with many of the usual options I have found that the number of HP drivers offered in a very much reduced set and does not include the printer of interest the HP Color Laserjet 2840 so I can no longer install even the printer never mind use Scanlite.

Very odd because the printer is listed and I installed it from Tumbleweed (although not with HPLIP) so where have all the HP drivers gone?

I shall stop writing now and go back to my Tumbleweed machine and study the several tests suggested.
Regards,

Hi Deano, no hp-scan found but hp-check produced a bunch of red;-

alastair@AJBR-W530:~> sudo hp-check -r
Saving output in log file: /home/alastair/hp-check.log

HP Linux Imaging and Printing System (ver. 3.19.6)
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: 3-20190907 version is not supported. Using 3-15.0 versions dependencies to verify and install...

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

 Kernel: 5.2.11-1-default #1 SMP Thu Aug 29 06:41:19 UTC 2019 (6385110) GNU/Linux
 Host: AJBR-W530
 Proc: 5.2.11-1-default #1 SMP Thu Aug 29 06:41:19 UTC 2019 (6385110) GNU/Linux
 Distribution: 3 20190907
 Bitness: 64 bit


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

HPLIP-Version: HPLIP 3.19.6
HPLIP-Home: /usr/share/hplip
warning: HPLIP-Installation: Auto installation is not supported for 3 distro  20190907 version 

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

[hplip]
version=3.19.6

[dirs]
home=/usr/share/hplip
run=/var/run
ppd=/usr/share/cups/model/manufacturer-PPDs/hplip
ppdbase=/usr/share/cups/model/manufacturer-PPDs
doc=/usr/share/doc/packages/hplip
html=/usr/share/doc/packages/hplip
icon=/usr/share/applications
cupsbackend=/usr/lib/cups/backend
cupsfilter=/usr/lib/cups/filter
drv=/usr/lib/cups/driver
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=yes
foomatic-drv-install=no
foomatic-ppd-install=yes
foomatic-rip-hplip-install=no
hpcups-install=yes
cups-drv-install=no
cups-ppd-install=yes
internal-tag=3.19.6
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=no
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:
warning: Could not access file: No such file or directory
 <Package-name>        <Package-Desc>      <Required/Optional> <Min-Version> <Installed-Version> <Status>   <Comment>

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

 cups                 CUPS - Common Unix Printing System                           REQUIRED        1.1             2.3             OK         'CUPS Scheduler is running'
 gs                   GhostScript - PostScript and PDF language interpreter and previewer REQUIRED        7.05            9.27            OK         -
 error: xsane         xsane - Graphical scanner frontend for SANE                  OPTIONAL        0.9             -               MISSING    'xsane needs to be installed'
 scanimage            scanimage - Shell scanning program                           OPTIONAL        1.0             1.0.27          OK         -
 error: dbus          DBus - Message bus system                                    REQUIRED        -               1.12.12         MISSING    'DBUS may not be installed or not running'
 policykit            PolicyKit - Administrative policy framework                  OPTIONAL        -               0.116           OK         -
 network              network -wget                                                OPTIONAL        -               1.20.3          OK         -
 error: avahi-utils   avahi-utils                                                  OPTIONAL        -               -               MISSING    'avahi-utils needs to be installed'

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

 error: libjpeg       libjpeg - JPEG library                                       REQUIRED        -               -               MISSING    'libjpeg needs to be installed'
 error: cups-devel    CUPS devel- Common Unix Printing System development files    REQUIRED        -               2.3             MISSING    'cups-devel needs to be installed'
 error: cups-image    CUPS image - CUPS image development files                    REQUIRED        -               2.3             MISSING    'cups-image needs to be installed'
 libpthread           libpthread - POSIX threads library                           REQUIRED        -               b'2.29'         OK         -
 libusb               libusb - USB library                                         REQUIRED        -               1.0             OK         -
 sane                 SANE - Scanning library                                      REQUIRED        -               -               OK         -
 error: sane-devel    SANE - Scanning library development files                    REQUIRED        -               -               MISSING    'sane-devel needs to be installed'
 error: libnetsnmp-devel libnetsnmp-devel - SNMP networking library development files REQUIRED        5.0.9           5.8             MISSING    'libnetsnmp-devel needs to be installed'
 error: libcrypto     libcrypto - OpenSSL cryptographic library                    REQUIRED        -               1.1.1           MISSING    'libcrypto needs to be installed'
 python3X             Python 2.2 or greater - Python programming language          REQUIRED        2.2             3.7.3           OK         -
 error: python3-notify2 Python libnotify - Python bindings for the libnotify Desktop notifications OPTIONAL        -               -               MISSING    'python3-notify2 needs to be installed'
Traceback (most recent call last):
  File "/usr/bin/hp-check", line 862, in <module>
    num_errors, num_warns = dep.validate(time_flag, is_quiet_mode)
  File "/usr/bin/hp-check", line 368, in validate
    self.core.dependencies[dep])
  File "/usr/bin/hp-check", line 210, in __update_deps_info
    installed_ver = self.core.version_func[deps_info[6]]()
  File "/usr/share/hplip/installer/dcheck.py", line 303, in get_pyQt4_version
    from PyQt4 import QtCore
ImportError: cannot import name 'QtCore' from 'PyQt4' (unknown location)
alastair@AJBR-W530:~> 


Grist to the mill

And hp-doctor gave me an even more severe warning…

alastair@AJBR-W530:~> hp-doctor

HP Linux Imaging and Printing System (ver. 3.19.6)
Self Diagnse Utility and Healing Utility ver. 1.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.


HP Linux Imaging and Printing System (ver. 3.19.6)
Self Diagnse Utility and Healing Utility ver. 1.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.

 

Checking for Deprecated items....
error: This distro (i.e suse  20190907) is either deprecated or not yet supported.
The diagnosis is limited on unsupported platforms. Do you want to continue?(y=yes*, n=no):y


Checking for HPLIP updates....

HP Linux Imaging and Printing System (ver. 3.19.6)
HPLIP upgrade latest version ver. 1.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.

error: HPLIP upgrade is disabled by openSUSE for security reasons, see  https://bugzilla.novell.com/show_bug.cgi?id=853405 - if you like to  upgrade HPLIP, use an openSUSE software package manager like YaST or  zypper.

Done.
error: Failed to upgrade latest HPLIP. Is hp-upgrade already running (i.e. foreground or background)?


Checking for Dependencies....
warning: 3-20190907 version is not supported. Using 3-15.0 versions dependencies to verify and install...

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

 Kernel: 5.2.11-1-default #1 SMP Thu Aug 29 06:41:19 UTC 2019 (6385110) GNU/Linux
 Host: AJBR-W530
 Proc: 5.2.11-1-default #1 SMP Thu Aug 29 06:41:19 UTC 2019 (6385110) GNU/Linux
 Distribution: 3 20190907
 Bitness: 64 bit


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

HPLIP-Version: HPLIP 3.19.6
HPLIP-Home: /usr/share/hplip
warning: HPLIP-Installation: Auto installation is not supported for 3 distro  20190907 version 

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

[hplip]
version=3.19.6

[dirs]
home=/usr/share/hplip
run=/var/run
ppd=/usr/share/cups/model/manufacturer-PPDs/hplip
ppdbase=/usr/share/cups/model/manufacturer-PPDs
doc=/usr/share/doc/packages/hplip
html=/usr/share/doc/packages/hplip
icon=/usr/share/applications
cupsbackend=/usr/lib/cups/backend
cupsfilter=/usr/lib/cups/filter
drv=/usr/lib/cups/driver
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=yes
foomatic-drv-install=no
foomatic-ppd-install=yes
foomatic-rip-hplip-install=no
hpcups-install=yes
cups-drv-install=no
cups-ppd-install=yes
internal-tag=3.19.6
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=no
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:
[installation]
date_time = 09/11/19 18:55:08
version = 3.19.6


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

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

 cups                 CUPS - Common Unix Printing System                            REQUIRED        1.1             2.3             OK          'CUPS Scheduler is running'
 gs                   GhostScript - PostScript and PDF language  interpreter and previewer REQUIRED        7.05            9.27             OK         -
 error: xsane         xsane - Graphical scanner frontend for SANE                   OPTIONAL        0.9             -               MISSING     'xsane needs to be installed'
 scanimage            scanimage - Shell scanning program                            OPTIONAL        1.0             1.0.27          OK         -
 error: dbus          DBus - Message bus system                                     REQUIRED        -               1.12.12         MISSING     'DBUS may not be installed or not running'
 policykit            PolicyKit - Administrative policy framework                   OPTIONAL        -               0.116           OK         -
 network              network -wget                                                 OPTIONAL        -               1.20.3          OK         -
 error: avahi-utils   avahi-utils                                                   OPTIONAL        -               -               MISSING     'avahi-utils needs to be installed'

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

 error: libjpeg       libjpeg - JPEG library                                        REQUIRED        -               -               MISSING     'libjpeg needs to be installed'
 error: cups-devel    CUPS devel- Common Unix Printing System  development files    REQUIRED        -               2.3              MISSING    'cups-devel needs to be installed'
 error: cups-image    CUPS image - CUPS image development files                     REQUIRED        -               2.3             MISSING     'cups-image needs to be installed'
 libpthread           libpthread - POSIX threads library                            REQUIRED        -               b'2.29'         OK         -
 libusb               libusb - USB library                                          REQUIRED        -               1.0             OK         -
 sane                 SANE - Scanning library                                       REQUIRED        -               -               OK         -
 error: sane-devel    SANE - Scanning library development files                     REQUIRED        -               -               MISSING     'sane-devel needs to be installed'
 error: libnetsnmp-devel libnetsnmp-devel - SNMP networking library  development files REQUIRED        5.0.9           5.8              MISSING    'libnetsnmp-devel needs to be installed'
 error: libcrypto     libcrypto - OpenSSL cryptographic library                     REQUIRED        -               1.1.1           MISSING     'libcrypto needs to be installed'
 python3X             Python 2.2 or greater - Python programming  language          REQUIRED        2.2             3.7.3           OK          -
 error: python3-notify2 Python libnotify - Python bindings for the  libnotify Desktop notifications OPTIONAL        -               -                MISSING    'python3-notify2 needs to be installed'
Traceback (most recent call last):
  File "/usr/bin/hp-doctor", line 297, in <module>
    num_errors, num_warns = dep.validate(DEPENDENCY_RUN_AND_COMPILE_TIME, False)
  File "/usr/share/hplip/check.py", line 368, in validate
    self.core.dependencies[dep])
  File "/usr/share/hplip/check.py", line 210, in __update_deps_info
    installed_ver = self.core.version_func[deps_info[6]]()
  File "/usr/share/hplip/installer/dcheck.py", line 303, in get_pyQt4_version
    from PyQt4 import QtCore
ImportError: cannot import name 'QtCore' from 'PyQt4' (unknown location)
alastair@AJBR-W530:~> 


It seems there is work to be done. Please can you advise.
Regards,
Budge