1

Onderwerp: HP Laserjet werkt niet meer

Ik heb op een nieuwe desktop OpenSuse Tumbleweed geinstalleerd en ik probeer mijn HP LaserJet Pro MFP m125nw hpijs aan de praat te krijgen.
Onder Windows 7 werkt hij feilloos.
Als ik een document print dan doet hij niets. Onder CUPS zie ik dat de job stopped staat met als reden: Filter failed.
In /var/log/cups/error_log zie ik o.a.

D [01/Aug/2016:12:03:45 +0200] [Job 16] Starting renderer with command: gs -q -dBATCH -dPARANOIDSAFER -dQUIET -dNOPAUSE -sDEVICE=ijs -sIjsServer=hpijs -dDEVICEWIDTHPOINTS=612 -dDEVICEHEIGHTPOINTS=792 -sDeviceManufacturer=\"HEWLETT-PACKARD\" -sDeviceModel=\"HP Color LaserJet 2600n\" -r600 -sIjsParams=Quality:Quality=0,Quality:ColorMode=2,Quality:PenSet=2,PS:MediaPosition=7 -dIjsUseOutputFD -sOutputFile=-   /var/spool/cups/tmp/foomatic-38r4X5 
D [01/Aug/2016:12:03:45 +0200] [Job 16] Starting process \"kid3\" (generation 1)
D [01/Aug/2016:12:03:45 +0200] [Job 16] Starting process \"kid4\" (generation 2)
D [01/Aug/2016:12:03:45 +0200] [Job 16] Starting process \"renderer\" (generation 2)
D [01/Aug/2016:12:03:45 +0200] [Job 16] JCL: \033%-12345X@PJL
D [01/Aug/2016:12:03:45 +0200] [Job 16] <job data> 
D [01/Aug/2016:12:03:45 +0200] [Job 16] Error: This module is designed to work with HP Printers only
D [01/Aug/2016:12:03:45 +0200] [Job 16] renderer exited with status 1
D [01/Aug/2016:12:03:45 +0200] [Job 16] Possible error on renderer command line or PostScript error. Check options.DEBUG: Connecting to 192.168.178.240:9100
D [01/Aug/2016:12:03:45 +0200] [Job 16] Connecting to printer.
D [01/Aug/2016:12:03:45 +0200] [Job 16] Set job-printer-state-message to "Connecting to printer.", current level=INFO
D [01/Aug/2016:12:03:45 +0200] [Job 16] Kid3 exit status: 3
D [01/Aug/2016:12:03:45 +0200] [Job 16] PID 3846 (/usr/lib/cups/filter/foomatic-rip) stopped with status 9.
D [01/Aug/2016:12:03:45 +0200] [Job 16] Hint: Try setting the LogLevel to "debug" to find out more.
D [01/Aug/2016:12:03:45 +0200] [Job 16] STATE: -connecting-to-device
D [01/Aug/2016:12:03:45 +0200] [Job 16] Connected to printer.
D [01/Aug/2016:12:03:45 +0200] [Job 16] Connected to 192.168.178.240:9100...
D [01/Aug/2016:12:03:45 +0200] [Job 16] backendRunLoop(print_fd=0, device_fd=8, snmp_fd=7, addr=0x8141d19c, use_bc=1, side_cb=0x80084630)
D [01/Aug/2016:12:03:45 +0200] [Job 16] STATE: +cups-waiting-for-job-completed
D [01/Aug/2016:12:03:45 +0200] [Job 16] Waiting for printer to finish.
D [01/Aug/2016:12:03:45 +0200] [Job 16] PID 3847 (/usr/lib/cups/backend/socket) exited with no errors.
D [01/Aug/2016:12:03:45 +0200] [Job 16] End of messages
D [01/Aug/2016:12:03:45 +0200] [Job 16] printer-state=3(idle)
D [01/Aug/2016:12:03:45 +0200] [Job 16] printer-state-message="Waiting for printer to finish."
D [01/Aug/2016:12:03:45 +0200] [Job 16] printer-state-reasons=none

Wat mij opvalt:
- de boodschap  This module is designed to work with HP Printers only
- in het rendercommando wordt het devicemodel als HP Color Laserjet 2600 aangemerkt

Old programmers never die: they just jump to a new address
Kubuntu 16.02 LTS, Compaq CQ61 met Linux Mint 18, een Galaxy Tab 10.1 met Android Ice Cream en een Raspberry PI met raspian
http://www.volkerskrant.nl

2

Re: HP Laserjet werkt niet meer

Waarom niet met hplip?

