Bug 692905 - HPLIP: Colors are inverted for HPCUPS (but HPIJS works)
Summary: HPLIP: Colors are inverted for HPCUPS (but HPIJS works)
Status: VERIFIED FIXED
Alias: None
Product: openSUSE 11.4
Classification: openSUSE
Component: Printing (show other bugs)
Version: Final
Hardware: All openSUSE 11.4
: P3 - Medium : Normal (vote)
Target Milestone: ---
Deadline: 2011-06-23
Assignee: Johannes Meixner
QA Contact: Johannes Meixner
URL:
Whiteboard: .
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-10 16:17 UTC by Jani Väinölä
Modified: 2011-06-06 12:35 UTC (History)
2 users (show)

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments
Screenshort showing original pdf and 11.4-release, 1st fix attempt, working scans (1.60 MB, image/png)
2011-05-19 10:06 UTC, Marius Tomaschewski
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jani Väinölä 2011-05-10 16:17:18 UTC
User-Agent:       Mozilla/5.0 (X11; Linux x86_64; rv:2.0.1) Gecko/20100101 Firefox/4.0.1

After upgrade from 11.3 to 11.4 the printer drivers started behave strangely. The colors of the printout are inverted every time. 

The printer is a HP C4580 All-in-one and i used the hp-lip setup which i think configures hpcups. My hp-lip version is: hplip-3.11.1-6.1.x86_64

(It is working now, i changed to hpijs driver, but cant get hpcups to work even after reinstallation).



Reproducible: Always

Steps to Reproduce:
1. Install opensuse 11.3 with a hp printer
2. Upgrade to opensuse 11.4
3. Print
Actual Results:  
The colors of the printout were inverted

Expected Results:  
Normal colors

I reported this since several people seemed to have the same problem when i reported it in the forums at:

http://forums.opensuse.org/english/get-technical-help-here/hardware/455583-printer-problems-after-upgrade-11-4-a.html
Comment 1 Johannes Meixner 2011-05-11 13:06:25 UTC
The HPCUPS driver is known to have various issues,
see in particular bug #630696

There are also various similar issue reports
at HPLIP upstream at http://hplipopensource.com

I am afraid - when there is an issue in the driver
we cannot help you because we neither have your
printer model to reproduce it nor do we have
the model-specific knowledge to fix such bugs.

Please file a bug report at upstream HPLIP
http://hplipopensource.com/hplip-web/support.html
and post the URL of your upstream bug report here.


Regarding openSUSE 11.4:

openSUSE 11.4 has Ghostscript 9.00 (11.3 had Ghostscript 8.70)
which has additionally some issues, see bug #681071
which is our bug report for the Ghostscript upstream bug
http://bugs.ghostscript.com/show_bug.cgi?id=691760

Perhaps the upcoming ghostscript-library update packages
for openSUSE 11.4 may fix it so that this issue
would be actually a duplicate of bug #681071

Note that the ghostscript-library update packages
are not yet available under openSUSE:11.4:Update see
https://bugzilla.novell.com/show_bug.cgi?id=681071#c36

But according to the comments in bug #681071
the ghostscript-library update packages do not fix it
when the HPCUPS driver is used so that it seems
there are still issues for the HPCUPS driver.

*** This bug has been marked as a duplicate of bug 630696 ***
Comment 2 Johannes Meixner 2011-05-17 11:32:00 UTC
FYI:

The newest HPLIP 3.11.5 is available for testing:

Readymade RPMs for various openSUSE versions
and SLE11 and SLE11-SP1 (but not for SLE10)
for 32-bit (i586) and 64-bit (x86_64) architecture
are available from the openSUSE build service
project "Printing" at

http://download.opensuse.org/repositories/Printing/

Read the "Printing" project description at
https://build.opensuse.org/project/show?project=Printing
-------------------------------------------------------------
The "Printing" project may contain new, upcoming software.
Therefore the packages in the "Printing" project
might neither be in a stable state nor fit well into
currently installed systems.
Have this in mind if you think about to install
packages from the "Printing" project into your
currently running system.
If you do this, do not use "Factory" if your system
is e.g. openSUSE 11.3.
Use the matching packages for your particular system.
The packages in the "Printing" project are
only for testing, without any guarantee or warranty,
and without any support.
As an extreme example, this means if your complete
computer center crashes because of those packages,
it is only your problem.
On the other hand this does not mean that those packages
are known to be terrible broken but they are not thoroughly
tested so that any unexpected issue can happen. 
-------------------------------------------------------------

