Error no PPD found for laserjet_mfp_e77822-25-30

Asked by Guillermo Molleda on 2019-11-28

1. Your Linux Distribution and version. LinuxMint 19 Tara.
2. Your printer make/model. laserjet mfp e77830
3. If possible, run 'hp-check -t' and post the output. View below
4. A detailed explanation of your problem. Installation process stop with ERROR:
Using queue name: HP_Color_LaserJet_MFP_E77830
Locating PPD file... Please wait.
error: No PPD found for model laserjet_mfp_e77822-25-30 using old algorithm.
error: Unable to find an appropriate PPD file.

5. Steps to recreate the problem. Install hplip 3.19.11 with pc connected to network where printer HP Color LaserJet managed MFP E77830 is connected with static IP

hp-check -t output:
Saving output in log file: /home/guillermo/hplip3_19_11/hp-check.log

HP Linux Imaging and Printing System (ver. 3.19.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-70-generic #79-Ubuntu SMP Tue Nov 12 10:36:11 UTC 2019 GNU/Linux
 Host: esperanto.us.es
 Proc: 4.15.0-70-generic #79-Ubuntu SMP Tue Nov 12 10:36:11 UTC 2019 GNU/Linux
 Distribution: 22 19
 Bitness: 64 bit

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

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

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

[hplip]
version=3.19.11

[dirs]
home=/usr/share/hplip
run=/var/run
ppd=/usr/share/ppd/HP
ppdbase=/usr/share/ppd
doc=/usr/share/doc/hplip-3.19.11
html=/usr/share/doc/hplip-3.19.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.19.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:
Plugins are not installed. Could not access file: No such file or directory

Current contents of '~/.hplip/hplip.conf' file:
[installation]
date_time = 2019-11-28 06:22:48
version = 3.19.11

[upgrade]
notify_upgrade = true
last_upgraded_time = 1574917517
pending_upgrade_time = 0

[last_used]
device_uri = hp:/net/HP_Color_LaserJet_MFP_E77830?ip=150.214.184.103

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

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

 gcc gcc - GNU Project C and C++ Compiler REQUIRED - 7.4.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.15 OK -
 cups-devel CUPS devel- Common Unix Printing System development files REQUIRED - 2.2.7 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.15 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.19.11 OK -
 hpaio HPLIP-SANE-Backend REQUIRED - 3.19.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.19.11 OK -
 cupsext CUPS-Extension REQUIRED - 3.19.11 OK -

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

No Scanner found.

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

No devices found.

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

lpstat
------
Type: Unknown
Device URI: Bad file descriptor

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

No errors or warnings.

Done.

Question information

Language:
English Edit question
Status:
Open
For:
HPLIP Edit question
Assignee:
No assignee Edit question
Last query:
2019-11-30
Last reply:
2019-11-28
brian_p (claremont102) said : #1

Execute 'driverless'. to get a URI. Substitute in 'lpadmin -p e77830 -v URI -E -m everywhere'.
Does 'lp -d e77930 /etc/nsswitch.conf' print?

Guillermo Molleda (gmolleda) said : #2

Thanks,
1) Where is 'driverless' program
2) The printer use job accounting, I need first configure my personal-code and after I will can test to print.
Until tomorrow I can't probe print, now I only can install printer by SSH-connection to my office-computer.

brian_p (claremont102) said : #3

> Where is 'driverless' program

You have Mint 19. It should be on your system.

--
Brian.

Guillermo Molleda (gmolleda) said : #4

Thanks, I uninstall all before as I viewed in https://askubuntu.com/questions/1056077/how-to-install-latest-hplip-on-my-ubuntu-to-support-my-hp-printer-and-or-scanner
sudo apt-get purge hplip hplip-data hplip-doc hplip-gui hpijs-ppds \
libsane-hpaio printer-driver-hpcups printer-driver-hpijs
sudo rm -rf /usr/share/hplip/

sudo apt-get autoremove

Now I have installed driverless with
sudo apt-get install cups-core-drivers

I run driverless and output is:
ipp://BRN30055CE4DCFF.local:631/ipp/print
ipp://NPIAC1627.local:631/ipp/print
ipp://mx-m316n--5503146600.local:631/ipp/lp

The printer is big, it is connected to static IP in a great organization, other printers are in others IPs.
How I could know the URI to the exact printer?, I know the static IP.

brian_p (claremont102) said : #5

The first URI looks like it is for a Brother printer. The third URI is not for
the e77830. Use the second one and try 'ping NPIAC1627.local'. The
static IP will be in the output.

Set up a print queue with

lpadmin -p e77830 -v ipp://NPIAC1627.local:631/ipp/print -E -m everywhere

Can you print with

lp -d e77830 /etc/nsswitch.conf ?

--
Brian.

Guillermo Molleda (gmolleda) said : #6

Thanks, now I stay in the office.
lpadmin -p e77830 -v ipp.... -E -m everywhere
output: nothing, no print, no output text in terminal

lp -d e77830 /etc/nsswitch.conf
output terminal is:
lp: document-format "text/plain" no implementado.
implementado is in spanish, in english is implemented, introduced, installed

