I've encountered the same problem on Gentoo[1] with an Officejet 5610. Using the old hpijs (foomatic) PPD works fine, but the new hpcups PPD has broken margins. I will paste the important differences in the PPDs:
# hplip-3.9.4b-r1: CustomMedia "A4/A4 210x297mm" 595.00 842.00 10.00 36.00 10.00 9.00 HWMargins 18.00 36.00 18.00 36.00 # hplip-3.9.8-r2: CustomMedia "A4/A4 210x297mm" 595.44 841.68 18.00 36.00 18.00 9.00 HWMargins 9.00 36.00 9.00 36.00 # hplip-3.9.8-r2 *FIXED*: CustomMedia "A4/A4 210x297mm" 595.44 841.68 9.00 36.00 9.00 36.00 HWMargins 9.00 36.00 9.00 36.00 The fixed one works fine. For more information see comment 7 at [1]. [1] http://bugs.gentoo.org/show_bug.cgi?id=288751 ** Bug watch added: Gentoo Bugzilla #288751 http://bugs.gentoo.org/show_bug.cgi?id=288751 -- "hpcups" driver of HPLIP has broken margins https://bugs.launchpad.net/bugs/405116 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs