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

2012-07-19 Thread Stefan Monnier
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.

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

2012-07-19 Thread Till Kamppeter
This problem of having one quality level not working looks most like a 
fault inside the driver. Please report this problem upstream on


http://launchpad.net/hplip/

Then the HPLIP developers at HP will get aware of this problem.

Please tell there everything which you told here and also post the 
/var/log/cups/error_log and the hp-check output, as you did here.


   Till


--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org