Nieuws:

Welkom, Gast. Alsjeblieft inloggen of registreren.
Heb je de activerings-mail niet ontvangen?

Auteur Topic: Weet iemand hoe een HP LaserJet printer te installeren op Ubuntu 20.04?  (gelezen 2611 keer)

Offline wimrp

  • Lid
Helaas doet hij het niet automatisch direkt uit de doos... 
Ik heb een HP LaserJet Pro MFP M148fdw. Ik heb HPLIP gedownload. Om dat via de terminal te installeren aan de hand van de deze stappen lukt niet  https://developers.hp.com/hp-linux-imaging-and-printing/install/install/index   (ik dacht dat ik het eigenlijk al geinstalleerd had).
Bestand staat op bureaublad, maar terminal geeft aan hem niet te kunnen openen.

Offline Ron

  • Forumteam
    • r0n
    • Over Tholen
Re: Weet iemand hoe een HP LaserJet printer te installeren op Ubuntu 20.04?
« Reactie #1 Gepost op: 2020/11/02, 20:17:39 »
Installeer dan ook hplip-gui, daarmee is alles grafisch in te stellen met de muis.
Openstandaard Evangelist, OpenSource Promotor, OpenData voorstander.
Xubuntu gebruiker en voorstander
Er is ook nog een andere hobbies.


Offline wimrp

  • Lid
Re: Weet iemand hoe een HP LaserJet printer te installeren op Ubuntu 20.04?
« Reactie #3 Gepost op: 2020/11/02, 20:38:07 »
Searching... (bus=usb, search=(None), desc=0)
error: No devices found on bus: usb

Terwijl de printer aangesloten is met usb.
« Laatst bewerkt op: 2020/11/02, 21:08:27 door wimrp »

Offline wimrp

  • Lid
Re: Weet iemand hoe een HP LaserJet printer te installeren op Ubuntu 20.04?
« Reactie #4 Gepost op: 2020/11/02, 20:44:36 »
@Ron: hoe doe ik dat?

edit: ik denk dat het me al gelukt is.
« Laatst bewerkt op: 2020/11/02, 21:02:24 door wimrp »

Offline wimrp

  • Lid
Re: Weet iemand hoe een HP LaserJet printer te installeren op Ubuntu 20.04?
« Reactie #5 Gepost op: 2020/11/02, 21:54:49 »
wim@wim-Inspiron-620:~$ hp-setup

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

Searching... (bus=usb, search=(None), desc=0)
error: No devices found on bus: usb

Done.


Offline wimrp

  • Lid
Re: Weet iemand hoe een HP LaserJet printer te installeren op Ubuntu 20.04?
« Reactie #6 Gepost op: 2020/11/02, 21:55:34 »
wim@wim-Inspiron-620:~$ hp-check -t
Saving output in log file: /home/wim/hp-check.log
HP Linux Imaging and Printing System (ver. 3.20.3)
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: ubuntu-20.04 version is not supported. Using ubuntu-19.10 versions dependencies to verify and install...

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

 Kernel: 5.4.0-52-generic #57-Ubuntu SMP Thu Oct 15 10:57:00 UTC 2020 GNU/Linux
 Host: wim-Inspiron-620
 Proc: 5.4.0-52-generic #57-Ubuntu SMP Thu Oct 15 10:57:00 UTC 2020 GNU/Linux
 Distribution: ubuntu 20.04
 Bitness: 64 bit


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

HPLIP-Version: HPLIP 3.20.3
HPLIP-Home: /usr/share/hplip
warning: HPLIP-Installation: Auto installation is not supported for ubuntu distro  20.04 version

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

[hplip]
version=3.20.3

[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=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=yes
foomatic-ppd-install=no
foomatic-rip-hplip-install=no
hpcups-install=yes
cups-drv-install=yes
cups-ppd-install=no
internal-tag=3.20.3
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
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 = 11/02/20 21:32:22
version = 3.20.3


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

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

 error: cups          CUPS - Common Unix Printing System                           REQUIRED        1.1             -               INCOMPAT   'CUPS may not be installed or not running'
 gs                   GhostScript - PostScript and PDF language interpreter and previewer REQUIRED        7.05            9.50            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.29          OK         -
 error: dbus          DBus - Message bus system                                    REQUIRED        -               1.12.16         MISSING    'DBUS may not be installed or not running'
 policykit            PolicyKit - Administrative policy framework                  OPTIONAL        -               0.105           OK         -
 network              network -wget                                                OPTIONAL        -               1.20.3          OK         -
 avahi-utils          avahi-utils                                                  OPTIONAL        -               0.7             OK         -

------------------------
| 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        -               -               MISSING    'cups-devel needs to be installed'
 error: cups-image    CUPS image - CUPS image development files                    REQUIRED        -               -               MISSING    'cups-image needs to be installed'
 libpthread           libpthread - POSIX threads library                           REQUIRED        -               b'2.31'         OK         -
 error: libusb        libusb - USB library                                         REQUIRED        -               1.0             MISSING    'libusb needs to be installed'
 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           -               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.8.5           OK         -
 python3-notify2      Python libnotify - Python bindings for the libnotify Desktop notifications OPTIONAL        -               -               OK         -
 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.16          OK         -
 python3-xml          Python XML libraries                                         REQUIRED        -               2.2.9           OK         -
 python3-devel        Python devel - Python development files                      REQUIRED        2.2             3.8.5           OK         -
 python3-pil          PIL - Python Imaging Library (required for commandline scanning with hp-scan) OPTIONAL        -               7.0.0           OK         -
 python3-reportlab    Reportlab - PDF library for Python                           OPTIONAL        2.0             3.5.34          OK         -

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

 error: libtool       libtool - Library building support services                  REQUIRED        -               -               MISSING    'libtool needs to be installed'
 gcc                  gcc - GNU Project C and C++ Compiler                         REQUIRED        -               9.3.0           OK         -
 make                 make - GNU make utility to maintain groups of programs       REQUIRED        3.0             4.2.1           OK         -

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

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

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

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

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

No Scanner found.

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

No devices found.

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

 
CLP-320-Series
--------------
Type: Unknown
Device URI: usb://Samsung/CLP-320%20Series?serial=Z5ZRBAEB801901J
PPD: /etc/cups/ppd/CLP-320-Series.ppd
warning: Failed to read /etc/cups/ppd/CLP-320-Series.ppd ppd file
PPD Description:
Printer status: printer CLP-320-Series is idle.  enabled since wo 02 sep 2020 16:16:01 CEST
warning: Printer is not HPLIP installed. Printers must use the hp: or hpfax: CUPS backend for HP-Devices.


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

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

Missing Required Dependencies
-----------------------------
error: 'libcups2' package is missing/incompatible
error: 'libdbus-1-dev' package is missing/incompatible
error: 'libjpeg-dev' package is missing/incompatible
error: 'libcups2-dev' package is missing/incompatible
error: 'cups-bsd' package is missing/incompatible
error: 'cups-client' package is missing/incompatible
error: 'libcupsimage2-dev' package is missing/incompatible
error: 'libusb-1.0.0-dev' package is missing/incompatible
error: 'libusb-0.1-4' package is missing/incompatible
error: 'libsane-dev' package is missing/incompatible
error: 'libsnmp-dev' package is missing/incompatible
error: 'snmp-mibs-downloader' package is missing/incompatible
error: 'openssl' package is missing/incompatible
error: 'python3-pyqt4' package is missing/incompatible
error: 'gtk2-engines-pixbuf' package is missing/incompatible
error: 'libtool' package is missing/incompatible
error: 'libtool-bin' package is missing/incompatible

Missing Optional Dependencies
-----------------------------
error: 'gtk2-engines-pixbuf' package is missing/incompatible
error: 'xsane' package is missing/incompatible
error: 'python3-dbus.mainloop.qt' package is missing/incompatible

Total Errors: 13
Total Warnings: 1


Done.
wim@wim-Inspiron-620:~$


« Laatst bewerkt op: 2020/11/02, 21:59:33 door Ron »

Offline wimrp

  • Lid
Re: Weet iemand hoe een HP LaserJet printer te installeren op Ubuntu 20.04?
« Reactie #7 Gepost op: 2020/11/02, 21:58:54 »
Hopelijk zegt een meer ervaren iemand hier dit meer dan ik...

Re: Weet iemand hoe een HP LaserJet printer te installeren op Ubuntu 20.04?
« Reactie #8 Gepost op: 2020/11/02, 22:53:47 »
Soms blijkt ippusbxd de boosdoener te zijn.
Dat hoeft natuurlijk hier niet het geval te zijn, maar......

Lees in dit artikel: USB printer support:
https://blog.linuxmint.com/?p=3969
mvg,  Peter
Desktop: xubuntu 18.04.6
"No windows in the house but somehow there's more light..."
The future ain’t what it used to be.

Offline wimrp

  • Lid
Re: Weet iemand hoe een HP LaserJet printer te installeren op Ubuntu 20.04?
« Reactie #9 Gepost op: 2020/11/04, 13:52:44 »
Interessant Peter. Vraag is dan of dat bestanddeel zou moeten verwijderen, en zoja hoe.

HPLIP installatie werkte oké, maar printer wordt nog steeds niet herkend. Bij lsusb zie ik alle apparaten, maar nog steeds niet de printer...

Re: Weet iemand hoe een HP LaserJet printer te installeren op Ubuntu 20.04?
« Reactie #10 Gepost op: 2020/11/04, 14:49:01 »
De printer is er in HPLIP 3.18.9 al bijgekomen (https://sourceforge.net/p/hplip/news/2018/09/hplip-3187-release-notes/ ) dus daar zal het niet aan liggen....

Offline wimrp

  • Lid
Re: Weet iemand hoe een HP LaserJet printer te installeren op Ubuntu 20.04?
« Reactie #11 Gepost op: 2020/11/04, 16:01:36 »
O dat is in ieder geval goed om te weten, Ronaldus.

Maar waarom hij niet wordt gedetecteerd blijft een raadsel!
« Laatst bewerkt op: 2020/11/04, 17:17:48 door wimrp »

Re: Weet iemand hoe een HP LaserJet printer te installeren op Ubuntu 20.04?
« Reactie #12 Gepost op: 2020/11/04, 19:01:26 »
Misschien computer aan, dan pas usb stekker erin en printer aanzetten. Of usb er nog eens uit en indoen. Misschien een optie in het menu van de printer of wifi in de printer op uit zetten?
Evt. nog eens proberen met een live usb-stick met Ubuntu en kijken wat er dan gebeurd?
« Laatst bewerkt op: 2020/11/04, 19:11:14 door Ronaldus »