Bug 513667
Summary: | Brother HL-1430/1440 Foomatic/gutenprint drivers fail | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Jonathan Ryshpan <jonrysh> |
Component: | foomatic | Assignee: | Tim Waugh <twaugh> |
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | medium | Docs Contact: | |
Priority: | low | ||
Version: | 11 | CC: | cpanceac, fred.fredex, jpopelka, twaugh |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2009-10-22 15:49:48 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: |
Description
Jonathan Ryshpan
2009-07-24 16:58:41 UTC
Thanks for the bug report, and the research. There are several problems mentioned here. I'll go through them and give them separate numbers so we know which we are talking about: 1. The driver that gets automatically selected for this printer does not work. I'd guess that's the reason for your research. :-) Currently the recommended driver is 'Brother HL-1440 Foomatic/gutenprint-ijs-simplified.5.2', but the same incorrect output is given regardless of whether the simplified PPDs are used. 2. There's some problem to do with paper size selection for hpijs, but you haven't expanded on what exactly that is. 3. You were unable to test the hl1250 driver because of a foomatic bug. 4. The lj4dith and ljet4 drivers give incorrect output for this printer. Now let's see if we can fix them: 1. To see if the problem is to do with foomatic, please try the 'native' gutenprint drivers. To do this, install the 'gutenprint-cups' package and try these drivers: Brother HL-1440 - CUPS+Gutenprint v5.2.3 Brother HL-1440 - CUPS+Gutenprint v5.2.3 Simplified 2. What was the paper size problem you mentioned? 3. Please re-test the 'Brother HL-1440 Foomatic/hl1250' driver after applying the foomatic update issue last week: https://admin.fedoraproject.org/updates/F11/FEDORA-2009-7828 Will defer 4 until we know why the recommended driver isn't working. (In reply to comment #1) Sorry for the delay. I have only recently got the email from Bugzilla > 1. To see if the problem is to do with foomatic, please try the 'native' > gutenprint drivers. To do this, install the 'gutenprint-cups' package and try > these drivers: > > Brother HL-1440 - CUPS+Gutenprint v5.2.3 > Brother HL-1440 - CUPS+Gutenprint v5.2.3 Simplified Both drivers seem to work fine. Test page and graphics both print well. > 2. What was the paper size problem you mentioned? Not a real problem, just a warning to others who may read the entry. I chose not to import print settings, which causes the paper size to revert to A4. This can be confusing if you are also having real printer problems. > 3. Please re-test the 'Brother HL-1440 Foomatic/hl1250' driver after applying > the foomatic update issue last week: > https://admin.fedoraproject.org/updates/F11/FEDORA-2009-7828 This driver also seems to work well. I assume that this patch got into the normal update system and was brought into my computer a few days ago, since the rpm is no longer at .../updates/F11/FEDORA-2009-7828: $ rpm -q foomatic foomatic-4.0.2-4.fc11.x86_64 OK, so '1' is some problem with foomatic. For '2', what does 'locale' say? You should never need to alter the default page size when your system locale setting is correct. 3 is fixed now. So, digging deeper into problem number 1, please update gutenprint to the version from updates-testing: yum --enablerepo=updates-testing update gutenprint Then, change the driver to this one: Brother HL-1440 - Foomatic/gutenprint-ijs-simplified.5.2 [en] If it is already using that driver, please change it to another, then change it back. Does it still fail as described? (In reply to comment #3) > OK, so '1' is some problem with foomatic. > > For '2', what does 'locale' say? You should never need to alter the default > page size when your system locale setting is correct. $ locale LANG=en_US.UTF-8 LC_CTYPE="POSIX" LC_NUMERIC="POSIX" LC_TIME="POSIX" LC_COLLATE="POSIX" LC_MONETARY="POSIX" LC_MESSAGES="POSIX" LC_PAPER="POSIX" LC_NAME="POSIX" LC_ADDRESS="POSIX" LC_TELEPHONE="POSIX" LC_MEASUREMENT="POSIX" LC_IDENTIFICATION="POSIX" LC_ALL=POSIX It looks like this problem is caused by LC_PAPER="POSIX" which should be LC_PAPER="us_letter" or something similar. $ man locale doesn't have any useful info about LC_PAPER, nor about most of the other LC_* entries. Where is this info available? Maybe there should be a place in anaconda to set all this stuff when the system is set up. > 3 is fixed now. Yes. Thanks > So, digging deeper into problem number 1, please update gutenprint to the > version from updates-testing: > > yum --enablerepo=updates-testing update gutenprint > > Then, change the driver to this one: > > Brother HL-1440 - Foomatic/gutenprint-ijs-simplified.5.2 [en] > > If it is already using that driver, please change it to another, > then change it back. > > Does it still fail as described? Doing as you recomment, the entry Brother HL-1440 - Foomatic/gutenprint-ijs-simplified.5.2 [en] (recommended) ========> Note (recommended)<======== seems to work fine. *** Bug 506708 has been marked as a duplicate of this bug. *** (In reply to comment #4) > LC_ALL=POSIX Somewhere you have LC_ALL=POSIX, which isn't what you want. This seems to be the last remaining problem (I just pushed the gutenprint update to stable for Fedora 11). So what does /etc/sysconfig/i18n contain? (In reply to comment #6) > (In reply to comment #4) > > LC_ALL=POSIX > > Somewhere you have LC_ALL=POSIX, which isn't what you want. > > This seems to be the last remaining problem (I just pushed the gutenprint > update to stable for Fedora 11). > > So what does /etc/sysconfig/i18n contain? $ cat /etc/sysconfig/i18n LANG="en_US.UTF-8" SYSFONT="latarcyrheb-sun16" Please let me repeat that locale and i18n (how's that for a totally un-obvious acronym) are totally undocumented in Linux (except for the perl functions) and is (as far as I remember) not set up in the installation process. Thanks for your help and attention - jon Please run this: python <<"EOF" import cups c=cups.Connection() for p in c.getPrinters().keys (): print c.getPrinterAttributes(p).get('natural-language-configured') EOF What output do you get? FYI, this same problem also affects other Brother printers. I've encountered several of the drivers recommended by the printer configuration tool, that used to work (in ,e.g., F10), do not work in F11. With necessary updates, the drivers described in this entry do work. I'm using a network-attached HL2070N. the gutenprint driver suggested produces the bitmap images on the test page in such a way that they don't look nearly as nice as they do with the foomatic driver. (I'm not the OP, but...) for your request in comment #8 here's the output I get: en_US en_US en_US (In reply to comment #8) > Please run this: > > python <<"EOF" > import cups > c=cups.Connection() > for p in c.getPrinters().keys (): > print c.getPrinterAttributes(p).get('natural-language-configured') > EOF > > What output do you get? Output is en_US Also in reply to #6 > Somewhere you have LC_ALL=POSIX, which isn't what you want. You are quite right. This will have to change. How should LC_<Whatever> be set? Well, I'm not sure where you've set it. :-) A fresh installation just sets LANG, and the locale is keyed off that. It is set in /etc/sysconfig/i18n. So, the remaining issue is: 4. The lj4dith and ljet4 drivers give incorrect output for this printer. As the gutenprint driver is higher quality and actually maintained, and is now working correctly, I don't really think it's worth spending any time on fixing these old ghostscript built-in drivers. Closing... |