You are not logged in.

#1 2015-01-12 21:34:08

Lockheed
Member
Registered: 2010-03-16
Posts: 1,550

CUPS can't print in Grayscale with HPLIP driver

For the life of me, I cant get CUPS to print when I use HPLIP driver with my old HP DeskJet 845c.

If I use standard generic deskjet.ppd driver which comes with CUPS, it works fine. But if I try to use the one from HP, I get

"Filter failed"

I tried removing and reinstalling CUPS and HPLIP.  I tried all the tricks I found online. I tried the "chmod" trick from Arch CUPS wiki. I tried the udev rule. I tried debugging cups error log (which showed no error).

And nothing worked. I am completely out of ideas.

Is the generic driver inferior in any way to hplip dedicated driver?

Last edited by Lockheed (2015-01-13 10:14:11)

Offline

#2 2015-01-13 10:13:53

Lockheed
Member
Registered: 2010-03-16
Posts: 1,550

Re: CUPS can't print in Grayscale with HPLIP driver

I established, than the HPLIP driver can in fact print, but only if the CUPS Print Quality in default options is set to "Normal Color".  What I need is "Normal Grayscale" but this one is what is causing "Filter failed" error.
Furthermore, "Draft Grayscale" prints, too, but I need normal quality grayscale.

It appears to be similar or the same issue as https://bugs.launchpad.net/archlinux/+s … ug/1396446

I also tried editing the ppd file as per this advice: https://bugzilla.redhat.com/show_bug.cgi?id=744338
but I got the same blank page result as described there.

This is cups error log

W [13/Jan/2015:11:09:05 +0100] CreateProfile failed: org.freedesktop.ColorManager.AlreadyExists:profile id 'DeskJet_845C-Gray..' already exists
W [13/Jan/2015:11:09:05 +0100] CreateProfile failed: org.freedesktop.ColorManager.AlreadyExists:profile id 'DeskJet_845C-RGB..' already exists

but as I said - RGB prints fine (as much as it can when there is no colour cassette present).

And this is hp-check result:

# hp-check -t
warning: python-dbus not installed.
Saving output in log file: /root/hp-check.log

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

warning: arch distro is not found in AUTH_TYPES
warning: unknown- version is not supported. Using unknown-0 versions dependencies to verify and install...

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

 Kernel: 3.18.0-1-ARCH #1 PREEMPT Thu Dec 11 23:16:37 MST 2014 GNU/Linux
 Host: malina
 Proc: 3.18.0-1-ARCH #1 PREEMPT Thu Dec 11 23:16:37 MST 2014 GNU/Linux
 Distribution: unknown 
 Bitness: 32 bit


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

HPLIP-Version: HPLIP 3.14.10
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.14.10

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

Current contents of '~/.hplip/hplip.conf' file:
warning: Could not access file: No such file or directory
 <Package-name>        <Package-Desc>      <Required/Optional> <Min-Version> <Installed-Version> <Status>   <Comment>

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

 policykit            Admin-Policy-framework    OPTIONAL        -               0.112           OK         -
 gs                   Ghostscript               REQUIRED        7.05            9.15            OK         -
 network              Network-wget              OPTIONAL        -               1.16.1          OK         -
 scanimage            Shell-Scanning            OPTIONAL        1.0             1.0.24          OK         -
 avahi-utils          avahi-utils               OPTIONAL        -               0.6.31          OK         -
 dbus                 DBus                      REQUIRED        -               1.8.12          OK         -
 cups                 CUPS                      REQUIRED        1.1             2.0.1           OK         'CUPS Scheduler is running'
 error: xsane         SANE-GUI                  OPTIONAL        0.9             -               MISSING    'xsane needs to be installed'

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

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

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

 gcc                  gcc-Compiler              REQUIRED        -               4.9.2           OK         -
 libtool              Build-tools               REQUIRED        -               2.4.4           OK         -
 make                 GNU-Build-tools           REQUIRED        3.0             4.1             OK         -

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

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

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

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

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

No Scanner found.

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

  Device URI                                Model                             
  ----------------------------------------  ----------------------------------
  hp:/usb/DeskJet_845C?serial=CN1641P4NPSX  HP DeskJet 845C                   

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

 
DeskJet_845C
------------
Type: Printer
Device URI: hp:/usb/DeskJet_845C?serial=CN1641P4NPSX
PPD: /etc/cups/ppd/DeskJet_845C.ppd
PPD Description: HP Deskjet 845c, hpcups 3.14.10
Printer ready to printr DeskJet_845C is idle.  enabled since Tue Jan 13 11:09:54 2015
Communication status: Good


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

USB             DeskJet_845C                   Required        -        -        OK       Node:'/dev/bus/usb/001/009' Perm:'  root  lp rw- rw- r--'
 
-----------
| SUMMARY |
-----------

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

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


Total Errors: 6
Total Warnings: 1


Done.

Last edited by Lockheed (2015-01-13 10:53:13)

Offline

Board footer

Powered by FluxBB