HP Linux Imaging and Printing

3.10.2 prints black stripes on CM1312nfi MFP

Reported by Kas-fi on 2010-04-12
32
This bug affects 4 people
Affects Status Importance Assigned to Milestone
HPLIP
Undecided
Sanjay Kumar
Gentoo Linux
Fix Released
Medium
hplip (Fedora)
Unknown
Unknown
hplip (Ubuntu)
Medium
Unassigned
Lucid
Medium
Unassigned
system-config-printer (Ubuntu)
Medium
Unassigned
Lucid
Undecided
Unassigned

Bug Description

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.
Printing from a web browser or OpenOffice.org has the same problem.

My system is Fedora 12, and the downstream bug report is
https://bugzilla.redhat.com/show_bug.cgi?id=579461

This is with 3.10.2, while 3.9.8 works as expected.

As an example, the scanned output of "lpr /etc/profile" is attached to the above bug:
https://bugzilla.redhat.com/attachment.cgi?id=404474

This bug _might_ be related to #555126.

Kas-fi (kas-fi) wrote :
tom mitchell (hydrotom) wrote :

I am running PClinuxOS 2010KDE and it affects my hp4500dn colour laser. With the standard driver only grayscale is produced, there is no option to get colour, with the PCL3 driver colour is produced with the black lines.

Jiri Popelka (jpopelka) wrote :

This is "work-around" patch from Tim Waugh.

Work-around solution is to send entire blank raster lines instead of skip them.

Trying to print anything to HP Color LaserJet 2025n results in black stripes - see URL for details. I have patched hplip-3.9.12-r1 with provided patch and seems to be working fine. I assume it should work fine with 3.10.2 as well as upstream bug report is for 3.10.2 version.

Reproducible: Always

Created attachment 228397
"Work around" patch

Seb James (sjames-wmltd) wrote :

This bug affects me for a CM1312nfi and also appears to affect my colleague for a CP3505 printer, using the hplip/hpcups driver version 3.9.12.

Seb James (sjames-wmltd) wrote :

Possibly related also to Bug #539354.

Chris Coulson (chrisccoulson) wrote :

This also affects Ubuntu, and makes the printer pretty much unusable (printing from OOo, web browser or Evince yields the same results)

Changed in hplip (Ubuntu):
status: New → Triaged
importance: Undecided → Medium
Till Kamppeter (till-kamppeter) wrote :

Problem occurs also on my CM3530 (I did not see it before as my printer sets up as PostScript by default and works perfectly this way),

Will apply the patch ...

Changed in hplip (Ubuntu):
status: Triaged → In Progress
Till Kamppeter (till-kamppeter) wrote :

I have applied the patch and it works for me. Fix will be in the next Maverick package of HPLIP.

Developers at HP: Please apply the patch as soon as possible.

Changed in hplip (Ubuntu):
status: In Progress → Fix Committed
tags: added: patch
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package hplip - 3.10.5-4ubuntu1