I did only a quick test on my openSUSE 11.4 x84_64 system
with a HP LaserJet 1020 which prints the test page o.k. and
with a HP LaserJet 1220 which prints and scans o.k. for me.

I appreciate any feedback whether or not the issue is fixed
in the new version.

Many thanks in advance for testing the new version!
Comment 3 Ralf Krüdewagen 2011-05-17 16:49:09 UTC
The "inverted" colors problem is NOT FIXED for me after upgrading to HPLIP 3.11.5. The printout is the same than before, even after reboot (to be sure).

openSUSE 11.4 x84_64
Printer: HP Photosmart C5180
Printer added with YasT (fresh after HPLIP update)
Driver: hpcups
Cups: cups-1.4.6-6.1

I only updated HPLIP (cups and ghostview are on standard openSUSE 11.4 level).
Comment 4 Ralf Krüdewagen 2011-05-18 06:13:57 UTC
Hm, just tested with my other HP printer "HP OfficeJet Pro 8500 a910" on another PC . This printer now prints graphics well when using the hpcups driver, no matter if the printer is created with yast or hp-toolbox. So, the HPLIP 3.11.5 seems to fix the problem for that scenario.

But it could also have to do with other packages I updated on this 2nd PC. My 1st PC with the HP Photosmart C5180 has no cups and ghostscript updates according to repositories mentioned above and at #681071. My 2nd has those newest packages installed:

openSUSE 11.4 i686
Printer: HP OfficeJet Pro 8500 a910
Printer added with YasT (fresh after HPLIP update) and hp-toolbox
Interface: Network
Driver: hpcups
Packages: cups-1.4.6-70.1, ghostscript-x11-9.00-53.1, ghostscript-library-9.00-53.1, yast2-printer-2.20.8-1.1

That means: I will do another test with my 1st PC by updating packages to newest cups and ghostscript.
Comment 5 Ralf Krüdewagen 2011-05-18 15:59:01 UTC
Okay, just updated ghostscript from the repo at http://download.opensuse.org/repositories/home:/jsmeix:/branches:/Printing:/ghostscript/openSUSE_11.4/. And now the HP Photosmart C5180 prints correct images. So, it's fixed if ghostscript and HPLIP are updated accordingly.
Comment 6 Jani Väinölä 2011-05-19 08:08:23 UTC
Yes, I have now updated to the same packages as Ralf and my Photosmart c4580 is working great :).
Comment 7 Johannes Meixner 2011-05-19 08:39:01 UTC
Very many thanks for your feedback!

This shows that this bug is actually not a duplicate of bug #630696.
Comment 8 Johannes Meixner 2011-05-19 08:49:50 UTC
This bug is a bug in the HPCUPS driver in HPLIP
which is fixed in the new HPLIP 3.11.5 version (see comment #2)
plus
a bug in Ghostscript
http://bugs.ghostscript.com/show_bug.cgi?id=691760
which is the upstream bug for our bug #681071
which we fixed by ghostscript-library update packages
which will be available from openSUSE:11.4:Update

The ghostscript-library packages mentioned in comment #5
from home:jsmeix:branches:Printing:ghostscript
are the same as in openSUSE:11.4:Update

Perhaps our official ghostscript-library update packages
at openSUSE:11.4:Update are currently not yet available
for download and/or automated update?

Regardless wherefrom you get ghostscript-library update packages
the crucial point is that "rpm -q --changelog ghostscript-library"
shows this entry:
--------------------------------------------------------------------
- gs.svn_diff-c_12005.diff fixes
  http://bugs.ghostscript.com/show_bug.cgi?id=691760
  which is the upstream bug for bnc#681071.
--------------------------------------------------------------------
Comment 9 Johannes Meixner 2011-05-19 09:08:22 UTC
Reopening to ask our maintenace team for a version upgrade
to HPLIP 3.11.5 for openSUSE:11.4 to get it fixed...
Comment 10 Johannes Meixner 2011-05-19 09:34:55 UTC
Maintenace team,
I ask for a version upgrade to HPLIP 3.11.5
for openSUSE:11.4 to get this bug fixed.

I noticed several bug reports at upstream HPLIP regarding
the same issue and what upstream HPLIP tells their users
is to upgrade to HPLIP 3.11.5.

I neither have knowledge of the HPCUPS printer driver
so that I cannot find out what needs to be changed in the driver
nor do I have the time for a detailed analysis what exactly
goes on here so that I cannot make a patch which fixes only
this particular issue.

Either I am allowed to do a version upgrade
or I cannot provide a fix.

I do not expect new issues because of the version upgrade
(otherwise I would of course not ask for it).

Is it perhaps possible to provide a version upgrade
only as an optional update package?
Comment 11 Marius Tomaschewski 2011-05-19 10:06:21 UTC
Created attachment 430382 [details]
Screenshort showing original pdf and 11.4-release, 1st fix attempt, working scans

It works for me with my HP Officejet Pro 8500 a910 (hpcups 3.11.5) and the ghostscript-*-9.00-53.1.x86_64 from home:jsmeix:branches:Printing:ghostscript,
cups*,foomatic-filters,gutenprint,hplip*-3.11.5-32.1.x86_64 from the Printing
project.

The printed (right) picture is still a little bit too blue, but acceptable.
Comment 12 Marius Tomaschewski 2011-05-19 10:10:19 UTC
BTW: With hpijs-3.11.5 ppd I still get the "**** Unable to open the initial device, quitting.". [RipCache 512m].
Comment 13 Johannes Meixner 2011-05-19 11:23:20 UTC
Regarding comment #12:
This is a separated bug in the HPIJS driver, see
https://bugzilla.novell.com/show_bug.cgi?id=688614#c19
which only affect some printer models, see
https://bugzilla.novell.com/show_bug.cgi?id=688614#c29
Comment 14 Christopher Stender 2011-05-19 21:33:27 UTC
HPLIP 3.11.5 from obs:Printing plus ghostscript from openSUSE:11.4:Update fixed the problem for my HP Officejet 6000, too. Thanks a lot!
Comment 15 Christian Dengler 2011-05-23 14:44:52 UTC
update is okay for me (+1)
Comment 16 Swamp Workflow Management 2011-05-26 15:58:35 UTC
The SWAMPID for this issue is 41138.
This issue was rated as low.
Please submit fixed packages until 2011-06-23.
Also create a patchinfo file using this link:
https://swamp.suse.de/webswamp/wf/41138
Comment 17 Christian Dengler 2011-05-26 15:58:54 UTC
update running
Comment 18 Johannes Meixner 2011-05-27 09:27:20 UTC
Submitted HPLIP 3.11.5 to hplip openSUSE:11.4:Update:Test
via submitrequest 71635.

Task "Add patchinfo for openSUSE product" done
in workflow MaintenanceTracker-41138.

For me this particular issue in now FIXED.

Nevertheless it may take a while until hplip version upgrade
packages for openSUSE 11.4 really appear under openSUSE:11.4:Update.

I.e. when this bug report is set to "FIXED" it does not mean
that hplip version upgrade packages are already available.

The hplip version 3.11.5 upgrade packages will have
this RPM changelog entry (excerpt):
--------------------------------------------------------------
- Upgraded to version 3.11.5:
...
  Together with our Ghostscript update packages (bnc#681071)
  it fixes the inverted/wrong color problem in HPCUPS
  (see Novell/openSUSE Bugzilla bnc#692905).
--------------------------------------------------------------

Unless "rpm -q --changelog hplip" does not show this entry,
you do not have those hplip version upgrade packages installed.

Additionally you need to have our Ghostscript update packages installed.

The ghostscript-library update packages have this
RPM changelog entry:
--------------------------------------------------------------
- gs.svn_diff-c_12005.diff fixes
  http://bugs.ghostscript.com/show_bug.cgi?id=691760
  which is the upstream bug for bnc#681071.
--------------------------------------------------------------

Unless "rpm -q --changelog ghostscript-library" does not show this entry,
you do not have those ghostscript-library update packages installed.
Comment 19 Bernhard Wiedemann 2011-05-27 10:00:19 UTC
This is an autogenerated message for OBS integration:
This bug (692905) was mentioned in
https://build.opensuse.org/request/show/71635 11.4 / hplip
Comment 20 Christian Dengler 2011-06-06 12:35:11 UTC
update released
Comment 21 Swamp Workflow Management 2011-06-06 12:35:42 UTC
Update released for: hplip, hplip-debuginfo, hplip-debugsource, hplip-hpijs, hplip-hpijs-debuginfo
Products:
openSUSE 11.4 (debug, i586, x86_64)