Help mee om KDE 5 in het Nederlands te vertalen!!

Re: HP Laserjet werkt niet meer

En misschien heb je wat aan de gesuggereerde hint.

4

Re: HP Laserjet werkt niet meer

Rinse schreef:

Waarom niet met hplip?

Ik heb de printer met hplip opgezet.

Old programmers never die: they just jump to a new address
Kubuntu 16.02 LTS, Compaq CQ61 met Linux Mint 18, een Galaxy Tab 10.1 met Android Ice Cream en een Raspberry PI met raspian
http://www.volkerskrant.nl

5

Re: HP Laserjet werkt niet meer

peugeot2 schreef:

En misschien heb je wat aan de gesuggereerde hint.

Ik krijg zoveel output in de logfile dat ik die niet hier kan posten. Waar zou ik op moeten letten?

Old programmers never die: they just jump to a new address
Kubuntu 16.02 LTS, Compaq CQ61 met Linux Mint 18, een Galaxy Tab 10.1 met Android Ice Cream en een Raspberry PI met raspian
http://www.volkerskrant.nl

Re: HP Laserjet werkt niet meer

Op die naald (in die hooiberg)... ja, nee, weet ik zo snel ook niet hoor.

7

Re: HP Laserjet werkt niet meer

De file staat hier: http://volkerskrant.nl/cups_error_log

Old programmers never die: they just jump to a new address
Kubuntu 16.02 LTS, Compaq CQ61 met Linux Mint 18, een Galaxy Tab 10.1 met Android Ice Cream en een Raspberry PI met raspian
http://www.volkerskrant.nl

Re: HP Laserjet werkt niet meer

Wat ik vermoed.... het lijkt erop dat cups vindt dat je geen hp-printer hebt aangesloten voor deze driver. Mijn 1e vermoeden is dat het gaat om een te oude of te nieuwe printer.

But my guess is a long shot...

9

Re: HP Laserjet werkt niet meer

Dat lijkt mij stug. De printer is van 2013 of zoiets. En op mijn oude computer deed hij het feilloos

Old programmers never die: they just jump to a new address
Kubuntu 16.02 LTS, Compaq CQ61 met Linux Mint 18, een Galaxy Tab 10.1 met Android Ice Cream en een Raspberry PI met raspian
http://www.volkerskrant.nl

10

Re: HP Laserjet werkt niet meer

Wellicht helpt dit
De output van hp-check -t

Saving output in log file: /home/jovo2009/hp-check.log

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

warning: 3-20160626 version is not supported. Using 3-42.1 versions dependencies to verify and install...

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

 Kernel: 4.6.2-1-pae #1 SMP PREEMPT Fri Jun 10 08:12:44 UTC 2016 (2a68ef0) GNU/Linux
 Host: koot
 Proc: 4.6.2-1-pae #1 SMP PREEMPT Fri Jun 10 08:12:44 UTC 2016 (2a68ef0) GNU/Linux
 Distribution: 3 20160626
 Bitness: 32 bit


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

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

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

[hplip]
version=3.16.5