---------------
hplip (3.10.5-4ubuntu1) maverick; urgency=low

  [ Till Kamppeter ]
  * debian/patches/black-stripes-on-pcl5c-printouts.dpatch: The PCL 5c
    driver (Color LaserJet) printed blank raster lines in black (LP: #561264).

  [ Mark Purcell ]
  * Split libsane-hplip - headless scanner libs

hplip (3.10.5-4) unstable; urgency=high

  * Force Depends: python (>> 2.6), python (<< 2.7) (Closes: #587737)
    - Urgency high for RC bug
  * Ack python transition NMUs - Thanks Bernd
 -- Till Kamppeter <email address hidden> Sun, 18 Jul 2010 12:15:18 +0200

Changed in hplip (Ubuntu):
status: Fix Committed → Fix Released
Changed in hplip (Ubuntu Lucid):
importance: Undecided → Medium
status: New → Triaged
status: Triaged → Fix Committed

SRU for Lucid uploaded to-proposed, waiting for approval. debdiff of the SRU is attached.

To reproduce create a CUPS queue for color PCL laser printer (PCL 5c) and print a plain text file. Without the patch the white space between the lines comes out black, with the patch all is correct.

I have tested on the HP Color LaserJet CM3530 MFP and I could reproduce the bug and with the patch installed the bug disappeared.

Changed in hplip:
status: New → In Progress
status: In Progress → New
Changed in system-config-printer (Ubuntu):
status: New → In Progress
importance: Undecided → Medium
Changed in system-config-printer (Ubuntu Lucid):
status: New → Invalid

Another problem is that your printer is also a PostScript printer but not set up in PostScript mode automatically. The problem is caused because their is only one PPD file for the Color LaserJet CM1312 and the CM1312nfi. Inside the PPD file all supported models are listed in "*Product:" lines, but only the CM1312 is listed in the "*ModelName:" line and current printer setup tools only take the "*ModelName:" line into account. I have fixed this in system-config-printer (for Maverick) now (to be uploaded soon). The new version will also take into account the "*Product:" lines in the PPD files.

For the time being please use your printer in PostScript mode by setting it up manually. Start system-config-printer (System -> Administration -> Printing), right-click the icon of your printer, choose "Properties" in the pop-up menu, click on the "Change" button for "Make and Model", choose "HP" as manufacturer and "Color LaserJet CM1312" (without "nfi") as model. Then on the right choose the entry with "Postscript" in it (should be the first), Then click "Forward" until the wizard completes.

Launchpad Janitor (janitor) wrote :

This bug was fixed in the package system-config-printer - 1.2.3+20100713-0ubuntu2

---------------
system-config-printer (1.2.3+20100713-0ubuntu2) maverick; urgency=low

  * debian/patches/53_printer-ppd-association-take-into-account-product-lines.patch:
    If a PPD contains one or more "*Product:" lines, take these into account
    as alternative model names when associating PPDs with detected printer
    models. Some PPDs, especially from HP are for various different printer
    models which are listed in "*Product:" lines. Up to now, no printer setup
    tools made use of these lines. Especially the PostScript PPD file for the
    HP Color LaserJet CM 1312 series mentions taht it supports also the
    CM1312nfi only in one of many "*Product:" lines and therefore this printer
    gets automatically installed in PCL mode, as for PCL there are PPDs having
    this printer in "*ModelName:" (LP: #561264).

  * debian-control: Require version 1.9.51-0ubuntu2 or newer of python-cups.

  * debian/patches/57_backend-integration-dnssd-bluetooth.patch,
    debian/patches/75_use-dnssd-uris-for-hplip.patch,
    debian/patches/88_physicaldevice-get-make-model-also-from-makeandmodel.patch,
    debian/patches/94_cache-and-timeout-for-avahi-browse.patch,
    debian/patches/57_backend-integration-blueto oth.patch,
    debian/patches/95_dnssd-device-identification.patch: Reorganized patches to
    avoid overlapping of the changes.
 -- Till Kamppeter <email address hidden> Wed, 21 Jul 2010 15:33:33 +0200

Changed in system-config-printer (Ubuntu):
status: In Progress → Fix Released

Note that we are currently in SRU freeze for 10.04.1. Therefore no official SRU testing will be possible for two weeks from now. To make the fixes available to you already now and to give you also the possibility to give us our testing period before the official SRU testing I have uploaded a package identical to the SRU to my PPA. Please test this package and report here.

Please go to

https://launchpad.net/~till-kamppeter/+archive/ppa

and see the "Adding this PPA to your system" for instructions to get my PPA added to your system's software download repositories.

After that do a full system update. The new HPLIP and some other packages (for other SRUs) will get downloaded and installed.

If you have manually switched to PostScript for your production print queue, please create another print queue and let the driver selection go automatically. Printing from that queue do not show the black lines.

John Dong (jdong) wrote :

ACK from SRU (after SRU freeze)

Accepted hplip into lucid-proposed, the package will build now and be available in a few hours. Please test and give feedback here. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you in advance!

tags: added: verification-needed
Chris Coulson (chrisccoulson) wrote :

Confirming the package in lucid-proposed fixes the issue with my CM1312nfi

tags: added: verification-done
removed: verification-needed
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package hplip - 3.10.2-2ubuntu2.1

---------------
hplip (3.10.2-2ubuntu2.1) lucid-proposed; urgency=low

  * debian/patches/black-stripes-on-pcl5c-printouts.dpatch: The PCL 5c
    driver (Color LaserJet) printed blank raster lines in black (LP: #561264).
 -- Till Kamppeter <email address hidden> Mon, 19 Jul 2010 17:58:18 +0200

Changed in hplip (Ubuntu Lucid):
status: Fix Committed → Fix Released

i have the same with p1005(b&w printer) and it's shown as color printer in cups

Still applicable for version 3.10.9

Changed in gentoo:
importance: Unknown → Medium
Sanjay Kumar (sanjay-kumar14) wrote :

Hi,

Thanks for reporting the issue. We will remove the color option for this device. Just wanted one clarification. Is printing happening fine on p1005(b & w printer), or is it printing black patches.

Also please provide the output of "hp-check -t" command.

Thanks,
Sanjay

Changed in hplip:
status: New → In Progress
assignee: nobody → Sanjay Kumar (sanjay-kumar14)

Over a year later, and this is still an issue with hplip-3.11.12. I can confirm that the patch resolves the problem. Can anyone get word through to the hplip maintainers?

+*hplip-3.11.12-r1 (12 Jan 2012)
+
+ 12 Jan 2012; Daniel Pielmeier <email address hidden> +hplip-3.11.12-r1.ebuild,
+ +files/hplip-3.11.12-black-stripes-pcl5c.patch:
+ Fix bug #316111. Thanks to Marcin Deranek for the report.

Patch from upstream bug applied.

Changed in gentoo:
status: Unknown → Fix Released

Yo the HPLIP developers at HP: Can you apply the patch debian/patches/black-stripes-on-pcl5c-printouts.dpatch of the Ubuntu package of HPLIP to upstream HPLIP? Thanks.

Jaime Carpenter (j.carpenter) wrote :

I have the same problem with HPLIP v3.13.2 and an HP cm2320nf on Ubuntu LTS 10.04.

Jiri Popelka (jpopelka) wrote :

Patch from comment #3 seems to be finally applied in 3.13.9, thanks.

Changed in hplip:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.