[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#682078: hplip: Draft quality makes "hpcups failed" for Deskjet D2660



Package: hplip
Version: 3.12.6-3
Severity: normal

Dear Maintainer,

My D2660 was refusing to print anything, always giving me the dreaded
"hpcups failed" (which BTW should be replaced by a better error message
that would at least give the user some idea whether the problem is
in the local rendering, a failure of communication with the printer, or
an error on the printer itself), until I finally figured out that
it works if I use "normal grayscale" instead of "draft grayscale" quality.

Now, I much prefer draft quality, but at least if it doesn't work, I think
it shoud not be listed among the available print quality options.

For reference, the only debug-log I found was in /var/log/cups/error_log
where I guess the key element is:

D [19/Jul/2012:07:10:32 -0400] [Job 365] prnt/hpcups/Lidil.cpp 586: CupeInteger1 = [3]
D [19/Jul/2012:07:10:32 -0400] [Job 365] prnt/hpcups/Lidil.cpp 587: CupeInteger2 = [3]
D [19/Jul/2012:07:10:32 -0400] [Job 365] prnt/hpcups/Lidil.cpp 588: PrintMode Index = [5]
D [19/Jul/2012:07:10:32 -0400] [Job 365] prnt/hpcups/Lidil.cpp 600: Print Mode = [PlainDraftGrayK]
D [19/Jul/2012:07:10:32 -0400] [Job 365] prnt/hpcups/Lidil.cpp 177: Requested resolution not supported with requested printmodeprnt/hpcups/Lidil.cpp 178:  m_pPM->BaseResX = 600
D [19/Jul/2012:07:10:32 -0400] [Job 365] prnt/hpcups/Lidil.cpp 179:  m_pPM->BaseResY = 600
D [19/Jul/2012:07:10:32 -0400] [Job 365] prnt/hpcups/Lidil.cpp 180:  m_pQA->horizontal_resolution = 300
D [19/Jul/2012:07:10:32 -0400] [Job 365] prnt/hpcups/Lidil.cpp 181:  m_pQA->vertical_resolution = 300
D [19/Jul/2012:07:10:32 -0400] [Job 365] prnt/hpcups/HPCupsFilter.cpp 443: m_Job initialization failed with error = 25STATE: +connecting-to-device

It wasn't obvious at all to me that this was the actual error, since this
error_log file contains several other "failures" and it's not clear
which one is the fatal one and which ones are just informative.
E.g. there are also the following lines, which apparently aren't fatal:

D [19/Jul/2012:07:10:32 -0400] [Job 365] Failed to send: org.freedesktop.DBus.Error.ServiceUnknown:The name org.freedesktop.ColorManager was not provided by any .service files
D [19/Jul/2012:07:10:32 -0400] [Job 365] Failed to get profile filename!
D [19/Jul/2012:07:10:32 -0400] [Job 365] no profiles specified in PPD


	Stefan


-- Package-specific info:

HP Linux Imaging and Printing System (ver. 3.12.6)
Dependency/Version Check Utility ver. 15

Copyright (c) 2001-14 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

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

Initializing. Please wait...

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

 Kernel: 3.2.0-2-amd64 #1 SMP Mon Jun 11 19:23:01 UTC 2012 GNU/Linux
 Host: alfajor
 Proc: 3.2.0-2-amd64 #1 SMP Mon Jun 11 19:23:01 UTC 2012 GNU/Linux
 Distribution: debian 6.0.5

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

HPLIP-Version: HPLIP 3.12.6
HPLIP-Home: /usr/share/hplip
HPLIP-Installation: Auto installation is supported for debian distro  6.0.5 version 

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

[hplip]
version=3.12.6

[dirs]
home=/usr/share/hplip
run=/var/run
ppd=/usr/share/ppd/hplip/HP
ppdbase=/usr/share/ppd/hplip
doc=/usr/share/doc/hplip-doc/HTML
icon=no
cupsbackend=/usr/lib/cups/backend
cupsfilter=/usr/lib/cups/filter
drv=/usr/share/cups/drv

# 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.12.6
restricted-build=no
ui-toolkit=qt4
qt3=no
qt4=yes
policy-kit=yes
hpijs-only-build=no
lite-build=no
udev-acl-rules=yes
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:
[last_used]
device_uri = hp:/usb/Deskjet_D2600_series?serial=CN01IFF07N05C9

[installation]
date_time = 07/19/12 07:19:02
version = 3.12.6


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

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

 gs                   Ghostscript               REQUIRED        7.05            9.05            OK         -
 network              Network-wget              OPTIONAL        -               1.13.4          OK         -
 dbus                 DBus                      REQUIRED        -               1.6.0           OK         -
 scanimage            Shell-Scanning            OPTIONAL        1.0             1.0.22          OK         -
 policykit            Admin-Policy-framework    OPTIONAL        -               0.105           OK         -
 error: xsane         SANE-GUI                  OPTIONAL        0.9             -               MISSING    'xsane needs to be installed'
 error: cups          CUPS                      REQUIRED        1.1             -               INCOMPAT   'CUPS may not be installed or not running'

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

 reportlab            Python-PDF-Lib            OPTIONAL        2.0             2.5             OK         -
 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.13            OK         -
 python-dbus          Python-DBUS               REQUIRED        0.80.0          1.1.1           OK         -
 error: cups-ddk      CUPS-DDK                  OPTIONAL        -               -               MISSING    'cups-ddk needs to be installed'
 error: python-devel  Python-SDK                REQUIRED        2.2             2.7.3           MISSING    'python-devel needs to be installed'
 error: pyqt4         Python-Qt4                REQUIRED        4.0             -               MISSING    -
 error: cups-devel    CUPS-SDK                  REQUIRED        -               -               MISSING    'cups-devel needs to be installed'
 error: sane-devel    SANE-SDK                  REQUIRED        -               -               MISSING    'sane-devel needs to be installed'
 error: libusb        USB-Lib                   REQUIRED        -               1.0             MISSING    'libusb needs to be installed'
 sane                 Scan-Lib                  REQUIRED        -               -               OK         -
 error: cups-image    CUPS-Image-Lib            REQUIRED        -               -               MISSING    'cups-image needs to be installed'
 error: libnetsnmp-devel SNMP-Networking-SDK       REQUIRED        5.0.9           5.4.3           MISSING    'libnetsnmp-devel needs to be installed'
 python-xml           Python-XML-Lib            REQUIRED        -               2.1.0           OK         -
 python-notify        Desktop-notifications     OPTIONAL        -               -               OK         -

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

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

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

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

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

device `hpaio:/net/Deskjet_3050_J610_series?zc=HP-Deskjet-3050' is a Hewlett-Packard Deskjet_3050_J610_series all-in-one


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

  Device URI                        Model                  
  --------------------------------  -----------------------
  hp:/usb/Deskjet_D2600_series?ser  HP Deskjet D2600 series
  ial=CN01IFF07N05C9                                       

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


Deskjet-D2660-wifi
------------------
Type: Unknown
Device URI: socket://wl500g:9100
PPD: /etc/cups/ppd/Deskjet-D2660-wifi.ppd
PPD Description: HP Deskjet d2600 Series, hpcups 3.12.4
Printer status: printer Deskjet-D2660-wifi disabled since Wed 13 Oct 2010 11:05:20 AM EDT -
	Processing page 1...
warning: Printer is not HPLIP installed. Printers must use the hp: or hpfax: CUPS backend for HP-Devices.

Deskjet-Posadas
---------------
Type: Printer
Device URI: hp:/net/Deskjet_3050_J610_series?zc=HP-Deskjet-3050
PPD: /etc/cups/ppd/Deskjet-Posadas.ppd
PPD Description: HP Deskjet 3050 j610 Series, hpcups 3.12.4
Printer status: printer Deskjet-Posadas disabled since Mon 23 May 2011 04:00:52 PM EDT -
	Backend /usr/lib/cups/backend/hp does not exist!

HP Linux Imaging and Printing System (ver. 3.12.6)
System Tray Status Service ver. 2.0

Copyright (c) 2001-14 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.

warning: Qt/PyQt 4 initialization failed.
error: hp-systray requires Qt4 GUI and DBus support. Exiting.
warning: Unable to connect to dbus. Is hp-systray running?
error: Unable to communicate with device (code=12): hp:/net/Deskjet_3050_J610_series?zc=HP-Deskjet-3050
error: unable to open channel
error: Communication status: Failed

Deskjet_D2600
-------------
Type: Printer
Device URI: hp:/usb/Deskjet_D2600_series?serial=CN01IFF07N05C9
PPD: /etc/cups/ppd/Deskjet_D2600.ppd
PPD Description: HP Deskjet d2600 Series, hpcups 3.12.6
Printer status: printer Deskjet_D2600 is idle.  enabled since Thu 19 Jul 2012 07:13:11 AM EDT
	ready to print

HP Linux Imaging and Printing System (ver. 3.12.6)
System Tray Status Service ver. 2.0

Copyright (c) 2001-14 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.

warning: Qt/PyQt 4 initialization failed.
error: hp-systray requires Qt4 GUI and DBus support. Exiting.
warning: Unable to connect to dbus. Is hp-systray running?
Communication status: Good

HP-5510
-------
Type: Unknown
Device URI: ptal:/mlc:usb:officejet_5500_series
PPD: /etc/cups/ppd/HP-5510.ppd
PPD Description: HP Officejet 5500 Series, hpcups 3.12.6
Printer status: printer HP-5510 disabled since Sun 05 Nov 2006 08:30:42 PM EST -
	Backend /usr/lib/cups/backend/ptal does not exist!
warning: Printer is not HPLIP installed. Printers must use the hp: or hpfax: CUPS backend for HP-Devices.

officejet_5500
--------------
Type: Printer
Device URI: hp:/usb/officejet_5500_series?serial=MY42HF11MT96
PPD: /etc/cups/ppd/officejet_5500.ppd
PPD Description: HP Officejet 5500 Series, hpcups 3.12.6
Printer status: printer officejet_5500 disabled since Tue 12 Oct 2010 11:30:36 PM EDT -
	Backend /usr/lib/cups/backend/hp does not exist!

HP Linux Imaging and Printing System (ver. 3.12.6)
System Tray Status Service ver. 2.0

Copyright (c) 2001-14 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.

warning: Qt/PyQt 4 initialization failed.
error: hp-systray requires Qt4 GUI and DBus support. Exiting.
warning: Unable to connect to dbus. Is hp-systray running?
error: Unable to communicate with device (code=12): hp:/usb/officejet_5500_series?serial=MY42HF11MT96
error: Device not found
error: Communication status: Failed

officejet_5500_2
----------------
Type: Printer
Device URI: hp:/usb/officejet_5500_series?serial=MY42HF11MT96
PPD: /etc/cups/ppd/officejet_5500_2.ppd
PPD Description: HP Officejet 5500 Series, hpcups 3.12.6
Printer status: printer officejet_5500_2 disabled since Tue 12 Oct 2010 11:40:17 PM EDT -
	Backend /usr/lib/cups/backend/hp does not exist!

HP Linux Imaging and Printing System (ver. 3.12.6)
System Tray Status Service ver. 2.0

Copyright (c) 2001-14 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.

warning: Qt/PyQt 4 initialization failed.
error: hp-systray requires Qt4 GUI and DBus support. Exiting.
warning: Unable to connect to dbus. Is hp-systray running?
error: Unable to communicate with device (code=12): hp:/usb/officejet_5500_series?serial=MY42HF11MT96
error: Device not found
error: Communication status: Failed

officejet_5500_fax
------------------
Type: Fax
Device URI: hpfax:/usb/officejet_5500_series?serial=MY42HF11MT96
PPD: /etc/cups/ppd/officejet_5500_fax.ppd
PPD Description: HP Fax hpcups
Printer status: printer officejet_5500_fax disabled since Tue 12 Oct 2010 11:30:44 PM EDT -
	Backend /usr/lib/cups/backend/hpfax does not exist!

HP Linux Imaging and Printing System (ver. 3.12.6)
System Tray Status Service ver. 2.0

Copyright (c) 2001-14 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.

warning: Qt/PyQt 4 initialization failed.
error: hp-systray requires Qt4 GUI and DBus support. Exiting.
warning: Unable to connect to dbus. Is hp-systray running?
error: Unable to communicate with device (code=12): hpfax:/usb/officejet_5500_series?serial=MY42HF11MT96
error: Device not found
error: Communication status: Failed

TravelPrinter_HP_H470
---------------------
Type: Printer
Device URI: hp:/usb/Officejet_H470?serial=CN0CP281WX
PPD: /etc/cups/ppd/TravelPrinter_HP_H470.ppd
PPD Description: HP Officejet h470, hpcups 3.12.4
Printer status: printer TravelPrinter_HP_H470 disabled since Fri 17 Jun 2011 08:42:21 PM EDT -
	Backend /usr/lib/cups/backend/hp does not exist!

HP Linux Imaging and Printing System (ver. 3.12.6)
System Tray Status Service ver. 2.0

Copyright (c) 2001-14 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.

warning: Qt/PyQt 4 initialization failed.
error: hp-systray requires Qt4 GUI and DBus support. Exiting.
warning: Unable to connect to dbus. Is hp-systray running?
error: Unable to communicate with device (code=12): hp:/usb/Officejet_H470?serial=CN0CP281WX
error: Device not found
error: Communication status: Failed


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

error: groups   user-groups                    Required        -        -        MISSING  ['lp', 'lpadmin']

HP Linux Imaging and Printing System (ver. 3.12.6)
System Tray Status Service ver. 2.0

Copyright (c) 2001-14 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.

warning: Qt/PyQt 4 initialization failed.
error: hp-systray requires Qt4 GUI and DBus support. Exiting.
warning: Unable to connect to dbus. Is hp-systray running?
USB             Deskjet_D2600                  Required        -        -        OK       Node:'/dev/bus/usb/001/012' Perm:'  root  lp  --t rw- rw- rw- rw- r--'

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

Missing Required Dependencies
-----------------------------
error: 'libcups2' package is missing/incompatible 
error: 'python-qt4-dbus' package is missing/incompatible 
error: 'python-dev' package is missing/incompatible 
error: 'python-qt4' 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: 'libsane-dev' package is missing/incompatible 
error: 'libusb-1.0.0-dev' package is missing/incompatible 
error: 'libcupsimage2' package is missing/incompatible 
error: 'libcupsimage2-dev' package is missing/incompatible 
error: 'libsnmp-dev' package is missing/incompatible 

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


Total Errors: 22
Total Warnings: 0

Re-run 'hp-check --fix' command to prompt and fix the issues. 

Done.

-- System Information:
Debian Release: wheezy/sid
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (x86_64)

Kernel: Linux 3.2.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=fr_CH.UTF-8, LC_CTYPE=fr_CH.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages hplip depends on:
ii  adduser                3.113+nmu3
ii  coreutils              8.13-3.2
ii  cups                   1.5.3-1
ii  hplip-data             3.12.6-3
ii  libc6                  2.13-33
ii  libcups2               1.5.3-1
ii  libdbus-1-3            1.6.0-1
ii  libhpmud0              3.12.6-3
ii  libsane                1.0.22-7.1
ii  libsane-hpaio          3.12.6-3
ii  libsnmp15              5.4.3~dfsg-2.5
ii  libssl1.0.0            1.0.1c-3
ii  libusb-1.0-0           2:1.0.11-1
ii  lsb-base               4.1+Debian7
ii  policykit-1            0.105-1
ii  printer-driver-hpcups  3.12.6-3
ii  python                 2.7.3~rc2-1
ii  python-dbus            1.1.1-1
ii  python-gobject-2       2.28.6-10
ii  python-imaging         1.1.7-4
ii  python-pexpect         2.4-1
ii  python-reportlab       2.5-1.1
ii  python2.7              2.7.3~rc2-2.1
ii  wget                   1.13.4-3

Versions of packages hplip recommends:
ii  avahi-daemon  0.6.31-1
ii  sane-utils    1.0.22-7.1

Versions of packages hplip suggests:
pn  hplip-doc              <none>
pn  hplip-gui              <none>
ii  python-notify          0.1.1-3
ii  system-config-printer  1.3.7-3

-- no debconf information


Reply to: