Bug 576370
| Summary: | several driver margins don't specify units | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Tom Horsley <horsley1953> | ||||||
| Component: | foomatic-db | Assignee: | Tim Waugh <twaugh> | ||||||
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||
| Severity: | high | Docs Contact: | |||||||
| Priority: | low | ||||||||
| Version: | 13 | CC: | jpopelka, twaugh | ||||||
| Target Milestone: | --- | ||||||||
| Target Release: | --- | ||||||||
| Hardware: | x86_64 | ||||||||
| OS: | Linux | ||||||||
| Whiteboard: | |||||||||
| Fixed In Version: | foomatic-db-4.0-13.20100204.fc13 | Doc Type: | Bug Fix | ||||||
| Doc Text: | Story Points: | --- | |||||||
| Clone Of: | Environment: | ||||||||
| Last Closed: | 2010-04-09 04:06:51 UTC | Type: | --- | ||||||
| Regression: | --- | Mount Type: | --- | ||||||
| Documentation: | --- | CRM: | |||||||
| Verified Versions: | Category: | --- | |||||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||||
| Embargoed: | |||||||||
| Attachments: |
|
||||||||
|
Description
Tom Horsley
2010-03-23 21:58:45 UTC
Created attachment 402156 [details]
poorly aligned test output
Created attachment 402157 [details]
much better alignment with the hl1250 driver
(In reply to comment #0) > I decided to check and see if it could print, so I opened s-c-p and > there was no printer defined. This is the first problem -- it should have added a queue automatically. I can't really think why it wouldn't have done this, but /var/log/messages might give some indication. Later on you say that this did work another time, so perhaps it's some sort of intermittent problem. > I went through the manual add printer > process, and it picked one of the cups gutenprint hl-2060 drivers (the > simplified one I think). That driver didn't work (same story as is > documented in bug 531370). I then installed foomatic: This is the second problem -- it should have prompted you to install foomatic automatically. Are you running KDE by any chance? > It picked the foomatic/hpijs-pcl5e driver. This driver can indeed print, > but it appears to expand the printout to be about an inch larger than > 8.5x11 so that "Printer Test Page" gets cut off at the top and bottom. So this is the third problem, that the pcl5e driver is giving you bad output. We need to try to determine whether that's a generic problem with the driver, or whether it only happens with your printer model. A possible fourth problem is that the pcl5e driver is recommended instead of hl1250. I'll have to check the foomatic-db commit logs to see when/why this changed. >This is the first problem -- it should have added a queue automatically. I >can't really think why it wouldn't have done this, but /var/log/messages might >give some indication. Later on you say that this did work another time, so >perhaps it's some sort of intermittent problem. The printer was attached when I initially installed f13 from the dvd, so maybe someone decided it couldn't work at that time and saved that info somewhere? Or maybe it is one of the few customizations I have done on f13 so far - turned off the avahi-daemon service (I actually hate things that happen automatically, so this issue doesn't bother me much :-). I do see a slew of avahi errors in the cups/error_log. The only thing I see in /var/log/messages is the normal registering of the usb printer every time I boot. When it did install automatically, it was after I had manually installed foomatic then deleted the existing printer def. >This is the second problem -- it should have prompted you to install foomatic >automatically. > >Are you running KDE by any chance? Nope, standard gnome session with new user on new /home created when I installed. >So this is the third problem, that the pcl5e driver is giving you bad output.
>We need to try to determine whether that's a generic problem with the driver,
>or whether it only happens with your printer model.
I just noticed in the test outputs I attached, that the "media limits"
for the pcl5e driver seem to imply that the entire page is printable
from edge to edge, and that is certainly not true. The hl1250 test page
shows much more reasonable media limits for this printer.
Oh, well spotted, that's exactly the problem.
It is because the foomatic driver/hpijs-pcl5e.xml file has this:
<margins>
<general>
<relative />
<top>0.2</top>
<left>0.25</left>
<right>0.25</right>
<bottom>0.2</bottom>
</general>
</margins>
but it should look like this:
<margins>
<general>
<unit>in</unit>
<relative />
<top>0.2</top>
<left>0.25</left>
<right>0.25</right>
<bottom>0.2</bottom>
</general>
</margins>
I wonder if there are any other drivers like that.
This was already fixed upstream. Here's the upstream change:
2010-03-10 OpenPrinting Web Server <webmaster>
* db/source/driver/chp2200.xml,
db/source/driver/hpijs-pcl3.xml,
db/source/driver/hpijs-pcl5c.xml,
db/source/driver/hpijs-pcl5e.xml,
db/source/driver/hplip.xml,
db/source/driver/min12xxw.xml,
db/source/driver/oki4w.xml,
db/source/printer/HP-Color_LaserJet_1500.xml,
db/source/printer/HP-Color_LaserJet_1600.xml,
db/source/printer/HP-Color_LaserJet_2600n.xml,
db/source/printer/HP-Color_LaserJet_CP1215.xml,
db/source/printer/Kyocera-KM-1635.xml,
db/source/printer/Kyocera-KM-2035.xml:
The MySQL database on the OpenPrinting web server could not hold
"<unit>in</unit>" in margin definitions. Fixed the MySQL database
and exported the corrected entries.
F-12 not affected. I've built foomatic-db-4.0-12.20100204.fc13 with this fix. Could you try it out please? You'll need to create the queue again after updating the package. Where would I find this new foomatic? Is it in updates-testing, or over on the build system I never remember how to use? :-). Won't be able to try it till this evening (EDT) when I can reboot back to f13 at home. :-) Sorry, it's here: http://koji.fedoraproject.org/koji/buildinfo?buildID=163652 This new foomatic definitely seems to work. I reinstalled the printer and it picked hpijs-pcl5e, and this time the test page printed perfectly. It even looks better than the hl1250 - the pcl5e prints the outer black border closer to the edge of the paper, so the media limits (now that the units are accurate :-) seem to be more correct for my HL-2040 with the recommended driver. foomatic-db-4.0-13.20100204.fc13 has been submitted as an update for Fedora 13. http://admin.fedoraproject.org/updates/foomatic-db-4.0-13.20100204.fc13 foomatic-db-4.0-13.20100204.fc13 has been pushed to the Fedora 13 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update foomatic-db'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/foomatic-db-4.0-13.20100204.fc13 foomatic-db-4.0-13.20100204.fc13 has been pushed to the Fedora 13 stable repository. If problems still persist, please make note of it in this bug report. |