Bug 579461 - black stripes in white space
Summary: black stripes in white space
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: hplip
Version: 12
Hardware: All
OS: Linux
low
high
Target Milestone: ---
Assignee: Tim Waugh
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
: 582000 583056 584164 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-04-05 10:21 UTC by Jan "Yenya" Kasprzak
Modified: 2010-05-18 21:56 UTC (History)
6 users (show)

Fixed In Version: hplip-3.10.2-4.fc11
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-04-23 22:53:59 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
sample of an incorrectly printed document (350.06 KB, image/jpeg)
2010-04-05 10:21 UTC, Jan "Yenya" Kasprzak
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Launchpad 561264 0 None None None Never

Description Jan "Yenya" Kasprzak 2010-04-05 10:21:33 UTC
Created attachment 404474 [details]
sample of an incorrectly printed document

Description of problem:
The latest update of hplip/hpijs broke printing to Color LaserJet CM1312nfi MFP printer - every page has black stripes instead of rows with all white pixels. I will attach the sample (lpr /etc/profile). Printing from a web browser or OpenOffice.org has the same problem.

Version-Release number of selected component (if applicable):
hpijs-3.10.2-2.fc12.x86_64
hplip-3.10.2-2.fc12.x86_64

How reproducible:
100%

Steps to Reproduce:
1. connect the CM1312nfi printer over USB
2. configure it (I have set up only one non-default option - A4 paper instead of the default US Letter)
3. try to print a document (e.g. lpr /etc/profile)
  
Actual results:
Rows with at least one non-white pixel are printed correctly, all-white rows are printed all-black instead.

Expected results:
All-white rows should be printed white.

Additional info:
This is a regression - downgrading to 3.9.8-28.fc12.x86_64 versions of hpijs, hplip, etc. and recreating the printer queue fixes the problem.

In addition, I have also reproduced the bug #579355 on my setup.