Guillermo Molleda (gmolleda) said : #7

All last info is for install in a desktop PC.
In other computer: laptop where I use other HP printer (HP LaserJet CP 1025nw in my house connected in my IP 192.168.0.11) but I want install too the printer e77830. Then I run hplip-3.19.11.run, the final output is ERROR...

1. Your Linux Distribution and version. LinuxMint 19 Tara.
2. Your printer make/model. laserjet mfp e77830 (I have other installed printer HP LJ CP 1025nw for my house)
3. If possible, run 'hp-check -t' and post the output. View below
4. A detailed explanation of your problem. Installation process stop with ERROR:
I have HPLIP old installed with a printer HP installed for my house.
I install HPLIP over, I uninstall nothing, ¿it is necessary uninstall before the old HPLIP?
The new printer e77830 is installed but I not have option "job accounting" that is necessary for printing with my personal-code.

Running 'sudo apt-get install --assume-yes python-reportlab'
Please wait, this may take several minutes...
Running 'sudo DEBIAN_FRONTEND=noninteractive apt-get --assume-yes install libsnmp-dev'
Please wait, this may take several minutes...
error: Install command failed with error code 100

hp-check -t
Saving output in log file: /home/guille/Dokumentujo/trabajo/Infraestructura/hplip3_19_11/hp-check.log

HP Linux Imaging and Printing System (ver. 3.17.10)
Dependency/Version Check Utility ver. 15.1

Copyright (c) 2001-15 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-70-generic #79-Ubuntu SMP Tue Nov 12 10:36:11 UTC 2019 GNU/Linux
 Host: guille-X555LA
 Proc: 4.15.0-70-generic #79-Ubuntu SMP Tue Nov 12 10:36:11 UTC 2019 GNU/Linux
 Distribution: 22 19.2
 Bitness: 64 bit

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

HPLIP-Version: HPLIP 3.17.10
HPLIP-Home: /usr/share/hplip

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

[hplip]
version=3.17.10

[dirs]
home=/usr/share/hplip
run=/var/run
ppd=/usr/share/ppd/hplip/HP
ppdbase=/usr/share/ppd/hplip
doc=/usr/share/doc/hplip
html=/usr/share/doc/hplip-doc
icon=no
cupsbackend=/usr/lib/cups/backend
cupsfilter=/usr/lib/cups/filter
drv=/usr/share/cups/drv
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=yes
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=yes
foomatic-ppd-install=yes
foomatic-rip-hplip-install=no
hpcups-install=yes
cups-drv-install=yes
cups-ppd-install=no
internal-tag=3.17.10
restricted-build=no
ui-toolkit=qt5
qt3=no
qt4=no
qt5=yes
policy-kit=yes
lite-build=no
udev_sysfs_rules=no
hpcups-only-build=no
hpijs-only-build=no
apparmor_build=no

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

Current contents of '~/.hplip/hplip.conf' file:
[installation]
date_time = 11/29/19 12:03:49
version = 3.17.10

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

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

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

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

 libjpeg libjpeg - JPEG library REQUIRED - - OK -
 cups-devel CUPS devel- Common Unix Printing System development files REQUIRED - 2.2.7 OK -
 cups-image CUPS image - CUPS image development files REQUIRED - 2.2.7 OK -
 libpthread libpthread - POSIX threads library REQUIRED - b'2.27' OK -
 libusb libusb - USB library REQUIRED - 1.0 OK -
 sane SANE - Scanning library REQUIRED - - OK -
 sane-devel SANE - Scanning library development files REQUIRED - - OK -
 error: libnetsnmp-devel libnetsnmp-devel - SNMP networking library development files REQUIRED 5.0.9 - MISSING 'libnetsnmp-devel needs to be installed'
 libcrypto libcrypto - OpenSSL cryptographic library REQUIRED - 1.1.1 OK -
 python3X Python 2.2 or greater - Python programming language REQUIRED 2.2 3.6.9 OK -
 error: python3-notify2 Python libnotify - Python bindings for the libnotify Desktop notifications OPTIONAL - - MISSING 'python3-notify2 needs to be installed'
 error: python3-pyqt4-dbus PyQt 4 DBus - DBus Support for PyQt4 OPTIONAL 4.0 - MISSING 'python3-pyqt4-dbus needs to be installed'
 error: python3-pyqt4 PyQt 4- Qt interface for Python (for Qt version 4.x) REQUIRED 4.0 - MISSING 'python3-pyqt4 needs to be installed'
 python3-dbus Python DBus - Python bindings for DBus REQUIRED 0.80.0 1.2.6 OK -
 python3-xml Python XML libraries REQUIRED - 2.2.5 OK -
 python3-devel Python devel - Python development files REQUIRED 2.2 3.6.9 OK -
 python3-pil PIL - Python Imaging Library (required for commandline scanning with hp-scan) OPTIONAL - 1.1.7 OK -
 python3-reportlab Reportlab - PDF library for Python OPTIONAL 2.0 3.4.0 OK -

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

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

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

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

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

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

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

