Unable to print - hplip plugin failure with hplip-3.15.7

Bug #1483073 reported by Jean-Patrick Simard
8
This bug affects 2 people
Affects Status Importance Assigned to Milestone
HPLIP
Confirmed
Undecided
Unassigned

Bug Description

This is on Arch Linux 64bit with a LaserJet Pro MFP M127fn, while using hplip-3.15.7 and corresponding plugin version. The cups web interface mentions "filter failed". The output of hp-check -t is:

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

 Kernel: 4.1.4-1-ARCH #1 SMP PREEMPT Mon Aug 3 21:30:37 UTC 2015 GNU/Linux
 Host: jpdesktop
 Proc: 4.1.4-1-ARCH #1 SMP PREEMPT Mon Aug 3 21:30:37 UTC 2015 GNU/Linux
 Distribution: unknown
 Bitness: 64 bit

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

HPLIP-Version: HPLIP 3.15.7
HPLIP-Home: /usr/share/hplip
warning: HPLIP-Installation: Auto installation is not supported for unknown distro version

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

[hplip]
version=3.15.7

[dirs]
home=/usr/share/hplip
run=/var/run
ppd=/usr/share/ppd/HP
ppdbase=/usr/share/ppd
doc=/usr/share/doc/hplip-3.15.7
html=/usr/share/doc/hplip-3.15.7
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=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=yes
internal-tag=3.15.7
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.15.7

Current contents of '~/.hplip/hplip.conf' file:
[last_used]
device_uri = hp:/net/HP_LaserJet_Pro_MFP_M127fn?ip=10.10.1.42
printer_name = HP_LaserJet_Pro_MFP_M127fn
working_dir = .

[installation]
date_time = 08/09/15 20:16:15
version = 3.15.7

[settings]
systray_visible = 0
systray_messages = 0

[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 = 1439164341
pending_upgrade_time = 0

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

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

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

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

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

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

 libtool libtool - Library building support services REQUIRED - 2.4.6 OK -
 gcc gcc - GNU Project C and C++ Compiler REQUIRED - 5.2.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.15.7 OK -
 hpmudext IO-Extension REQUIRED - 3.15.7 OK -

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

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

-----------------------
| Other Dependencies |
-----------------------

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

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

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

No devices found.

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

HP_LaserJet_Pro_MFP_M127fn
--------------------------
Type: Printer
Device URI: hp:/net/HP_LaserJet_Pro_MFP_M127fn?ip=10.10.1.42
PPD: /etc/cups/ppd/HP_LaserJet_Pro_MFP_M127fn.ppd
warning: Failed to read /etc/cups/ppd/HP_LaserJet_Pro_MFP_M127fn.ppd ppd file
PPD Description:
Printer Rendering completedLaserJet_Pro_MFP_M127fn is idle. enabled since dim. 09 août 2015 20:11:47 EDT
Required plug-in status: Installed
Communication status: Good

HP_LaserJet_Pro_MFP_M127fn_fax
------------------------------
Type: Fax
Device URI: hpfax:/net/HP_LaserJet_Pro_MFP_M127fn?ip=10.10.1.42
PPD: /etc/cups/ppd/HP_LaserJet_Pro_MFP_M127fn_fax.ppd
PPD Description: HP Fax2 hpcups
Printer status: printer HP_LaserJet_Pro_MFP_M127fn_fax is idle. enabled since dim. 09 août 2015 20:10:01 EDT
Required plug-in status: Installed
Communication status: Good

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

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

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

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

Total Errors: 2
Total Warnings: 0

####################################################

cups error log mentions:

D [06/Aug/2015:16:48:52 -0400] [Job 28] prnt/hpcups/Hbpl1.cpp 52: Hbpl1 constructor : m_szLanguage = HBPL1STATE: +hplip.plugin-error
D [06/Aug/2015:16:48:52 -0400] [Job 28] prnt/hpcups/HPCupsFilter.cpp 486: m_Job initialization failed with error = 48.
D [06/Aug/2015:16:48:52 -0400] [Job 28] prnt/backend/hp.c 919: ERROR: null print job total=0

###################################################

Downgrading to hplip-3.15.6 and corresponding plugin "fixes" the issue and printing is again possible.

Related branches

Revision history for this message
goutam (goutamkk) wrote :

This is an issue with hplip 3.15.7 drivers. I have provided the patch for the same in the bug report
https://bugs.launchpad.net/hplip/+bug/1476920.
This issue will be resolved in our next version of hplip.

If you wish to go back to hplip-3.15.6. You can download the drivers from
http://sourceforge.net/projects/hplip/files/hplip/3.15.6/hplip-3.15.6.run/download

Sorry for the inconvenience.

Thanks,
Goutam

Changed in hplip:
status: New → Confirmed
Revision history for this message
Jean-Patrick Simard (jps-radioactif) wrote :

Any idea on the ETA for the next hplip?

Revision history for this message
Jean-Patrick Simard (jps-radioactif) wrote :

If this is of any help, the patch fixed the issue. Thanks.

Revision history for this message
Shompol (shompol) wrote :

Still experiencing the issue.

Version:
HP Linux Imaging and Printing System (ver. 3.16.3)

Contents of /var/log/cups/error_log:

D [05/Jun/2017:23:29:09 -0400] [Job 2] prnt/hpcups/HPCupsFilter.cpp 486: m_Job initialization failed with error = 48

Revision history for this message
Jean-Patrick Simard (jps-radioactif) wrote :

If you're on Arch, update your system as hplip should be 3.17.4.

Other than that, I would suggest to reinstall your printer, as that might solve your issue. Make sure you have the plugin necessary for your printer.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.