Bug 3024 - HP Laserjet 6 margins changed after recent cups/hplip update
Summary: HP Laserjet 6 margins changed after recent cups/hplip update
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 1
Hardware: i586 Linux
Priority: Normal normal
Target Milestone: ---
Assignee: Florian Hubold
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-12 15:41 CEST by Bill Wilkinson
Modified: 2012-04-19 20:50 CEST (History)
3 users (show)

See Also:
Source RPM:
CVE:
Status comment:


Attachments
printers.conf (708 bytes, text/plain)
2011-10-17 16:47 CEST, Bill Wilkinson
Details
cups error log (810 bytes, application/octet-stream)
2011-10-17 16:48 CEST, Bill Wilkinson
Details

Description Bill Wilkinson 2011-10-12 15:41:01 CEST
Following the recent cups/hplip updates, I've run into problems with the default margins on my printer.  Printing envelopes has become impossible from LibreOffice.  I've removed all current drivers and reinstalled, but the issue remains.

Having said all this, the test page I printed on completion of re-setting up the printer printed fine.

Any ideas?

CUPS 1.4.6-3mga1
hplip 3.11.7-1.2mga1
LibreOffice 3.3.1-0.1mga1
Remco Rijnders 2011-10-12 16:57:23 CEST

Assignee: bugsquad => doktor5000

Comment 1 Dave Hodgins 2011-10-12 21:04:53 CEST
See if https://bugzilla.redhat.com/show_bug.cgi?id=738089#c11 applies
in this case.

CC: (none) => davidwhodgins

Comment 2 Bill Wilkinson 2011-10-13 00:05:35 CEST
I haven't tested the fedora builds of hplip, but I had tested the other laserjet 6l drivers and none of them worked properly.

CUPS + Gutenprint 5.2.6
Foomatic/gutenprint ijs 5.2
Foomatic lj4dith

CC: (none) => wrw105

Comment 3 Florian Hubold 2011-10-17 15:10:28 CEST
Did you also remove the PPDs from /etc/cups/ppds ?

This problem comes from the fact that PPDs have to be updated to also migrate user-made changes and due to the fact that hplip is not good at backwards compatibility, which is also fixed by the update. This is done by calling /usr/bin/hpcups-update-ppds during %post-install script of hplip-hpijs, this may be the culprit here.

So if you remove the PPD and rechoose it during installation of the printer, the margins should be correct as originally supplied by the unchanged PPD from hplip, which can be found in compressed form at /usr/share/ppd/HP/ from the package hplip-hpijs-ppds.

Status: NEW => ASSIGNED

Comment 4 Bill Wilkinson 2011-10-17 16:20:17 CEST
I just checked, and removing the printer from MCC does empty the /etc/cups/ppd directory.

Running the wizard through MCC also gives the option to keep old settings or use the base driver settings; I chose base settings.

using the Foomatic/gutenprint ijs 5.2 is giving usable results on an envelope, but it's still not where it was with the older version, which was where it was supposed to be on the envelope.
Comment 5 Florian Hubold 2011-10-17 16:37:08 CEST
Could you please attach your /etc/cups/printers.conf and maybe also /var/log/cups/error.log? AFAICT Foomatic/gutenprint ijs 5.2 is no hplip driver.
Comment 6 Bill Wilkinson 2011-10-17 16:47:38 CEST
Created attachment 972 [details]
printers.conf

The current printers.conf file
Comment 7 Bill Wilkinson 2011-10-17 16:48:49 CEST
Created attachment 973 [details]
cups error log
Comment 8 Bill Wilkinson 2011-10-17 16:50:36 CEST
Florian,

Here you go.  It took a little fudging to get the printers.conf readable and uploadable.

The driver I'm using is one that comes up as an option in MCC when setting up the pritner.  I'll try with the default again after deleting the current driver and let you know what I come up with.
Comment 9 Bill Wilkinson 2011-10-17 16:54:50 CEST
the default driver (hpcups 3.11.7) is still way off. (Return address in upper center of envelope).
Comment 10 Bill Wilkinson 2011-10-20 21:57:13 CEST
Looking through, there are other files in /etc/cups-could one of those be the problem?  Would deleting the printer in MCC and deleting newish files in /etc/cups do the trick?
Comment 11 Florian Hubold 2011-12-12 15:19:59 CET
You could try to remove the printer via CUPS web frontend http://127.0.0.1:631/ and then remove the /etc/cups/printers.conf and everything inside /etc/cups/ppd/ and then readd the printer via CUPS, not MCC.
Comment 12 Florian Hubold 2011-12-21 19:55:18 CET
Seems new hplip has fixed errors like these, check: https://bugs.launchpad.net/ubuntu/+source/hplip/+bug/890684
That's why, before the updates to 3.11.7 with 3.11.3e it would have been OK. If you can verify that this is fixed in cauldron i could put out an update for Mageia 1 for this bug.
Comment 13 Bill Wilkinson 2011-12-22 16:40:59 CET
Unfortunately, I'm only running 1, and have a relatively slow internet connection, making changing to cauldron almost impossible.

Could you place a copy in updates/testing on the mageia 1 branch and I can check it from there?
Comment 14 Bill Wilkinson 2012-01-11 16:21:16 CET
Or, since I haven't heard anything on this in a while-could I download the source files out of the cauldron repositories and compile them myself to test?  If so, which source rpms would I need to get everything working?
Comment 16 Bill Wilkinson 2012-04-19 04:42:02 CEST
OK, it's mostly been working.  However, I've had several occasions (usually after sending several print jobs from adobe reader) where I've had to deselect and reselect the hplip driver to get it working.  Not sure what's going on there, but I think we can probably put this one to bed with the hplip update.
Comment 17 Florian Hubold 2012-04-19 20:50:44 CEST
Adobe Reader is not the best reference to test with, better try again with evince or okular or some native applications we can fix, rather than some proprietary stuff we can't do anything about.

Status: ASSIGNED => RESOLVED
CC: (none) => doktor5000
Resolution: (none) => FIXED


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