[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.16.5
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=no


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



Current contents of '~/.hplip/hplip.conf' file:
[settings]
systray_visible = 0
systray_messages = 0

[last_used]
device_uri = hp:/net/HP_LaserJet_Pro_MFP_M125nw?ip=192.168.178.240
printer_name = hp
working_dir = .

[commands]
scan = 

[refresh]
rate = 30
enable = false
type = 1

[polling]
enable = false
interval = 5
device_list = 

[fax]
voice_phone = 
email_address = 

[upgrade]
notify_upgrade = false
last_upgraded_time = 1469993323
pending_upgrade_time = 0

[installation]
date_time = 08/01/16 16:02:32
version = 3.16.5


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

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

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

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

 error: libcrypto     libcrypto - OpenSSL cryptographic library                    REQUIRED        -               1.0.2           MISSING    'libcrypto needs to be installed'
 python-xml           Python XML libraries                                         REQUIRED        -               2.1.0           OK         -
 error: libnetsnmp-devel libnetsnmp-devel - SNMP networking library development files REQUIRED        5.0.9           -               MISSING    'libnetsnmp-devel needs to be installed'
 error: sane-devel    SANE - Scanning library development files                    REQUIRED        -               -               MISSING    'sane-devel needs to be installed'
 pil                  PIL - Python Imaging Library (required for commandline scanning with hp-scan) OPTIONAL        -               1.1.7           OK         -
 pyqt4-dbus           PyQt 4 DBus - DBus Support for PyQt4                         REQUIRED        4.0             4.11.4          OK         -
 error: libpthread    libpthread - POSIX threads library                           REQUIRED        -               2.23            MISSING    'libpthread needs to be installed'
 error: python-devel  Python devel - Python development files                      REQUIRED        2.2             2.7.10          MISSING    'python-devel needs to be installed'
 error: cups-devel    CUPS devel- Common Unix Printing System development files    REQUIRED        -               2.1.3           MISSING    'cups-devel needs to be installed'
 python-dbus          Python DBus - Python bindings for DBus                       REQUIRED        0.80.0          1.2.0           OK         -
 error: cups-ddk      CUPS DDK - CUPS driver development kit                       OPTIONAL        -               -               MISSING    'cups-ddk needs to be installed'
 error: reportlab     Reportlab - PDF library for Python                           OPTIONAL        2.0             -               MISSING    'reportlab needs to be installed'
 pyqt4                PyQt 4- Qt interface for Python (for Qt version 4.x)         REQUIRED        4.0             4.11.4          OK         -
 error: libusb        libusb - USB library                                         REQUIRED        -               1.0             MISSING    'libusb needs to be installed'
 error: cups-image    CUPS image - CUPS image development files                    REQUIRED        -               2.1.3           MISSING    'cups-image needs to be installed'
 python2X             Python 2.2 or greater - Python programming language          REQUIRED        2.2             2.7.10          OK         -
 error: python-notify Python libnotify - Python bindings for the libnotify Desktop notifications OPTIONAL        -               -               MISSING    'python-notify needs to be installed'
 error: libjpeg       libjpeg - JPEG library                                       REQUIRED        -               -               MISSING    'libjpeg needs to be installed'
 sane                 SANE - Scanning library                                      REQUIRED        -               -               OK         -

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

 scanext              Scan-SANE-Extension                                          REQUIRED        -               3.16.5          OK         -
'/etc/sane.d/dll.d/hpaio' not found.
'/etc/sane.d/dll.d/hplip' not found.
error: 'hpaio' not found in SANE conf files. Is SANE installed?
 error: hpaio         HPLIP-SANE-Backend                                           REQUIRED        -               3.16.5          MISSING    'hpaio not found in /etc/sane.d/dll.conf. hpaio needs to be added in this file.'

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

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

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

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

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

No Scanner found.

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

No devices found.

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


hp
--
Type: Unknown
Device URI: socket://192.168.178.240
PPD: /etc/cups/ppd/hp.ppd
PPD Description: HP LaserJet Pro MFP m125nw hpijs, 3.16.5, requires proprietary plugin
Printer status: printer hp is idle.  enabled since Mon 01 Aug 2016 01:28:55 PM CEST
    Waiting for printer to finish.
warning: Printer is not HPLIP installed. Printers must use the hp: or hpfax: CUPS backend for HP-Devices.


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


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

Missing Required Dependencies
-----------------------------
error: 'gcc-c++' package is missing/incompatible 
error: 'libtool' package is missing/incompatible 
error: 'libgphoto2-devel' package is missing/incompatible 
error: 'openssl' package is missing/incompatible 
error: 'net-snmp-devel' package is missing/incompatible 
error: 'sane-backends-devel' package is missing/incompatible 
error: 'glibc' package is missing/incompatible 
error: 'python-devel' package is missing/incompatible 
error: 'python-xml' package is missing/incompatible 
error: 'libpython2_7-1_0' package is missing/incompatible 
error: 'cups-devel' package is missing/incompatible 
error: 'cupsddk' package is missing/incompatible 
error: 'libusb-1_0-devel' package is missing/incompatible 
error: 'libusb-1_0-0' package is missing/incompatible 
error: 'cups-devel' package is missing/incompatible 
error: 'libjpeg-devel' package is missing/incompatible 
error: 'hpaio' package is missing/incompatible 
error: 'dbus-1-devel' package is missing/incompatible 
error: 'python-gobject2' package is missing/incompatible 

Missing Optional Dependencies
-----------------------------
error: 'cupsddk' package is missing/incompatible 
error: 'python-notify' package is missing/incompatible 
error: 'xsane' package is missing/incompatible 
error: 'avahi-utils' package is missing/incompatible 

Total Errors: 18
Total Warnings: 1


Done.

En op mijn oude systeem

Saving output in log file: /home/jovo2009/TipsAndTricks/OpenSuse/Overgang_13.1/hp-check.log

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

Copyright (c) 2001-13 Hewlett-Packard 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

/usr/lib/python2.7/site-packages/gtk-2.0/gtk/__init__.py:57: GtkWarning: could not open display
  warnings.warn(str(e), _gtk.Warning)

(xsane:3091): Gtk-WARNING **: cannot open display: :0.0

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

 Kernel: 3.12.57-44-desktop #1 SMP PREEMPT Wed Apr 6 09:18:15 UTC 2016 (9b4534f) GNU/Linux
 Host: koot
 Proc: 3.12.57-44-desktop #1 SMP PREEMPT Wed Apr 6 09:18:15 UTC 2016 (9b4534f) GNU/Linux
 Distribution: suse 13.1
 Bitness: 32 bit


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

HPLIP-Version: HPLIP 3.14.6
HPLIP-Home: /usr/share/hplip
HPLIP-Installation: Auto installation is supported for suse distro  13.1 version 

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

[hplip]
version=3.14.6

[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.14.6
html=/usr/share/doc/hplip-3.14.6
icon=/usr/share/applications
cupsbackend=/usr/lib/cups/backend
cupsfilter=/usr/lib/cups/filter
drv=/usr/share/cups/drv/hp
bin=/usr/bin

# 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.14.6
restricted-build=no
ui-toolkit=qt4
qt3=no
qt4=yes
policy-kit=no
lite-build=no
udev_sysfs_rules=no
hpcups-only-build=no
hpijs-only-build=no


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



Current contents of '~/.hplip/hplip.conf' file:
[last_used]
device_uri = hpaio:/net/HP_LaserJet_Pro_MFP_M125nw?ip=192.168.178.240
printer_name = 
working_dir = .

[upgrade]
latest_available_version = 3.16.5
notify_upgrade = false
last_upgraded_time = 1432458253.73767
pending_upgrade_time = 0

[settings]
systray_visible = 0
systray_messages = 0

[commands]
scan = /usr/bin/xsane -V %SANE_URI%

[refresh]
rate = 30
enable = false
type = 1

[polling]
enable = false
interval = 5
device_list = 

[fax]
voice_phone = 
email_address = 

[installation]
date_time = 08/01/2016 16:04:03
version = 3.14.6


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

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

 policykit            Admin-Policy-framework    OPTIONAL        -               0.113           OK         -
 gs                   Ghostscript               REQUIRED        7.05            9.07            OK         -
 network              Network-wget              OPTIONAL        -               1.16            OK         -
 scanimage            Shell-Scanning            OPTIONAL        1.0             1.0.23          OK         -
 avahi-utils          avahi-utils               OPTIONAL        -               0.6.31          OK         -
 dbus                 DBus                      REQUIRED        -               1.8.16          OK         -
 cups                 CUPS                      REQUIRED        1.1             1.5.4           OK         'CUPS Scheduler is running'

(xsane:3183): Gtk-WARNING **: cannot open display: :0.0

(xsane:3184): Gtk-WARNING **: cannot open display: :0.0
 error: xsane         SANE-GUI                  OPTIONAL        0.9             -               MISSING    'xsane needs to be installed'

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

 error: reportlab     Python-PDF-Lib            OPTIONAL        2.0             3.1.14          MISSING    'reportlab needs to be installed'
 libcrypto            OpenSSL-Crypto-Lib        REQUIRED        -               1.0.1           OK         -
 pil                  Python-Image-Lib          OPTIONAL        -               1.1.7           OK         -
 pyqt4-dbus           PyQt4-DBUS                REQUIRED        4.0             4.10.3          OK         -
 libjpeg              JPEG-Lib                  REQUIRED        -               -               OK         -
 libpthread           POSIX-Threads-Lib         REQUIRED        -               2.18            OK         -
 python-dbus          Python-DBUS               REQUIRED        0.80.0          1.2.0           OK         -
 python-devel         Python-SDK                REQUIRED        2.2             2.7.6           OK         -
 pyqt4                Python-Qt4                REQUIRED        4.0             4.10.3          OK         -
 cups-devel           CUPS-SDK                  REQUIRED        -               1.5.4           OK         -
 sane-devel           SANE-SDK                  REQUIRED        -               1.0.23          OK         -
 libusb               USB-Lib                   REQUIRED        -               1.0             OK         -
 sane                 Scan-Lib                  REQUIRED        -               1.0.23          OK         -
 cups-image           CUPS-Image-Lib            REQUIRED        -               1.5.4           OK         -
 libnetsnmp-devel     SNMP-Networking-SDK       REQUIRED        5.0.9           5.7.2           OK         -
 python-xml           Python-XML-Lib            REQUIRED        -               2.1.0           OK         -
 python-notify        Desktop-notifications     OPTIONAL        -               -               OK         -

------------------------------
|  Compile Time Dependencies |
------------------------------

 gcc                  gcc-Compiler              REQUIRED        -               4.8.1           OK         -
 libtool              Build-tools               REQUIRED        -               2.4.2           OK         -
 make                 GNU-Build-tools           REQUIRED        3.0             3.82            OK         -

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

 cupsext              CUPS-Extension            REQUIRED        -               3.14.6          OK         -
 pcardext             PhotoCard-Extension       REQUIRED        -               3.14.6          OK         -
 hpmudext             IO-Extension              REQUIRED        -               3.14.6          OK         -

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

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

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

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


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

No devices found.

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


hp
--
Type: Unknown
Device URI: socket://192.168.178.240
PPD: /etc/cups/ppd/hp.ppd
PPD Description: HP LaserJet Pro MFP m125nw, hpcups 3.14.6, requires proprietary plugin
Printer status: printer hp is idle.  enabled since Mon 01 Aug 2016 03:50:51 PM CEST
    Ready to print.
warning: Printer is not HPLIP installed. Printers must use the hp: or hpfax: CUPS backend for HP-Devices.

HP_LaserJet_Pro_MFP_M125nw
--------------------------
Type: Printer
Device URI: hp:/net/HP_LaserJet_Pro_MFP_M125nw?ip=192.168.178.240
PPD: /etc/cups/ppd/HP_LaserJet_Pro_MFP_M125nw.ppd
PPD Description: HP LaserJet Pro MFP m125nw, hpcups 3.14.6, requires proprietary plugin
Printer status: printer HP_LaserJet_Pro_MFP_M125nw is idle.  enabled since Sun 24 May 2015 11:21:24 PM CEST
Required plug-in status: Installed
Communication status: Good


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


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

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

Missing Optional Dependencies
-----------------------------
error: 'xsane' package is missing/incompatible 

Total Errors: 2
Total Warnings: 1

Run 'hp-doctor' command to prompt and fix the issues. 

Done.
Old programmers never die: they just jump to a new address
Kubuntu 16.02 LTS, Compaq CQ61 met Linux Mint 18, een Galaxy Tab 10.1 met Android Ice Cream en een Raspberry PI met raspian
http://www.volkerskrant.nl

Re: HP Laserjet werkt niet meer

Er staat een 'Filter failed' bericht in de log, de volgende Arch Linux pagina heeft een checklist voor HP printers met deze foutmelding:

https://wiki.archlinux.org/index.php/CU … _failed.22

Re: HP Laserjet werkt niet meer

Oh trouwens, in die output die je gaf:

Missing Required Dependencies
-----------------------------
error: 'gcc-c++' package is missing/incompatible 
error: 'libtool' package is missing/incompatible 
error: 'libgphoto2-devel' package is missing/incompatible 
error: 'openssl' package is missing/incompatible 
error: 'net-snmp-devel' package is missing/incompatible 
error: 'sane-backends-devel' package is missing/incompatible 
error: 'glibc' package is missing/incompatible 
error: 'python-devel' package is missing/incompatible 
error: 'python-xml' package is missing/incompatible 
error: 'libpython2_7-1_0' package is missing/incompatible 
error: 'cups-devel' package is missing/incompatible 
error: 'cupsddk' package is missing/incompatible 
error: 'libusb-1_0-devel' package is missing/incompatible 
error: 'libusb-1_0-0' package is missing/incompatible 
error: 'cups-devel' package is missing/incompatible 
error: 'libjpeg-devel' package is missing/incompatible 
error: 'hpaio' package is missing/incompatible 
error: 'dbus-1-devel' package is missing/incompatible 
error: 'python-gobject2' package is missing/incompatible 

Misschien die dependencies even installeren? wink

13

Re: HP Laserjet werkt niet meer

Alle dependencies opgelost.
Printer opnieuw opgezet met hp-setup
Alleen: het werkt nog steeds niet

Saving output in log file: /home/jovo2009/hp-check.log

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

warning: 3-20160626 version is not supported. Using 3-42.1 versions dependencies to verify and install...

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

 Kernel: 4.6.2-1-pae #1 SMP PREEMPT Fri Jun 10 08:12:44 UTC 2016 (2a68ef0) GNU/Linux
 Host: koot
 Proc: 4.6.2-1-pae #1 SMP PREEMPT Fri Jun 10 08:12:44 UTC 2016 (2a68ef0) GNU/Linux
 Distribution: 3 20160626
 Bitness: 32 bit


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

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

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

[hplip]
version=3.16.5

[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.16.5
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=no


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



Current contents of '~/.hplip/hplip.conf' file:
[settings]
systray_visible = 0
systray_messages = 0

[last_used]
device_uri = hp:/net/HP_LaserJet_Pro_MFP_M125nw?ip=192.168.178.240
printer_name = hp
working_dir = .

[commands]
scan = 

[refresh]
rate = 30
enable = false
type = 1

[polling]
enable = false
interval = 5
device_list = 

[fax]
voice_phone = 
email_address = 

[upgrade]
notify_upgrade = false
last_upgraded_time = 1469993323
pending_upgrade_time = 0

[installation]
date_time = 08/01/16 21:21:19
version = 3.16.5


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

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

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

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

 libcrypto            libcrypto - OpenSSL cryptographic library                    REQUIRED        -               1.0.2           OK         -
 python-xml           Python XML libraries                                         REQUIRED        -               2.1.1           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.25          OK         -
 pil                  PIL - Python Imaging Library (required for commandline scanning with hp-scan) OPTIONAL        -               1.1.7           OK         -
 pyqt4-dbus           PyQt 4 DBus - DBus Support for PyQt4                         REQUIRED        4.0             4.11.4          OK         -
 libpthread           libpthread - POSIX threads library                           REQUIRED        -               2.23            OK         -
 python-devel         Python devel - Python development files                      REQUIRED        2.2             2.7.12          OK         -
 cups-devel           CUPS devel- Common Unix Printing System development files    REQUIRED        -               2.1.3           OK         -
 python-dbus          Python DBus - Python bindings for DBus                       REQUIRED        0.80.0          1.2.0           OK         -
 cups-ddk             CUPS DDK - CUPS driver development kit                       OPTIONAL        -               -               OK         -
 error: reportlab     Reportlab - PDF library for Python                           OPTIONAL        2.0             -               MISSING    'reportlab needs to be installed'
 pyqt4                PyQt 4- Qt interface for Python (for Qt version 4.x)         REQUIRED        4.0             4.11.4          OK         -
 libusb               libusb - USB library                                         REQUIRED        -               1.0             OK         -
 cups-image           CUPS image - CUPS image development files                    REQUIRED        -               2.1.3           OK         -
 python2X             Python 2.2 or greater - Python programming language          REQUIRED        2.2             2.7.12          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.25          OK         -

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

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

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

 gs                   GhostScript - PostScript and PDF language interpreter and previewer REQUIRED        7.05            9.19            OK         -
 cups                 CUPS - Common Unix Printing System                           REQUIRED        1.1             2.1.3           OK         'CUPS Scheduler is running'
 network              network -wget                                                OPTIONAL        -               1.18            OK         -
 scanimage            scanimage - Shell scanning program                           OPTIONAL        1.0             1.0.25          OK         -
 policykit            PolicyKit - Administrative policy framework                  OPTIONAL        -               0.113           OK         -
 error: xsane         xsane - Graphical scanner frontend for SANE                  OPTIONAL        0.9             -               MISSING    'xsane needs to be installed'
 dbus                 DBus - Message bus system                                    REQUIRED        -               1.10.8          OK         -
 error: avahi-utils   avahi-utils                                                  OPTIONAL        -               -               MISSING    'avahi-utils needs to be installed'

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

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

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

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


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

No devices found.

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


hp
--
Type: Printer
Device URI: hp:/net/HP_LaserJet_Pro_MFP_M125nw?ip=192.168.178.240
PPD: /etc/cups/ppd/hp.ppd
PPD Description: HP LaserJet Pro MFP m125nw hpijs, 3.16.5, requires proprietary plugin
Printer status: printer hp is idle.  enabled since Mon 01 Aug 2016 09:05:10 PM CEST
Required plug-in status: Installed
Communication status: Good


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


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

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

Missing Optional Dependencies
-----------------------------
error: 'python-notify' package is missing/incompatible 
error: 'xsane' package is missing/incompatible 
error: 'avahi-utils' package is missing/incompatible 

Total Errors: 4
Total Warnings: 0


Done.
Old programmers never die: they just jump to a new address
Kubuntu 16.02 LTS, Compaq CQ61 met Linux Mint 18, een Galaxy Tab 10.1 met Android Ice Cream en een Raspberry PI met raspian
http://www.volkerskrant.nl

14

Re: HP Laserjet werkt niet meer

Ik wil graag dit topic heropenen want het probleem bestaat nog steeds.
Ik heb ondertussen van alles geprobeerd om de printer aan de praat te krijgen
en ik weet verder niet zo wat ik nog zou kunnen doen,
Van de /var/log/cups/error_log kan ik geen chocolade maken.
In het kort:
- een HP LaserJet Pro MFP m125nw uit 2013
- via hp-setup geprobeerd op te zetten
- werkt vanuit Windows 7
- werkt vanaf OpenSuse 13.1
- werkt vanaf OSX
Ik kan de printer op poort 9100 aanspreken. Geen output
Ik heb de printer met LPD opgezet. Geen output
Ik las ergens dat een bijna lege cartridge rare problemen kan veroorzaken.
Cartridge is vervangen.
Ik zie wat kreten over Dirty files in /var/logs/cups/error_log maar mij is
niet duidelijk wat dat betekent.
Ik heb nu de printer onder CUPS weggegooid, alles van HPLIP via yast2
weg gegooid en alles weer opgezet.
Ik heb de hele troubleshooting sectie van hplipopensource.com doorlopen.

Werkt nog steeds niet
WIE O WIE?????????????????????

Old programmers never die: they just jump to a new address
Kubuntu 16.02 LTS, Compaq CQ61 met Linux Mint 18, een Galaxy Tab 10.1 met Android Ice Cream en een Raspberry PI met raspian
http://www.volkerskrant.nl

15

Re: HP Laserjet werkt niet meer

Kijk eens met een systeemmonitor welke processen worden gestart bij een printopdracht en wat die doen.
Heb zelf een HP die soms weigert te printen doordat een van de printprocessen vast loopt.

Help mee om KDE 5 in het Nederlands te vertalen!!

Re: HP Laserjet werkt niet meer

Welke distro gebruik je? Ik kreeg het in Mint ook niet voor elkaar met Cups. Alleen via "System Settings -> Hardware -> Add printer" lukte het. En die laatste is volgens mij een GUI over Cups heen!

Als je voor een verdieping niet de diepte in moet, maar de hoogte, waarom heet het dan ....

17

Re: HP Laserjet werkt niet meer

MeneerJansen schreef:

Welke distro gebruik je?!

OpenSuse Tumbleweed

Old programmers never die: they just jump to a new address
Kubuntu 16.02 LTS, Compaq CQ61 met Linux Mint 18, een Galaxy Tab 10.1 met Android Ice Cream en een Raspberry PI met raspian
http://www.volkerskrant.nl

18

Re: HP Laserjet werkt niet meer

Rinse schreef:

Kijk eens met een systeemmonitor welke processen worden gestart bij een printopdracht en wat die doen.
Heb zelf een HP die soms weigert te printen doordat een van de printprocessen vast loopt.

Hoe monitor ik dat? Vaak ps ax achter elkaar doen?

Old programmers never die: they just jump to a new address
Kubuntu 16.02 LTS, Compaq CQ61 met Linux Mint 18, een Galaxy Tab 10.1 met Android Ice Cream en een Raspberry PI met raspian
http://www.volkerskrant.nl

19

Re: HP Laserjet werkt niet meer

Ik gebruik ksysguard

Help mee om KDE 5 in het Nederlands te vertalen!!

20 Laatst bewerkt door MeneerJansen (11 Aug 2016 11:19:21)

Re: HP Laserjet werkt niet meer

jovo schreef:
MeneerJansen schreef:

Welke distro gebruik je?!

OpenSuse Tumbleweed

Heeft dat ook zijn eigen "Sytem Settings" app? Vast wel. Probeer het daar eens. Kliene kans dat je dan wel succes hebt, maar je weet maar nooit. Cups blijf ik een lastige vinden om te configureren. Zijn webinterface (http://localhost:631/) lijkt vriendelijk maar geeft niet altijd de meest duidelijke info.

Als je voor een verdieping niet de diepte in moet, maar de hoogte, waarom heet het dan ....

21 Laatst bewerkt door jovo (11 Aug 2016 21:37:30)

Re: HP Laserjet werkt niet meer

Rinse schreef:

Kijk eens met een systeemmonitor welke processen worden gestart bij een printopdracht en wat die doen.
Heb zelf een HP die soms weigert te printen doordat een van de printprocessen vast loopt.

Ik doe een lp van een eenvoudig tekstbestandje.Ik zie dat er o.a. de volgende processen verschijnen:

 2727 ?        R      0:00 hp 70 jovo bestandje 1 finishings=3 number-up=1 job-uuid=urn:uuid:6543f5c5-8676-39d9-63ff-bea062c9147d job-originating-host-name=localhost date-time-at-creation= date-time-at-processing= time-at-creation=1470940204 time-at-processing=1470940204 document-name-supplied=bestandje
 2728 ?        S      0:00 hp 70 jovo bestandje 1 finishings=3 number-up=1 job-uuid=urn:uuid:6543f5c5-8676-39d9-63ff-bea062c9147d job-originating-host-name=localhost date-time-at-creation= date-time-at-processing= time-at-creation=1470940204 time-at-processing=1470940204 document-name-supplied=bestandje
 2729 ?        S      0:00 socket://192.168.178.240:9100 70 jovo bestandje 1 finishings=3 number-up=1 job-uuid=urn:uuid:6543f5c5-8676-39d9-63ff-bea062c9147d job-originating-host-name=localhost date-time-at-creation= date-time-at-processing= time-at-creation=1470940204 time-at-processing=1470940204 document-name-supplied=bestandje

/var/log/cups/error_log vermeld over 2727 en 2729 dat ze goed aan hun einde komen. Over 2728 wordt vermeld

I [11/Aug/2016:20:30:04 +0200] [Job 70] Started filter /usr/lib/cups/filter/foomatic-rip (PID 2728)
en verderop
D [11/Aug/2016:20:30:04 +0200] [Job 70] PID 2728 (/usr/lib/cups/filter/foomatic-rip) stopped with status 9.

Ik heb ook foomatic met debug gedraaid. In de logfile valt mij het volgende op

Found: %%BeginPageSetup
Inserting option code into "PageSetup" section.
Flushing FIFO.

Starting renderer with command: "/usr/bin/gs -q -dBATCH -dPARANOIDSAFER -dQUIET -dNOPAUSE -sDEVICE=ijs -sIjsServer=hpijs -dDEVICEWIDTHPOINTS=612 -dDEVICEHEIGHTPOINTS=792 -sDeviceManufacturer="HEWLETT-PACKARD" -sDeviceModel="HP Color LaserJet 2600n" -r600 -sIjsParams=Quality:Quality=0,Quality:ColorMode=2,Quality:PenSet=2,PS:MediaPosition=7 -dIjsUseOutputFD -sOutputFile=- -"
Starting process "kid3" (generation 1)
Starting process "kid4" (generation 2)
Starting process "renderer" (generation 2)
JCL: %-12345X@PJL
<job data> 

Error: This module is designed to work with HP Printers only
renderer exited with status 1
Possible error on renderer command line or PostScript error. Check options.

Wat opvalt is natuurlijk de error en dat in het commando als DeviceModel een HP Color LaserJet 2600 wordt vermeld terwijl ik toch echt een Laserjet Pro M125nw heb (en zeker geen Color!)

Old programmers never die: they just jump to a new address
Kubuntu 16.02 LTS, Compaq CQ61 met Linux Mint 18, een Galaxy Tab 10.1 met Android Ice Cream en een Raspberry PI met raspian
http://www.volkerskrant.nl

22

Re: HP Laserjet werkt niet meer

Die printer ken ik. Kloteding. Aan de HP-utils heb je helemaal niks. 'k Heb 'm op Arch uiteindelijk aan de gang gekregen met hplip-plugin uit AUR en de gewone hplip.

23

Re: HP Laserjet werkt niet meer

Ik heb hem aan de praat gekregen. Ik heb de /etc/cups-directory van mijn oude computer gekopieerd.
Nu kijken of ik het scannen ook weer aan de praat krijg

Old programmers never die: they just jump to a new address
Kubuntu 16.02 LTS, Compaq CQ61 met Linux Mint 18, een Galaxy Tab 10.1 met Android Ice Cream en een Raspberry PI met raspian
http://www.volkerskrant.nl

Re: HP Laserjet werkt niet meer

jovo schreef:

Ik heb hem aan de praat gekregen. Ik heb de /etc/cups-directory van mijn oude computer gekopieerd.
Nu kijken of ik het scannen ook weer aan de praat krijg

Goede tip voor in de toekomst! Thanks. smile

Als je voor een verdieping niet de diepte in moet, maar de hoogte, waarom heet het dan ....

25

Re: HP Laserjet werkt niet meer

hp-scan lukt niet. Maak met xsane kan ik wel scannen. Ik vind het wel even goed.

Old programmers never die: they just jump to a new address
Kubuntu 16.02 LTS, Compaq CQ61 met Linux Mint 18, een Galaxy Tab 10.1 met Android Ice Cream en een Raspberry PI met raspian
http://www.volkerskrant.nl