device `hpaio:/net/HP_Color_LaserJet_MFP_E77830?ip=150.214.184.103' is a Hewlett-Packard HP_Color_LaserJet_MFP_E77830 all-in-one

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

No devices found.

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

HP_Color_LaserJet_MFP_E77830
----------------------------
Type: Printer
Device URI: hp:/net/HP_Color_LaserJet_MFP_E77830?ip=150.214.184.103
PPD: /etc/cups/ppd/HP_Color_LaserJet_MFP_E77830.ppd
PPD Description:
Printer status: printer HP_Color_LaserJet_MFP_E77830 is idle. enabled since mer 27 Nov 2019 13:35:26 +0100
Communication status: Good

HP_LaserJet_CP_1025nw_Casa
--------------------------
Type: Printer
Device URI: hp:/net/HP_LaserJet_CP_1025nw?ip=192.168.0.11
PPD: /etc/cups/ppd/HP_LaserJet_CP_1025nw_Casa.ppd
PPD Description:
Printer status: printer HP_LaserJet_CP_1025nw_Casa is idle. enabled since mer 11 Sep 2019 19:44:07 +0200
Required plug-in status: Installed

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

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

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

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

Total Errors: 5
Total Warnings: 0

Done.

Guillermo Molleda (gmolleda) said : #8

In comment #5 you says: Use the second one and try 'ping NPIAC1627.local'. The
static IP will be in the output.

Yes, the ouput is the IP of the office printer that I like.

brian_p (claremont102) said : #9

No output from lpadmin is ok.

> lp: document-format "text/plain" no implementado.

Not good. Give 'ls -l /usr/lib/cups/filter/texttopdf'.

--
Brian.

Guillermo Molleda (gmolleda) said : #10

ls: cannot access '/usr/lib/cups/filter/texttopdf' : No such file or directory

cd /usr/lib/cups/filter
ls -l
total 2676
-rwxr-xr-x 1 root root 39032 Feb 9 2018 c2esp
-rwxr-xr-x 1 root root 26632 Feb 9 2018 c2espC
-rwxr-xr-x 1 root root 18432 Feb 9 2018 command2esp
-rwxr-xr-x 1 root root 14328 Aŭg 16 09:12 commandtops
-rwxr-xr-x 1 root root 10232 Aŭg 16 09:12 gziptoany
-rwxr-xr-x 1 root root 1735752 Nov 28 05:50 hpcups
-rwxr-xr-x 1 root root 149976 Nov 28 05:50 hpcupsfax
-rwxr-xr-x 1 root root 132200 Nov 28 05:50 hpps
-rwxr-xr-x 1 root root 38952 Maj 9 2019 imagetopdf
-rwxr-xr-x 1 root root 153768 Maj 9 2019 pdftopdf
-rwxr-xr-x 1 root root 39280 Maj 9 2019 pdftops
-rwxr-xr-x 1 root root 34984 Maj 9 2019 pdftoraster
-rwxr-xr-x 1 root root 51224 Aŭg 16 09:12 pstops
-rwxr-xr-x 1 root root 1064 Nov 28 05:50 pstotiff
-rwxr-xr-x 1 root root 39000 Mar 2 2018 rastertobrlaser
-rwxr-xr-x 1 root root 563 Maj 9 2019 rastertopclm
-rwxr-xr-x 1 root root 34808 Maj 9 2019 rastertopclx
-rwxr-xr-x 1 root root 84064 Maj 9 2019 rastertopdf
-rwxr-xr-x 1 root root 14328 Maj 9 2019 rastertops
-rwxr-xr-x 1 root root 34816 Feb 10 2018 rastertoptch
-rwxr-xr-x 1 root root 15964 Feb 10 2018 rastertosag-gdi
-rwxr-xr-x 1 root root 26728 Maj 9 2019 sys5ippprinter

Guillermo Molleda (gmolleda) said : #11

In Desktop PC I saw the ppd and it is installed, in the options: Print Settings - Accounting - Código de acceso de usuario (access user code): "CustomHPUserAccessCode"
Where I could write my personal access code to print with jobs accounting?

brian_p (claremont102) said : #12

> ls: cannot access '/usr/lib/cups/filter/texttopdf' : No such file or directory

You have a broken printing system. Install cups-filters.

--
Brian.

Guillermo Molleda (gmolleda) said : #13

Thanks. I do:
sudo apt install cups cups-browser

Now
$lpadmin -p e77830 -v ipp://NPIAC1627.local:631/ipp/print -E -m everywhere
$ lp -d e77830 /etc/nsswitch.conf

terminal output for lp -d ...:
la id solicitada es e77830-13 (1 archivo(s))
english: The requested id is e77830-13 (1 file(s))

brian_p (claremont102) said : #14

> la id solicitada es e77830-13 (1 archivo(s))

If that did not print, you still have a broken printing system.

--
Brian.

Guillermo Molleda (gmolleda) said : #15

For print I need put my personal code in Jobs Accounting, but I don't know where I could write my code.

Can you help with this problem?

Provide an answer of your own, or ask Guillermo Molleda for more information if necessary.

To post a message you must log in.