wrong margins on HP photosmart 5520 printer

Bug #1322232 reported by trent--
18
This bug affects 3 people
Affects Status Importance Assigned to Milestone
hplip (Ubuntu)
Undecided
Unassigned

Bug Description

Using Ubuntu 14.04 LTS, hplip package 3.14.3-0ubuntu3

With the hplip Ubuntu package, when printing with any A4 paper size (A4 / A4 small margins / A4 borderless), output is cut on the edges of the page (more than 1 cm is cut from each edge).

Using upstream hplip 3.14.4 downloaded from http://hplipopensource.com , with A4 paper size, prints as expected : margins are only a few millimeters wide, and apps don't try to print within these margins.

Test case : remove printer from CUPS, setup printer with hp-setup then change paper size with CUPS, open LibreOffice, select printer and page size in "printer settings" dialog, set margins to the lowest allowed value in "format > page > page > margins", print page.
Tried with other apps than LibreOffice too.

After reviewing a few bug reports about margin issues with hplip, it seems the timeline for this problem is the following :
- margins were wrong in the ppd files from the original upstream packages
- Debian and Ubuntu included a patch to alter page size in the ppd files
- upstream fixed the margins size bug, thus causing a regression in Debian and Ubuntu packages
- Debian fixed their patch to work with the fixed upstream release [https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=655106#52]
I'm not sure whether the fixed Debian patch has been ported to Ubuntu. I tried comparing the patches in the sources packages hplip_3.14.1-1.debian.tar.xz from Debian, and hplip_3.14.3-0ubuntu3.debian.tar.gz from Ubuntu, and it seems that the patches are the same now, so maybe that problem has nothing to do with my bug.

I can add log files or ppd files if needed...

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in hplip (Ubuntu):
status: New → Confirmed
Revision history for this message
jc (jc-j) wrote :

I have a similar problem: The printer is an HP Officejet Pro L7600, which used to work fine on an earlier Ubuntu. But when I upgraded to the latest xubuntu (LTE 14.04), the pages all have a blank margin about 1.3 or 1.4 cm wide, and the text in that area (title, page number, date, etc.) in blank. The titles at the top typically have the bottom of descenders in letters like 'p', 'q', and 'y', showing that the text was "placed" correctly in PDF/PS, but the top parts of the letters are erased by something.

I've poked around in all the config stuff I can find, and done a bit of googling, and found comments about the problem on several forums, but as here, I've found no answers. The fact that the printer printed in the margin area (up to about 2 cm from each edge) proves that it's not the printer's fault.

Anyone have a clue for how to fix it?

Revision history for this message
Stinger (e-mindahl) wrote :

This is most annoying.
can we please have a newer version of hplib backported to trusty ?

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers