Hello!
Since many years I encountered on multiple PC a strange thing: sometimes, in yast an HP printer goes to “unactivated” (yast2 / printer / [HP printer] / checkbox “active”).
I often need to go to yast to check again this box. It’s true on multiple PC and multiple printer models but just for a few part of them and seems to be “random” (I am not able to reproduce).
I have this problem since openSUSE 13 I think.
For the following informations, it’s a new PC with a fresh and up to date 15.3 on. The printer is new too. Repos : official + packman.
I have installed first hplip frome opensuse’s repo but it was too old and I needed to use the HP’s script to make it work.
For now, everything seems to be good apart this checkbox.
What do you think about? Thanks.
PS: I “chmoded” the ppds by hand at 644 but it steals to be unable to read them (?).
PPS: Is there a way to activate it by yast printer
? The function seems to not available.
$USER]@91112876 09:45 🍀 0
~
└─ $ hp-doctor
HP Linux Imaging and Printing System (ver. 3.22.4)
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.22.4)
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....
No Deprecated items are found
Checking for HPLIP updates....
HP Linux Imaging and Printing System (ver. 3.22.4)
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.
Latest version of HPLIP is already installed.
Checking for Dependencies....
---------------
| SYSTEM INFO |
---------------
Kernel: 5.3.18-150300.59.63-default #1 SMP Tue Apr 5 12:47:31 UTC 2022 (d77db66) GNU/Linux
Host: 91112876
Proc: 5.3.18-150300.59.63-default #1 SMP Tue Apr 5 12:47:31 UTC 2022 (d77db66) GNU/Linux
Distribution: 3 15.3
Bitness: 64 bit
-----------------------
| HPLIP CONFIGURATION |
-----------------------
HPLIP-Version: HPLIP 3.22.4
HPLIP-Home: /usr/share/hplip
HPLIP-Installation: Auto installation is supported for suse distro 15.3 version
Current contents of '/etc/hp/hplip.conf' file:
# hplip.conf. Generated from hplip.conf.in by configure.
[hplip]
version=3.22.4
[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.22.4
html=/usr/share/doc/hplip-3.22.4
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=no
dbus-build=yes
cups11-build=no
doc-build=no
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.4
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:
[plugin]
installed = 1
eula = 1
version = 3.22.4
Current contents of '~/.hplip/hplip.conf' file:
[upgrade]
notify_upgrade = false
last_upgraded_time = 1651585113
pending_upgrade_time = 0
latest_available_version = 3.17.10
[installation]
date_time = 05/06/22 09:45:07
version = 3.22.4
<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.2.1 OK -
libtool libtool - Library building support services REQUIRED - 2.4.6 OK -
------------------------
| General Dependencies |
------------------------
pyqt5-dbus PyQt 5 DBus - DBus Support for PyQt5 OPTIONAL 5.0 5.13.1 OK -
libcrypto libcrypto - OpenSSL cryptographic library REQUIRED - 1.1.1 OK -
python-xml Python XML libraries REQUIRED - 2.2.8 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 - 1.0.32 OK -
pil PIL - Python Imaging Library (required for commandline scanning with hp-scan) OPTIONAL - 5.0.0 OK -
libpthread libpthread - POSIX threads library REQUIRED - 2.31 OK -
python-devel Python devel - Python development files REQUIRED 2.2 2.7.18 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.16 OK -
cups-ddk CUPS DDK - CUPS driver development kit OPTIONAL - - OK -
reportlab Reportlab - PDF library for Python OPTIONAL 2.0 3.4.0 OK -
pyqt5 PyQt 5- Qt interface for Python (for Qt version 4.x) REQUIRED 5.0 5.13.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.18 OK -
error: python-notify Python libnotify - Python bindings for the libnotify Desktop notifications OPTIONAL - - MISSING 'python-notify needs to be installed'
libjpeg libjpeg - JPEG library REQUIRED - - OK -
sane SANE - Scanning library REQUIRED - 1.0.32 OK -
----------------------
| Scan Configuration |
----------------------
scanext Scan-SANE-Extension REQUIRED - 3.22.4 OK -
hpaio HPLIP-SANE-Backend REQUIRED - 3.22.4 OK 'hpaio found in /etc/sane.d/dll.conf'
-------------------------
| External Dependencies |
-------------------------
gs GhostScript - PostScript and PDF language interpreter and previewer REQUIRED 7.05 9.52 OK -
scanimage scanimage - Shell scanning program OPTIONAL 1.0 1.0.32 OK -
cups CUPS - Common Unix Printing System REQUIRED 1.1 2.2.7 OK 'CUPS Scheduler is running'
network network -wget OPTIONAL - 1.20.3 OK -
policykit PolicyKit - Administrative policy framework OPTIONAL - 0.116 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.22.4 OK -
cupsext CUPS-Extension REQUIRED - 3.22.4 OK -
------------------------------
| DISCOVERED SCANNER DEVICES |
------------------------------
device `hpaio:/net/HP_OfficeJet_8010_series?ip=192.168.1.11' is a Hewlett-Packard HP_OfficeJet_8010_series all-in-one
device `hpaio:/net/HP_OfficeJet_8010_series?ip=192.168.1.11' is a Hewlett-Packard HP_OfficeJet_8010_series all-in-one
--------------------------
| DISCOVERED USB DEVICES |
--------------------------
No devices found.
---------------------------------
| INSTALLED CUPS PRINTER QUEUES |
---------------------------------
Type: Printer
Device URI: hp:/net/HP_OfficeJet_8010_series?ip=192.168.1.11
Communication status: Good
--------------
| PERMISSION |
--------------
Missing Optional Dependencies
-----------------------------
error: 'python-notify' package is missing/incompatible
ENTER ROOT/SUPERUSER PASSWORD
-----------------------------
Please enter the root/superuser password:
Do you want to update repository and Install missing/incompatible packages. (a=install all*, c=custom_install, s=skip):a
Updating repository
-------------------
cmd =su -c "zypper refresh"
Installing Missing/Incompatible packages
----------------------------------------
cmd =su -c "zypper --non-interactive --no-gpg-checks in --auto-agree-with-licenses python-notify"
Checking Permissions....
Checking for Configured Queues....
error: PPD /etc/cups/ppd/.ppd file not found
warning: is not HP Device.
warning: Fail to read ppd=/etc/cups/ppd/.ppd file
warning: Insufficient permission to access file /etc/cups/ppd/.ppd
warning: Could not complete Queue(s) configuration check
Checking for HP Properitery Plugin's....
No plug-in printers are configured.
Diagnose completed...
More information on Troubleshooting,How-To's and Support is available on http://hplipopensource.com/hplip-web/index.html
$USER]@91112876 09:45 🍀 0
~
└─ $ ll /etc/cups/ppd/
total 72K
drwxr-xr-x 2 root lp ? 4,0K 6 mai 09:39 ./
drwxr-xr-x 4 root lp ? 4,0K 6 mai 09:41 ../
-rw-r--r-- 1 root lp ? 32K 6 mai 09:39 HP_OfficeJet_8010.ppd
-rw-r--r-- 1 root lp ? 32K 3 mai 15:14 HP_OfficeJet_8010.ppd.O
91112876 09:47 🍀 0
/home/$USER]
└─ # zypper info python-notify
Chargement des données du dépôt...
Lecture des paquets installés...
Informations sur paquet python-notify :
---------------------------------------
Dépôt : Dépôt principal
Nom : python-notify
Version : 0.1.1-bp153.1.19
Architecture : x86_64
Fabricant : openSUSE
Taille une fois installé : 58,5 KiB
Installé : Oui
État : à jour
Paquet source : python-notify-0.1.1-bp153.1.19.src
URL en amont : http://www.galago-project.org/specs/notification
Résumé : Python bindings for libnotify
Description :
Python bindings for libnotify.