Some colors printed wrong (hpcups, big-endian platform, 3.13.8)
Bug #675936 reported by
Nenad Peric
This bug affects 3 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
HPLIP |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
The color-wheel (testpage.ps.gz) printout has some of the colors wrong.
The printer is HP OfficeJet 6000 (E609a), platform is big endian (Freescale MPC8347E), kernel is 2.6.30.9, HPLIP version 3.10.6, CUPS version 1.3.11. The HPLIP driver used is hpcups.
No hp-check utility installed, sorry.
The problem seems to be in Mode10.cpp, more specifically, ShortDelta is wrongly calculated for big endian platforms. The supplied patch fixes the calculation for big endian, it should also work on little endian, however, this has not been tested.
After the supplied patch, the color-wheel prints OK.
To post a comment you must log in.
I think last line should be
instead of
+ db = ((lastPixel & 0x0F0)) - ((lastUpperPixel & 0x0F0));
It should be
+ db = ((lastPixel & 0x0FF)) - ((lastUpperPixel & 0x0FF));
Please test it and let me know your result.
Thanks and Regards
Yashwant