Wrong margins for Photosmart 6510 series printer

Bug #1069521 reported by Olivier Berger
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
HPLIP
Invalid
Undecided
Unassigned
Debian
Confirmed
Unknown

Bug Description

I have configured a new Photosmart 6510 series printer using hplip.

When printing, not all the surface of the page can be used. The contents being set in the top, above a 2cm marging won't be printed.

When using Windows, such behaviour won't occur.

I guess the driver is generated by printer-driver-hpcups, but I'm not sure.

FWIW, the "Cups printer test page" reports :
Media Limits: 0.12 x 0.46 to 8.15 x 10.98 inches
wheras the "HPLIP Printer Test Page" reports :
Imageable Area :
Page Size : 8.27 x 11.57 in - 210.0x293.8mm
Lower Left : 0.0 x 0.0 in - 0.0 x 0.0 mm
Upper-Right: 8.27 x 11.57 in - 210.0x293.8mm
Resolution: 720x720dpi - 28274x28274dpm

The "HPLIP Printer Test Page" has top and bottom empty : the rules aren't printed
Whereas the "Cups printer test page" has 2 1.5 cm margins above and below the frame.

Hope this helps.

Thanks in advance.

Revision history for this message
Olivier Berger (oberger) wrote :
Changed in debian:
status: Unknown → Confirmed
Revision history for this message
goutam kodu (goutam-hplip) wrote :

Hi Olivier,

I was able to go through your bug report and the corresponding log files in http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=691127.

I found that the hplip version that is installed is hplip 3.12.6 and it has hpijs filter enabled. The PPD file that it is using is a foomatic ppd file. As there is no development activity going in the hpijs side , It is expected to have margin issues with the hpijs and foomatic PPD files.

Please go ahead and download hplip-3.12.10a.run (auto-installer file) from http://hplipopensource.com/hplip-web/gethplip.html. Install it by running command " sh hplip-3.12.10a.run " in terminal.

This will install with hpcups enabled and use the hpcups ppd files.

delete the existing print queues for this printer in system-config-printer and re-configure your device using "hp-setup" command in terminal.

Thanks,
Goutam

Revision history for this message
Olivier Berger (oberger) wrote :

Hi.

I've just followed the procedure, but I'm afraid hp-setup will configure it with the following driver : lsb/usr/HP/hp-photosmart_6510_series-hpijs.ppd.gz

If I try to configure it using Cups, it proposes 2 different options (taken from the HTML source) :
<OPTION VALUE="lsb/usr/HP/hp-photosmart_6510_series-hpijs.ppd.gz" SELECTED>HP Photosmart 6510 Series hpijs, 3.12.10a (en, en)
<OPTION VALUE="drv:///hpcups.drv/hp-photosmart_6510_series.ppd" >HP Photosmart 6510 Series, hpcups 3.12.6 (en)

So, I'm not sure if hp-setup is doing it right and if the hpcups driver from 3.12.10a is indeed installed :-/

Still, this may be because I had to install hplip before being able to run 'sh hplip-3.12.10a.run', as the Python cupsext.so wasn't found intially : the installation would stop, complaining that "Warning: CUPSEXT could not be loaded. Please check HPLIP installation." (dpkg -S /usr/lib/python2.7/dist-packages/cupsext.so : hplip: /usr/lib/python2.7/dist-packages/cupsext.so)

So... I'm not sure...maybe it means the installation procedure need an update so that it works on debian wheezy ? Not sure how related to my problem this is :-/

Revision history for this message
Olivier Berger (oberger) wrote :

I've checked what's executed by the installer (.../hplip-install), and it appears that it did :
./configure --prefix=/usr --enable-qt4 --disable-libusb01_build
--enable-doc-build --disable-cups-ppd-install
--disable-foomatic-drv-install --enable-foomatic-ppd-install
--enable-hpijs-install --disable-udev_sysfs_rules --disable-policykit
--disable-cups-drv-install --disable-hpcups-install
--enable-network-build --enable-dbus-build --enable-scan-build
--enable-fax-build

That doesn't look OK to me... and explains why the hpijs would be used.

So I've checked the manual install docs at http://hplipopensource.com/hplip-web/install/manual/distros/debian.html and did instead :
./configure --prefix=/usr --with-hpppddir=/usr/share/ppd/HP
--enable-qt4 --enable-hpcups-install --enable-cups-drv-install
--disable-cups-ppd-install --disable-hpijs-install
--disable-foomatic-drv-install --disable-foomatic-ppd-install
--disable-foomatic-rip-hplip-install --enable-fax-build
--enable-dbus-build --enable-network-build --enable-scan-build
--enable-policykit --enable-libusb01_build --disable-udev_sysfs_rules
--enable-doc-build

... and guess what ? This time, it's added with the driver set to : drv:///hp/hpcups.drv/hp-photosmart_6510_series.ppd

... and Tadaaa : the test page uses the full printing space :-)

So... it seems that once proper support for wheezy is implemented, this bug will be solved for debian.

Revision history for this message
Olivier Berger (oberger) wrote :

The attached file shows a diff between the 2 generated PPDs, between hpcups 3.12.6 and 3.12.10a

Note that only ".Duplex" seems to have been added...

I guess that applying the change on running 3.12.6 could be an easier workaround than reinstalling 3.12.10a manually.

Changed in debian:
status: Confirmed → Fix Released
Revision history for this message
Olivier Berger (oberger) wrote :

FYI, the problem seems to still be present in the 3.12.11-1 experimental Debian package :-(

I applied the s/A4/A4.Duplex/ into /etc/cups/ppd/Photosmart_6510.ppd and that seems to have solved it though.

Hope this helps.

Thanks in advance.

Best regards,

Changed in debian:
status: Fix Released → Confirmed
Revision history for this message
Olivier Berger (oberger) wrote :

More precisely, the pattern that needs to be changed is : "s,A4/A4 AutoDuplex,A4.Duplex/A4 AutoDuplex," which should match 4 occurrences.

Revision history for this message
pim (pim-pulsradio) wrote :

I'm using linux mint 15 and I have the same bug. I can't print the top of the page (A4)
I don't understant the fix. What am I supposed to do to fix that ?
thanks :)

Revision history for this message
Olivier Berger (oberger) wrote :

It seems there's a workaround for the Debian package, as suggested by Francesco Muzio : http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=691127#33

This seems to relate to a duplex printing bug : https://bugs.launchpad.net/hplip/+bug/487695

Maybe someone like Till Kamppeter could comment on the need for this patch in recent versions ?

Revision history for this message
Olivier Berger (oberger) wrote :

I guess the problem lies in the Debian packaging, hence closing this upstream bug

Changed in hplip:
status: New → Invalid
Changed in debian:
status: Confirmed → New
Revision history for this message
Sahil Gupta (sahilh14) wrote :

Hi Pim,

Please download the latest .run file from http://hplipopensource.com/hplip-web/gethplip.html and install it by command :
 "sh hplip-3.13.7.run" in terminal.

After installing it, remove the existing print queue from "system-config-printer" and reconfigure the printer from "hp-setup" command.
Please let me know if you are still facing the same issue even in latest HPLIP.

Thanks
Sahil

Changed in debian:
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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