Comment 1 Jan "Yenya" Kasprzak 2010-04-08 15:57:44 UTC
Additional note: I would like to report it upstream as well, but I am not sure where the upstream is. I have tried to add a comment to the "Known issues in 3.10.2" page (http://hplipopensource.com/node/340), but the comment is still not published there after three days.

Comment 2 Tim Waugh 2010-04-08 17:09:00 UTC
Here's the upstream HPLIP bug tracker:
  https://bugs.launchpad.net/hplip

Sorry this hasn't been looked at yet, it is not forgotten...

Comment 3 Tim Waugh 2010-04-09 12:21:42 UTC
I've just confirmed that the raster data looks correct before it is processed by hpcups, so it looks like it really is an hpcups bug of some sort.

Comment 4 Jan "Yenya" Kasprzak 2010-04-12 07:49:06 UTC
Reported upstream as https://bugs.launchpad.net/hplip/+bug/561264.

Comment 5 Tim Waugh 2010-04-13 22:29:30 UTC
*** Bug 582000 has been marked as a duplicate of this bug. ***

Comment 6 Tim Waugh 2010-04-13 22:30:15 UTC
Also affects:
  HP Color LasetJet 5550 pcl3, hpcups 3.10.2 (en)
  HP Color LasetJet 4700 pcl3, hpcups 3.10.2 (en)

Comment 11 Gavin Simpson 2010-04-15 15:50:33 UTC
Also affecting:
  HP Color LaserJet CP2025dn pcl3, hpcups 3.10.2 (en)

Comment 12 Jiri Popelka 2010-04-15 15:57:36 UTC
Can you try this version ? 
http://koji.fedoraproject.org/koji/buildinfo?buildID=167083
Thanks

Comment 13 Gavin Simpson 2010-04-15 18:28:57 UTC
Jiri,

Thanks but this new build isn't working for we. No black lines where whitespace should be, but page content is being printed in the top 25-33% of the page. The one thing that seems to be controlling how much of the page gets printed upon is the presence of figures within the PDF I was printing.

Text other than that along side the figures on the page is being printed on top of itself at the very top of the page.

Sorry, best way I can explain it - I don't have access to a scanner here to show you what the printout looks like.

I downloaded all the rpms for my system, installed using yum localinstall, logged out/in, then deleted the current printer (HP Color LaserJet CP2025dn) and added it again. The above behaviour was what resulted.

The Test Print page prints out OK.

Is there anything else I can try/provide for you?

G

Comment 14 Tim Waugh 2010-04-15 20:28:28 UTC
OK, that came from my bad guess about what to change.  What's happened is that we've killed all the "move down [n] raster rows" commands, and changed them into something else (move up or something probably).

Gavin, can you now do: yum downgrade 'hplip*' 'hpijs*' 'libsane-hp*'
and try changing the "Output Mode" option in the Printer Options for the queue from RGB to Gray?  Let us know if that gives correct blank lines.

I think I've found a useful clue in this document:
  "HP PCL/PJL Reference (PCL 5 Color) - Technical Reference Manual (bpl13212)"
  http://h20000.www2.hp.com/bc/docs/support/SupportManual/bpl13212/bpl13212.pdf

Take a look at page 139, specifically this bit:

This command zero-fills the offset area. For color printers, zero-fills
are filled with the color of index 0, which is not necessarily white.

So I wonder if this is some problem with the indexed colour palette getting its colours in a twist.

Comment 15 Tim Waugh 2010-04-15 21:49:20 UTC
Although it looks like it does set colour 0 to white (0xFF 0xFF 0xFF in Device RGB).  That all looks fine. :-/

Here's another approach: I've built another hplip package which disables the "move down [n] raster rows" function altogether, and instead sends blank raster lines.

http://koji.fedoraproject.org/koji/buildinfo?buildID=167170

Could you give that one a go?

Comment 16 Gavin Simpson 2010-04-16 11:21:45 UTC
Sorry for delay in getting back to you - printer in question is at work.

Tried the new build from comment #15. This works for me with:
  HP Color LaserJet CP2025dn pcl3, hpcups 3.10.2 (en)

The couple of PDFs I tried to print are now printing out as I would expect - the whitespace printing as "black" blocks/lines bug does not now occur.

I'm about the head of travelling for several weeks with work so I won't be able to test anything further. Sorry about that; I'll catch up with the bug when I get back. I head off on Monday so in the meantime if you need anything further just shout.

Thanks for looking at this so quickly.

Comment 18 Jiri Popelka 2010-04-16 14:48:09 UTC
*** Bug 583056 has been marked as a duplicate of this bug. ***

Comment 19 Geoffrey Furnish 2010-04-16 16:03:52 UTC
Hi Tim and/or Jiri,

I would be willing to try the build Tim mentions in comment 15.  What is the procedure I should use to install this test build?  Do I have to download each of the rpms listed in the build page, for my architecture, and them rpm -i each of them?  Or is there a yum way to install this test build in some simple command?

Comment 20 Gavin Simpson 2010-04-16 16:54:09 UTC
(In reply to comment #19)
> Hi Tim and/or Jiri,

> Do I have to download each
> of the rpms listed in the build page, for my architecture, and them rpm -i each
> of them?  Or is there a yum way to install this test build in some simple
> command?    

Geoffrey, to test I just downloaded the set of rpms into a directory, cd'd into that directory and then did:

su -c "yum --nogpgcheck localinstall *.rpm"

Having first checked there were no other rpms in that directory.

HTH

Comment 21 Geoffrey Furnish 2010-04-16 17:15:07 UTC
Okay, I've done that.  This corrects the problem on my HP cm1312nfi.  Output now looks normal.

Thanks much!  Seems like this would be good to push out into the updates zone.

Comment 22 Jan "Yenya" Kasprzak 2010-04-16 17:57:35 UTC
3.10.2-6.fc12.x86_64 works for me (Color Laserjet CM1312nfi MFP). Please push it to the updates repository.

And thanks for fixing this so quickly!

Comment 23 Fedora Update System 2010-04-16 22:09:23 UTC
hplip-3.10.2-11.fc13 has been submitted as an update for Fedora 13.
http://admin.fedoraproject.org/updates/hplip-3.10.2-11.fc13

Comment 24 Fedora Update System 2010-04-16 22:12:03 UTC
hplip-3.10.2-6.fc12 has been submitted as an update for Fedora 12.
http://admin.fedoraproject.org/updates/hplip-3.10.2-6.fc12

Comment 25 Fedora Update System 2010-04-16 22:13:21 UTC
hplip-3.10.2-4.fc11 has been submitted as an update for Fedora 11.
http://admin.fedoraproject.org/updates/hplip-3.10.2-4.fc11

Comment 26 Fedora Update System 2010-04-20 13:12:17 UTC
hplip-3.10.2-6.fc12 has been pushed to the Fedora 12 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update hplip'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/hplip-3.10.2-6.fc12

Comment 27 Fedora Update System 2010-04-20 13:22:17 UTC
hplip-3.10.2-4.fc11 has been pushed to the Fedora 11 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update hplip'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/hplip-3.10.2-4.fc11

Comment 28 Fedora Update System 2010-04-20 13:27:49 UTC
hplip-3.10.2-11.fc13 has been pushed to the Fedora 13 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update hplip'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/hplip-3.10.2-11.fc13

Comment 29 Jiri Popelka 2010-04-21 09:30:58 UTC
*** Bug 584164 has been marked as a duplicate of this bug. ***

Comment 30 Fedora Update System 2010-04-23 22:53:54 UTC
hplip-3.10.2-6.fc12 has been pushed to the Fedora 12 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 31 Fedora Update System 2010-05-07 04:01:14 UTC
hplip-3.10.2-11.fc13 has been pushed to the Fedora 13 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 32 Fedora Update System 2010-05-18 21:56:29 UTC
hplip-3.10.2-4.fc11 has been pushed to the Fedora 11 stable repository.  If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.