NEW PACKAGE: Printer drivers for Brother needed

Bug #25966 reported by comeon
108
This bug affects 4 people
Affects Status Importance Assigned to Milestone
Ubuntu
Fix Released
High
Till Kamppeter
Declined for Gutsy by Henrik Nilsen Omma
Hardy
Fix Released
High
Till Kamppeter
cupsys (Baltix)
Invalid
Undecided
Unassigned
cupsys (Ubuntu)
Invalid
Undecided
Unassigned
Declined for Gutsy by Henrik Nilsen Omma
Hardy
Invalid
Undecided
Unassigned

Bug Description

I'd like to see the GPLed printer-drivers from brother included in Ubuntu.
Except for the changed location of the cups-initscript (/etc/init.d/cupsys
instead of /etc/init.d/cups), they already work fine in Ubuntu 5.10.

Upstream download location:

http://solutions.brother.com/linux/en_us/: http://solutions.brother.com/linux/en_us/

License: Proprietary but redistributable (pacckage suggested for Multiverse/Restricted)

Revision history for this message
ChristofferS (ubuntu-curo) wrote :

I think you can find them here:

http://solutions.brother.com/linux/sol/printer/linux/developers.html

I am not a legal expert but can the following drivers be included in multiverse?

http://solutions.brother.com/linux/sol/printer/linux/lpr_drivers.html

http://solutions.brother.com/linux/sol/printer/linux/cups_drivers.html

You need both the lpr and the cups wrappers.

Matt Zimmerman (mdz)
Changed in cupsys:
assignee: nobody → doko
Revision history for this message
Matthias Klose (doko) wrote :

contacted Brother, waiting

Changed in cupsys:
status: Unconfirmed → Needs Info
Revision history for this message
webwolf_27 (jeremy-fam-schoenhaar) wrote :

I've seen brother can take a few weeks to answer. It took them 3 weeks to answer a question I had. By then I'd fixed it myself.

Revision history for this message
Simon Law (sfllaw) wrote :

An alternative would be to do a copyright audit for these drivers. If
everything, including the packaging, is available under a free license,
then we are safe to redistribute.

Revision history for this message
Matt Zimmerman (mdz) wrote :

The original description claims that there are drivers licensed under the GPL. If this is accurate, there is no question about whether they can be included. Was this an error? This does not seem to have been questioned in the bug report.

Till, do you have more information about these drivers?

Changed in cupsys:
assignee: doko → till-kamppeter
Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

The PPD files for PostScript (BR-Script) printers are under GPL and therefore they can be redistributed. They are also available in the upstream foomatic-db package.

The drivers for non-PostScript printers are redistributable but they are closed-source. So they disqualify to be in the main distro, but they can be added to some extra repository for non-free software without explicit agreement with Brother. See the license text by going to

http://solutions.brother.com/linux/sol/printer/linux/lpr_drivers.html

and clicking an arbitrary driver download link.

The CUPS wrappers are under GPL again, but they are useless without the corresponding closed-source LPR driver. On a CUPS system it required to have both the CUPS wrapper and the appropriate LPR driver for the printer.

If we do not have an appropriate repository for such packages we can only reject this report.

Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

We will investigate on adding these drivers to multiverse.

Revision history for this message
trollord (trollenlord) wrote :

Till, Matt: The open source driver support has not proceeded much judging from http://openprinting.org/printer_list.cgi?make=Brother so this is still a valid issue. Could the drivers be added to the Canonical commercial repository (after getting a permission from Brother)?

Revision history for this message
FriedChicken (domlyons) wrote :

I think it will be to late to include the drivers into Gutsy. But *please* include them into Hardy, setting up printer and scanner manually is a job that takes some time ...

In my opinion there's nothing against including it into multiverse and/or install it with the Restricted Manager

Revision history for this message
Przemek K. (azrael) wrote :

Also see bug #16704 for scanner drivers for Brother

Revision history for this message
Przemek K. (azrael) wrote : Re: Printer drivers for Brother needed

See bug #138378 for installation of drivers from Brother site

Revision history for this message
Chuck Smith (smith.chuck) wrote :

I would bump this issue -- seconds on the "please add these for Hardy".

I've verified USB plug 'n play ability for HL-2070N with the Brother-provided drivers.

Revision history for this message
FriedChicken (domlyons) wrote :

 HL-2070N is a PostScript/BrScript-Printer, but the MFC-Modells not

Revision history for this message
Peter Makowski (petermakowski) wrote :

Could it be fixed in Hardy??

Revision history for this message
Peter Makowski (petermakowski) wrote :
Revision history for this message
FriedChicken (domlyons) wrote :

Is it possible to integrate the drivers for the DCP-/MFC-Models in Hardy?

Revision history for this message
webwolf_27 (jeremy-fam-schoenhaar) wrote :

If it would be permissable to add them to Multiverse, and someone could give me some support on (re)packaging them, I'd be willing to do some work on them and upload. But I doubt that we'll get them into anything better then multiverse because of license issues. It doesn't make sense to put the cups-wrapper into main when it requires the lpr driver from multiverse. Alternatly we could consider the possibliity of adding them to a 3rd party repo *shudder*

oponek (oponek-merged)
Changed in cupsys:
assignee: till-kamppeter → ubuntu-drivers
oponek (oponek-merged)
Changed in cupsys:
assignee: ubuntu-drivers → desktop-bugs
Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

webwolf_27, according to their license we can add them to Multiverse. I am very grateful if you would package them. In Multiverse I can also sponsor the upload for you (if you are not MOTU by yourself). Can you please package them as soon as possible, as Thursday, Feb 14 is feature freeze for Hardy.

If you have questions concerning the packaging, I can help you.

Martin Pitt (pitti)
Changed in cupsys:
assignee: desktop-bugs → till-kamppeter
Revision history for this message
webwolf_27 (jeremy-fam-schoenhaar) wrote :

Am I correct in my assumption that I would have to upgrade to Hardy to do this properly?
Otherwise I'm fairly sure I can work my way through it. I'm not yet a Motu, but I've considered getting involved several times in the past.

Revision history for this message
Martin Pitt (pitti) wrote : Re: [Bug 25966] Re: Printer drivers for Brother needed

webwolf_27 [2008-02-07 10:15 -0000]:
> Am I correct in my assumption that I would have to upgrade to Hardy
> to do this properly?

The printing infrastructure didn't change drastically between Gutsy
and Hardy. If you can get them working in Gutsy, it's not a problem to
make them work in Hardy, too.

Thanks!

Revision history for this message
webwolf_27 (jeremy-fam-schoenhaar) wrote : Re: Printer drivers for Brother needed

There's no need to thank for for this Martin. I've been Using ubuntu on everything except my production server since dapper was alpha, andf bee looking for something to get involved in since only a short time after. Besides I've got a Brother MFC-215c here that I tortured myself getting configured. It'd be a preasure to help the movement.

Jeremy

Revision history for this message
FriedChicken (domlyons) wrote :

@Jeremy:
Even if you mean there's nothing to thank for: Thank you for making the packaging!
It will make work much easier for al lot of people using a Brother printer.

Will you integrate the scanner driver, too? The installation is always a bit tricky if you want to install the driver from brother.

Revision history for this message
webwolf_27 (jeremy-fam-schoenhaar) wrote :

As I get time, I might as well. Not really much to package as the packages are allready there. They only haveto be modified and repacked. If I remember right the scanner drivers are GPL anyway, but then it doesn't make much sence to me to have half the drivers in multiverse and the other half in main.

Revision history for this message
FriedChicken (domlyons) wrote :

That's cool. 8-)
Thank you again

Revision history for this message
FriedChicken (domlyons) wrote :

Appendix:
I could test the package(s). I've got a new installed Kubuntu Hardy Heron Alpha 4 on my notebook.

Revision history for this message
Przemek K. (azrael) wrote :
Revision history for this message
Saivann Carignan (oxmosys) wrote :

FriedChicken : It would be great if you want to test our package since we are working hard on them. Can you tell what Brother printer you have?

To every people who own a Brother printer and that are wiling to test the new packages : Can you provide the model name of your Brother printer?

Revision history for this message
Przemek K. (azrael) wrote :

Brother MFC-440CN (network printer/scanner).

Revision history for this message
Martijn Vermaat (mvermaat) wrote :

Brother HL-1430 (USB/parallel laser printer).

Revision history for this message
Markus Golser (golserma) wrote :

Brother Fax-1940CN (Network/USB printer/scanner)

Revision history for this message
FriedChicken (domlyons) wrote :

I've got a Brother DCP-120C (working with the driver for MFC-210)

Revision history for this message
Michael Stempin (mstempin) wrote :

Brother MFC-5440CN.
Works great with the driver from the Brother-site.

Revision history for this message
Qichang Liang (kcleung-users) wrote :

Brother MFC-8820D

Where can I get your test packages? Currently my laptop is installed with Xubuntu Hardy Alpha 4

description: updated
Revision history for this message
Saivann Carignan (oxmosys) wrote :

The packages are nearly finished, links and instructions will come soon. We need multiple testers for multiples Brother printers ready to take the adventure ;)

Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

I have uploaded the packages now. For testing you can already get them here:

http://upload.leservicetechnique.com/brother/

Revision history for this message
Saivann Carignan (oxmosys) wrote :

To know which package you should install, you can look here : https://wiki.ubuntu.com/BrotherDriverPackaging
There is 5 categories of printer drivers. It is possible that some of you will have a printer that is not a part of the package, like the Markus Fax-1940CN which I didn't find anywhere in the sources.

Also note that your printer will probably not get detected and installed automatically at this state. You have to choose the PPD file for your printer from /usr/share/ppd/Brother when you will install the printer with cupsys.

Thanks for every testers that will give feedback.

Revision history for this message
FriedChicken (domlyons) wrote :

- Dependency for "csh" is missing (at least for the bh7-packages).

- brother-cupswrapper-bh7 gives errors on installation (--> attachment)

- The bh7-driver doesn't work for printers using the MFC-210C driver as my DCP-120C does. This also affects DCP-115C, DCP-315CN, DCP-340CW, MFC-215C, MFC-425CN, MFC-640CW, MFC-820CW and of course MFC-210C.
The drivers can be found at http://solutions.brother.com/linux/sol/printer/linux/lpr_drivers.html and http://solutions.brother.com/linux/sol/printer/linux/cups_drivers.html

- The printer was detected autmatically (even if the new kde-tool didn't say something) and the driver for DCP-130C (above mentioned as bh7) was configured. But this driver doesn't work for this model.

- The (KDE-)printer configuration doesn't show the tab with printer-specific settings (quality and things like that), as I was used to in Gutsy using the packages from the Brother homepage.
Maybe this depends on wrong printer detection I described above but it maybe also could be an effect of wrong packaging(?).

- The driver for Markus' fax can be found at http://solutions.brother.com/linux/sol/printer/linux/pcfax_drivers_lpr.html

Revision history for this message
FriedChicken (domlyons) wrote :

Sorry, I've forgotten the attachment in my last posting ...

Revision history for this message
Saivann Carignan (oxmosys) wrote :

FriedChicken : Thanks a lot for your testing. Unfortunately, your printer and the printer of Markus are from the PC-FAX driver category which we did not package. I'm asking Martin Pitt and Till if we can still package them for Hardy but we must consider that these drivers will be just available through my webpage from now.

The other errors you found will be fixed in the upload that I will do this night. Thanks and feel free to report any other problems that you find and keep looking for two packages named brother-cups-wrapper-PCFAX and brother-lpr-drivers-PCFAX. These packages should contains your drivers and the drivers for Markus.

Revision history for this message
FriedChicken (domlyons) wrote :

OK, thank you very much for your great work.

Revision history for this message
ubuntu4fun (k2osuchowski) wrote :

I have the Brother HL 2030.

It's one of the most popular laser printers made by Brother. Works great with the drivers from their website:
http://solutions.brother.com/linux/sol/printer/linux/cups_drivers.html#de

I noticed that on Gusty the HL2030 model is recognized when plugged into USB port (without the drivers from Brother website installed),
 but if You want to print a PDF file from Evince 2.20.1 it freezes and doesn't print at all.
The solution is simple:
download the cupswrapperHL2030-2.0.1-2.i386.deb package from the Brother website and the problem with printing from Evince disappears ! I hope this can help someone.

Thank You for packaging Brother drivers for Hardy. It is to be installed with the Restricted Drivers Manager?
 I'll test it soon.

Revision history for this message
FriedChicken (domlyons) wrote :

If the info given in the wiki https://wiki.ubuntu.com/BrotherDriverPackaging is right, ubuntu will install the brother drivers brother-lpr-drivers-laser and brother-cups-wrapper-laser. So this shouldn't be a problem anymore in future.

Revision history for this message
Saivann Carignan (oxmosys) wrote :

For the "automatic" installation of the good package, there's still some work to do. We're actually trying to get the packages working correctly and uploaded to ubuntu, this is the first step.

Latest debian packages can be found here : http://upload.leservicetechnique.com/brother
You just have to take a look at https://wiki.ubuntu.com/BrotherDriverPackaging to find which of the package is the good one for you. Notice that your printer probably won't get installed automatically yet. You have to choose the good PPD from the /usr/share/ppd/Brother folder in order to install and test your printer. If we find that our packages works correctly for everybody, we will fix cupsys packages to detect and install the good drivers automatically.

 ---> You are all invited to test these packages and give your comments about them. <---

FriedChicken and Markus : You printers are now a part of the brother-cups-wrapper-extra package! This package is not ready for installation yet because brother-lpr-drivers-extra package does not exist yet. It should be ready soon.

Revision history for this message
ubuntu4fun (k2osuchowski) wrote :

OK, guys, let me be the first to test the new packages :-)

As I've written above, I made my Brother HL2030 work perfectly using cupswrapperHL2030-2.0.1-2.i386.deb from the Brother website.

I started testing Your packages with completely removing cupswrapperHL2030-2.0.1-2.i386.deb.
Then I downloaded 3 packages from: http://upload.leservicetechnique.com/brother/
First I downloaded:
1) brother-cups-wrapper-laser_2.0.1-2-0ubuntu1_i386.deb;
then:
2) brother-lpr-drivers-laser_2.0.1-1-0ubuntu1_i386.deb
and
3) brother-lpr-drivers-common_1.0.0-1-0ubuntu1_i386.deb
following the dependencies.

When I was trying to install brother-lpr-drivers-common_1.0.0-1-0ubuntu1_i386.deb
the error occurred: DEPENDENCY IS NOT SATISFIABLE: libc6 !!!

What am I supposed to do next?
How can I help You?

Revision history for this message
Przemek K. (azrael) wrote :

These packages will work only on Ubuntu 8.04 Hardy (alpha), not on 7.10 Gutsy (stable)

Revision history for this message
Saivann Carignan (oxmosys) wrote :

Exactly, This is due to the libc6 library dependency which is automatically added in the hardy version. These packages won't appear in Gutsy, Hardy will be the first release to have them so if you can install Hardy on one computer ( or a partition of your computer ) you will be able to test these. If you can't do that, keep looking at http://upload.leservicetechnique.com/brother . I will create a gutsy folder that will contains the deb files for gutsy in the next day.

Revision history for this message
ubuntu4fun (k2osuchowski) wrote :

Thank you for preparing the packages for Gusty.
I downloaded and installed 4 of them as follows:

1) brother-lpr-drivers-common_1.0.0-1-0ubuntu1_i386

2) brother-cups-wrapper-common_1.0.0-10-0ubuntu1_i386

3) brother-lpr-drivers-laser_2.0.1-1-0ubuntu1_i386

4) brother-cups-wrapper-laser_2.0.1-2-0ubuntu1_i386

Everything WORKS GREAT for Brother HL2030 !!! Thanks :-)

I hope You manage to include the packages for Hardy.
As soon as HH 8.04 alpha is downloaded, I' ll test it !!!

Revision history for this message
Przemek K. (azrael) wrote :

I've installed the gutsy drivers but printing with my network printer (MFC-440CN) doesn't work.

Revision history for this message
Przemek K. (azrael) wrote :

BTW: are you going to push these packages to Debian?

Revision history for this message
FriedChicken (domlyons) wrote :

Did you read "Network printer configuration" at wiki.ubuntu.com/BrotherDriverPackaging ?

Revision history for this message
Przemek K. (azrael) wrote :

I've wrote that section! :>

Revision history for this message
FriedChicken (domlyons) wrote :

*lol* Sorry, I didn't know that you are "AzraelNightwalker". I only saw that this part was new and that it could be that you haven't read it yet ;)

Revision history for this message
Saivann Carignan (oxmosys) wrote :

ubuntu4fun : Thanks for your testing, I'm very glad to see that our work gives results.

Przemysław Kulczycki : Thanks for your testing, In order to help finding why it doesn't work with your printer, can you try to make your printer working by connecting it with a USB cable and changing the port used by cupsys? I'm interested to see if the problem is about the network or directly the driver itself. Also, can you say which PPD file you choosed? I see no special instructions for that printer in the Brother website.

Revision history for this message
ubuntu4fun (k2osuchowski) wrote :

I've installed latest daily build of Hardy and updated the system.

My first impressions:
 Brother HL 2030 works without installing any drivers on generic Brother HL 2060 Foomatic/hl 1250 en (recommended) driver. It works even better than in Gusty.

I must admit that I've experienced one Evince 2.21.91 crash when trying to print, but after Evince closed itself, the document was printed ! Interesting, isn't it?

I'm going to test packages for Hardy made by Saivann soon :-)

Revision history for this message
FriedChicken (domlyons) wrote :

Isn't the Foomatic driver the same as the one from Brother?
Till Kamppeter wrote: "The PPD files for PostScript (BR-Script) printers are under GPL and therefore they can be redistributed. They are also available in the upstream foomatic-db package."

Or has the Foomatic driver been modified? Wouldn't it then be better to take this one for printers who can use foomatic driver?

Revision history for this message
ubuntu4fun (k2osuchowski) wrote :

Packages for Hardy have been successfully tested.

I installed 3 of the packages mentioned above. Before installing the cupswrapperHL2030-2.0.1-2.i386.deb package the csh_20070713-1_i386.deb had to be downloaded due to dependencies.

After installing all of the packages for Hardy I was able to print all the tested documents, but I'm not sure if my test is valid (?)

The problem is that when I printed all test pages I decided to check the printer configuration. Surprisingly, the default printer driver hadn't been changed (it was the generic Brother HL 2060 Foomatic/hl 1250 en (recommended)]. I was trying to find the driver for HL 2030 model, but there wasn't any.
How can I change the driver to the one provided with Your package?

I've been waiting for Your comments and instructions.

Revision history for this message
ubuntu4fun (k2osuchowski) wrote :

One more thing, should I uninstall some packages before installing the ones prepared for Hardy?

Revision history for this message
Saivann Carignan (oxmosys) wrote :

ubuntu4fun : In your case, this is normal that cupsys won't setup the printer with our PPD file since there is a better foomatic driver which works with your printer. You have to change the driver yourself. Remember that our packages are not in Hardy yet so they are not automatically installed/configured by cupsys. Also remember that you should not install cupswrapperHL2030-2.0.1-2.i386.deb since it's the official Brother package, which should not be installed in that test.

In order to install the good printer driver, you choose the for the good PPD file in /usr/share/ppd/Brother and setup it with cupsys, in your case, it is :
usr/share/ppd/Brother/HL2030.ppd

You should uninstall cupswrapperHL2030-2.0.1-2.i386.deb before reinstalling brother-cups-wrapper-laser and brother-lpr-drivers-laser, after what you can test if you can print using the HL2030.ppd file. Thanks for your testing.

Revision history for this message
ubuntu4fun (k2osuchowski) wrote :

I haven't uninstalled anything, just chose the PPD file from: usr/share/ppd/Brother/HL2030.ppd.
I chose option: "Try to copy the settings from the old PPD" during configuration, but the printer configuration crashed. (Choosing the first option caused crashing, too.)

Unfortunately, I wasn't able to print a single page.

I went back to the generic Brother HL 2060 Foomatic/hl 1250 en (recommended) driver.

If I can help You somehow, please, let me know.

Revision history for this message
Saivann Carignan (oxmosys) wrote :

ubuntu4fun : That's bad, I was not able to reproduce that bug. If you can reproduce it with any other PPD files than the one we provided, can you open a bug for this in launchpad (if you don't find this bug already reported)? Don't hesitate to give further informations if you finally succeed in setting the good PPD in Hardy. Thanks again.

Is there someone else who can try the actual packages? Download : http://upload.leservicetechnique.com/brother
All you need to do is to :

1. Uninstall your previous brother drivers ( if you installed some )
2. Find the good CupsWrapper and LPR packages for your printer (https://wiki.ubuntu.com/BrotherDriverPackaging) and install them.
3. Open Cupsys and setup your printer with the good PPD file from /usr/share/ppd/Brother
4. Try to print some text.

Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

ubuntu4fun, perhaps you have hit a bug in system-config-printer (the standard printer setup tool under Ubuntu). For testing the new Brother driver packages use the CUPS web interface to sset up your print queue. You find it with any browser under http://localhost:631/.

Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

FriedChicken, the free software PPDs which Brother has uploaded directly to OpenPrinting (and therefore they are in foomatic-db) are only for PostScript printers, the non-free driver packages are for non-PostScript printers.

Revision history for this message
ubuntu4fun (k2osuchowski) wrote :

Till, I've used CUPS web interface and managed to successfully modify the settings of my printer.
Thanks for the tip.

I set up it to use Brother HL2030 PPD from usr/share/ppd/Brother/HL2030.ppd as Saivann asked.
Definitely, it works better than standard printer setup system in Ubuntu, but I'm not sure if I should open new bug. What do you think?

Unfortunately, I can't print using this drivers. The printing jobs are marked as completed but not a single page is printed.

Revision history for this message
ubuntu4fun (k2osuchowski) wrote :

Update:
" The printing jobs are marked as completed but not a single page is printed."

I checked once again and it turned out that only printing test page from CUPS web interface was marked as completed. I had tried to print some documents from OpenOffice and Evince and these printing jobs are missing in CUPS web interface. Sorry for my mistake.

Revision history for this message
Saivann Carignan (oxmosys) wrote :

ubuntu4fun : Thanks a lot for your testing. I found that I recently introduced bad sed scripts which caused non-intentional modifications of the cups filters, I fixed this in the laser package. Can you uninstall your actual brother-cups-wrapper-laser package and try with the one that you can find here? : http://upload.leservicetechnique.com/brother

Revision history for this message
ubuntu4fun (k2osuchowski) wrote :

I reinstalled the package and nothing has changed :-(

Revision history for this message
Saivann Carignan (oxmosys) wrote :

ubuntu4fun : I also fixed a problem with file permissions a few minutes ago. Are you wiling to uninstall / download / install again the new packages? If yes, I really appreciate your feedback.

Revision history for this message
Saivann Carignan (oxmosys) wrote :

To anyone who's wiling to test upcoming brother packages, can you :

1. Look which Cups Wrapper and LPR Drivers packages you need for your printer at https://wiki.ubuntu.com/BrotherDriverPackaging
2. Download these packages from here (there is a gutsy folder for people who want to download packages for gutsy) : http://upload.leservicetechnique.com/brother
3. Remove any brother package already installed and install the downloaded packages
4. Open Cupsys through System / Administration / Printing
5. Select your printer and change the driver to the one that has the same name for your printer in the Brother list of drivers, or choose it directly from /usr/share/ppd/Brother

Thanks for all feedback. They will be really appreciated.

Revision history for this message
ubuntu4fun (k2osuchowski) wrote :

Saivann, I completely uninstalled all the Brother packages installed before.
It was only 3 packages for Hardy.

Then I downloaded and installed 4 of the new packages:

1) brother-lpr-drivers-common_1.0.0-1-0ubuntu1_i386;

2) brother-cups-wrapper-common_1.0.0-10-0ubuntu1_i386;

3) brother-lpr-drivers-laser_2.0.1-1-0ubuntu1_i386;

4) brother-cups-wrapper-laser_2.0.1-2-0ubuntu1_i386.

But still my printer doesn't print :-(

Revision history for this message
Saivann Carignan (oxmosys) wrote :

Mmh.. I looked very deep and compared each aspects of the packages and found little differences between the permissions of the files in our packages and the files in the packages of Brother. Can you type these 3 commands on a terminal and tells if it fixes the printing issue?

sudo chmod a+x /usr/local/Brother/inf/braddprinter
sudo chmod a+x /usr/lib/libbrcomplpr2.so
sudo chmod a+x /usr/local/Brother/lpd/*

Revision history for this message
ubuntu4fun (k2osuchowski) wrote :

I'm very sorry, but nothing has changed.

Maybe is because of some Hardy bugs?

I really appreciate Your work so I'll install a stable Xubuntu 7.10 version and test Your drivers once again.

Are the packages You've prepared compatible with Debian?

Maybe You should post an announcement on Debian forum? They love testing various issues.

Revision history for this message
Saivann Carignan (oxmosys) wrote :

Thanks for the idea, I did it today. I really don't know what's not working for you on Hardy.. I would really need to have one brother printer here too.. I will wait for more feedback and let my head thinking on this. Thanks a lot.

Revision history for this message
Saivann Carignan (oxmosys) wrote :

FriedChicken, Markus Golser and every people that have a printer in the extra packages, the packages are now ready for testing here : http://upload.leservicetechnique.com/brother

Revision history for this message
FriedChicken (domlyons) wrote :

Removing brother-lpr-drivers-common following error occured:
dpkg - Warnung: Während Entfernens von brother-lpr-drivers-common ist Verzeichnis »/usr/local« nicht leer, wird daher nicht gelöscht.

Translated this means something like:
dpkg - Warnung: During removal of brother-lpr-drivers-common the directory /usr/local is not empty and won't be deleted.

Now I will test the packages for my printer.

Revision history for this message
FriedChicken (domlyons) wrote :

Great - the package worked with my DCP-120C.
I've installed the packages, connected my printer, it was recognized and configured by the assistant and the only thing I had to do was to change the paper format (but of course this is something country-specific).

Thank you!

Revision history for this message
Saivann Carignan (oxmosys) wrote :

FriedChicken : Thank you for your testing! I'm really happy to see that it worked. Maybe just a precision : Did you test this on Gutsy or Hardy? ubuntu4fun does not seem to get our packages working on Hardy.

Revision history for this message
ubuntu4fun (k2osuchowski) wrote :

FriedChicken, I'm glad that it works for You :-) Great job, Guys !

I can't made my printer to work with the new packages also on Gusty. But I still can print using a default foomatic driver.

Saivann, I'll test Your drivers on new alpha build soon.

Revision history for this message
FriedChicken (domlyons) wrote :

I've tested it on Hardy.

Maybe I will test it on Gutsy, too. I hope this is possible using a live cd because on my Gutsy system I've manually installed the drivers from brother and as they are working I would prefer not to touch them.

Revision history for this message
Saivann Carignan (oxmosys) wrote :

FriedChicken : That's great, Hardy will be the release on which the packages will get released so that's the one which really need to be tested. Since you tested in Hardy, I don't think that it's necessary to test it on Gutsy. Many thanks!

Revision history for this message
Saivann Carignan (oxmosys) wrote :

Leung, Kai-Cheung , Lebowski, Markus Golser, Martijn Vermaat and others : Can you also give your feedback about the new packages? Don't forget to uninstall Brother packages before installing our packages.

Przemysław Kulczycki : There has been serious changes in latest packages, would you like to test them again with your network printer?

Download link :
http://upload.leservicetechnique.com/brother

How to find the good printer driver category :
https://wiki.ubuntu.com/BrotherDriverPackaging

Screenshot examples on how to install a printer :
http://upload.leservicetechnique.com/brother/Brother1.png
http://upload.leservicetechnique.com/brother/Brother2.png
http://upload.leservicetechnique.com/brother/Brother3.png
http://upload.leservicetechnique.com/brother/Brother4.png
http://upload.leservicetechnique.com/brother/Brother5.png
http://upload.leservicetechnique.com/brother/Brother6.png

Revision history for this message
Michael Stempin (mstempin) wrote :

Hi.
It works just GREAT! :-)

I uninstalled the two brother-packages and then installed

- brother-lpr-drivers-common_1.0.0-1-0ubuntu1_i386.deb
- brother-cups-wrapper-common_1.0.0-10-0ubuntu1_i386.deb
- brother-lpr-drivers-extra_1.2.0-0ubuntu1_i386.deb
- brother-cups-wrapper-extra_1.2.0-0ubuntu1_i386.deb

I tried printing from OpenOffice Writer, gedit, F-Spot and EOG (Eye of GNOME picture-viewer) and everything printed out nicely.

So I hope you get those packages into hardy since it will make printing with A LOT of Brother printers VERY easy.

All Ubuntu-users with brother printers owe you a cookie (or a beer). ;-)

Revision history for this message
Przemek K. (azrael) wrote :

I've purged the old drivers, installed the new ones, restarted the system and the printing still doesn't work.
system-config-printer shows it as idle, and it can't print the test page (the button changes to "cancel test" so I cancel the test page after few minutes of printer being idle).
system-config-printer-applet shows manually added print tasks as finished, even though nothing was printed.
(I'm using gutsy)

Revision history for this message
Saivann Carignan (oxmosys) wrote :

Hehe, Very great! We have 2 persons who confirmed that -extra packages works flawlessly. We now need more testing for laser, laser1, bh7 and ac packages. Volunteers?

Revision history for this message
Saivann Carignan (oxmosys) wrote :

Przemysław Kulczycki : Thanks for your comment! Did the official brother printer drivers work for you? If yes, can you download and install the special package that I made just for you? The only difference with that package is that it does not use the compiled cups wrapper from source, but the original binary file from brother. Notice that you should not have brother-cups-wrapper-common installed, this package contains all the file :

http://upload.leservicetechnique.com/brother/special/brother-cups-wrapper-bh7_1.0.0-10-0ubuntu1_i386.deb

Revision history for this message
Przemek K. (azrael) wrote :

They didn't work (btw: official scanner drivers stopped working after 1 restart) and your package doesn't work too :/
I even turned off apparmor, but it didn't help.
Cups' logs show that everything is fine:
localhost - root [21/Feb/2008:10:10:09 +0100] "POST /printers/Brother_MFC440-CN HTTP/1.1" 200 154152 Print-Job successful-ok
localhost - - [21/Feb/2008:10:10:09 +0100] "POST / HTTP/1.1" 200 170 Get-Jobs successful-ok
localhost - - [21/Feb/2008:10:10:09 +0100] "POST / HTTP/1.1" 200 180 Get-Jobs successful-ok
localhost - root [21/Feb/2008:10:10:09 +0100] "POST / HTTP/1.1" 200 149 Get-Jobs successful-ok
localhost - - [21/Feb/2008:10:10:10 +0100] "POST / HTTP/1.1" 200 170 Get-Jobs successful-ok
localhost - - [21/Feb/2008:10:10:10 +0100] "POST / HTTP/1.1" 200 180 Get-Jobs successful-ok
localhost - - [21/Feb/2008:10:10:19 +0100] "POST /printers/Brother_MFC440-CN HTTP/1.1" 200 77112 Print-Job successful-ok
localhost - - [21/Feb/2008:10:10:19 +0100] "POST / HTTP/1.1" 200 170 Get-Jobs successful-ok
localhost - - [21/Feb/2008:10:10:19 +0100] "POST / HTTP/1.1" 200 180 Get-Jobs successful-ok
localhost - - [21/Feb/2008:10:10:21 +0100] "POST / HTTP/1.1" 200 170 Get-Jobs successful-ok
localhost - - [21/Feb/2008:10:10:21 +0100] "POST / HTTP/1.1" 200 180 Get-Jobs successful-ok
localhost - root [21/Feb/2008:10:10:33 +0100] "POST / HTTP/1.1" 200 149 Get-Jobs successful-ok
localhost - root [21/Feb/2008:10:11:59 +0100] "POST /admin/ HTTP/1.1" 200 20009 CUPS-Add-Modify-Printer successful-ok
localhost - - [21/Feb/2008:10:11:59 +0100] "POST / HTTP/1.1" 200 170 Get-Jobs successful-ok
localhost - - [21/Feb/2008:10:11:59 +0100] "POST / HTTP/1.1" 200 180 Get-Jobs successful-ok
localhost - root [21/Feb/2008:10:11:59 +0100] "POST / HTTP/1.1" 200 129 CUPS-Get-Classes successful-ok
localhost - root [21/Feb/2008:10:11:59 +0100] "GET /ppd/Brother_MFC440-CN.ppd HTTP/1.1" 200 19876 - -
localhost - root [21/Feb/2008:10:11:59 +0100] "POST / HTTP/1.1" 200 149 Get-Jobs successful-ok
localhost - root [21/Feb/2008:10:12:02 +0100] "POST /printers/Brother_MFC440-CN HTTP/1.1" 200 153924 Print-Job successful-ok
localhost - - [21/Feb/2008:10:12:02 +0100] "POST / HTTP/1.1" 200 170 Get-Jobs successful-ok
localhost - root [21/Feb/2008:10:12:02 +0100] "POST / HTTP/1.1" 200 149 Get-Jobs successful-ok
localhost - - [21/Feb/2008:10:12:02 +0100] "POST / HTTP/1.1" 200 180 Get-Jobs successful-ok
localhost - - [21/Feb/2008:10:12:03 +0100] "POST / HTTP/1.1" 200 170 Get-Jobs successful-ok
localhost - - [21/Feb/2008:10:12:03 +0100] "POST / HTTP/1.1" 200 180 Get-Jobs successful-ok

I've restarted apparmor and the only suspicious log line was:
Feb 21 10:18:55 localhost kernel: [ 2823.928000] audit(1203585534.741:5): type=1503 operation="inode_permission" requested_mask="a" denied_mask="a" name="/dev/tty" pid=9276 profile="/usr/sbin/cupsd"

What can I do?

Revision history for this message
webwolf_27 (jeremy-fam-schoenhaar) wrote :

Przemysław Kulczycki:

Can you check that printer in http://localhost:631 and make sure that it's activated (not stopped). Also I've noticed problems with printing with HPLIB installed, but that was with certian HP Laserjets.

Jeremy

Revision history for this message
webwolf_27 (jeremy-fam-schoenhaar) wrote :

Przemysław Kulczycki: can you also please check the right's and ownership of the device in question. To be sure this isn't a udev problem

Jeremy

Revision history for this message
Przemek K. (azrael) wrote :

It is activated. How can I check the ownership? Every user is allowed to print on my laptop.
Don't forget that it's a network printer (MFC-440CN). I've followed instructions from Brother's site: http://solutions.brother.com/linux/sol/printer/linux/cups_network.html
but the printer doesn't print (but cups says that everything went ok).

Revision history for this message
webwolf_27 (jeremy-fam-schoenhaar) wrote :

Przemysław Kulczycki:

 after getting the device with lsusb (should look something like: Bus 005 Device 002: ID 04f9:0193 Brother Industries, Ltd)
run "ls -l /dev/bus/usb/005" and paste the output here.

Revision history for this message
Saivann Carignan (oxmosys) wrote :

Przemysław Kulczycki : The Brother website tell you to set lpd://xx.xx.xx.xx/binary_p1 for your printer, did you use the good IP address? And also, IMO, binary_p1 should probably be changed for the printer name or something like that, the user manual of the printer is probably more explicit about that.

Revision history for this message
Przemek K. (azrael) wrote :

webwolf_27: It's a _network_ printer, it's connected with a network cable to my router, not to my laptop.

Saivann: the IP is good. I can access it with ping and ftp (for using the printer's flash card reader). The queue name is also good. That's a generic Brother queue name, it's also used in the Windows driver. Printing in Windows works ok.

Revision history for this message
Till Kamppeter (till-kamppeter) wrote : Re: [Bug 25966] Re: NEW PACKAGE: Printer drivers for Brother needed

Saïvann Carignan wrote:
> Przemysław Kulczycki : The Brother website tell you to set
> lpd://xx.xx.xx.xx/binary_p1 for your printer, did you use the good IP
> address? And also, IMO, binary_p1 should probably be changed for the
> printer name or something like that, the user manual of the printer is
> probably more explicit about that.

AFAIK the queue name must be "binary_p1", perhaps also leaving the queue
name blank (= printer-internal default) would also work.

Run also "lpinfo -v", this command could find a valid URI for this
printer automatically (printer must be connected and turned on).

    Till

Revision history for this message
webwolf_27 (jeremy-fam-schoenhaar) wrote :

Przemysław Kulczycki:

 Sorry if I insulted your intelligence. Experience has taught me to always assume the minimum level of computer literacy, unless you know otherwise ;-}. Now I know otherwise.

Revision history for this message
Przemek K. (azrael) wrote :

I tried with blank, binary_p1, binary_p2, BINARY_P1, and id didn't work.
lpinfo doesn't show my printer.

azrael@azrael-laptop:~$ LC_ALL=en_US lpinfo -l -v
Device: uri = socket
        class = network
        info = AppSocket/HP JetDirect
        make-and-model = Unknown
        device-id =
Device: uri = beh
        class = network
        info = Backend Error Handler
        make-and-model = Unknown
        device-id =
Device: uri = hal
        class = direct
        info = Hal printing backend
        make-and-model = Unknown
        device-id =
Device: uri = hpfax
        class = direct
        info = HP Fax (HPLIP)
        make-and-model = Unknown
        device-id =
Device: uri = hp
        class = direct
        info = HP Printer (HPLIP)
        make-and-model = Unknown
        device-id =
Device: uri = http
        class = network
        info = Internet Printing Protocol (http)
        make-and-model = Unknown
        device-id =
Device: uri = ipp
        class = network
        info = Internet Printing Protocol (ipp)
        make-and-model = Unknown
        device-id =
Device: uri = lpd
        class = network
        info = LPD/LPR Host or Printer
        make-and-model = Unknown
        device-id =
Device: uri = cups-pdf:/
        class = file
        info = Print into PDF file
        make-and-model = Generic PDF file generator
        device-id = MFG:Generic;MDL:PDF file generator;DES:Generic PDF file generator;CLS:PRINTER;CMD:POSTSCRIPT;
Device: uri = scsi
        class = direct
        info = SCSI Printer
        make-and-model = Unknown
        device-id =
Device: uri = smb
        class = network
        info = Windows Printer via SAMBA
        make-and-model = Unknown
        device-id =

/etc/cups/printers.conf contains:
<DefaultPrinter Brother_MFC440-CN>
Info Brother MFC440-CN
Location azrael-laptop
DeviceURI lpd://192.168.1.148/binary_p1
State Idle
StateTime 1203598087
Accepting Yes
Shared Yes
JobSheets none none
QuotaPeriod 0
PageLimit 0
KLimit 0
OpPolicy default
ErrorPolicy retry-job
Option finishings 3
Option job-priority 50
Option media A4
Option number-up 1
Option copies 1
Option orientation-requested 3
Option job-hold-until no-hold
</Printer>
(...)

Revision history for this message
ubuntu4fun (k2osuchowski) wrote :
Revision history for this message
ubuntu4fun (k2osuchowski) wrote :

There is also an interesting Brother FAQ available here:

http://www.linux-foundation.org/en/OpenPrinting/Database/BrotherFAQ

Revision history for this message
Sebastian Keller (skeller) wrote :

I just installed the packages from 19th february and everything works fine, but I saw that they still put files into /usr/local like the original Brother packages. As far as I know debian packages should not put files into /usr/local, but use /usr instead.

Revision history for this message
Saivann Carignan (oxmosys) wrote :

Sebastian Keller : Thanks for your testing! Can you tell us which printer did you test? I take a list of printers which works/does not works to help hunting bugs. Concerning /usr/local/, I defended this idea pretty hard too and already provided patches for the cups wrapper source files to use the /usr folder instead, however some files seems to be hardcoded in the binary LPR files distributed under the Brother license. It gives us no choice but to use /usr/local.. That's bad but yet it seems that we must accept it.

Revision history for this message
Sebastian Keller (skeller) wrote :

Maybe you could ask Brother to compile the binary files using --prefix=/usr or whatever they use to change the prefix and provide those binaries to ubuntu.
About the printer, its a DCP 130C, but I think this one got already reported working.

Revision history for this message
Martin Pitt (pitti) wrote :

Not a cupsys bug.

Many of the Brother drivers are in multiverse now, but many of the brother-drivers-lpr* packages still need a packaging fix and had to be rejected.

BTW, I propose to give a try to

  sed -i 's_/usr/local_/usr/././._g

the affected binaries which hardcode /usr/local/.

Changed in cupsys:
status: New → Invalid
Revision history for this message
Saivann Carignan (oxmosys) wrote :

Sebastian Keller : Thanks for the name of your printer. Concerning the --prefix=/usr.. the sources of the brother cups wrapper packages does not even have makefiles but it's possible to fix this with sed directly in the sources and then to copy the files in the right place. However, the LPR packages contains binary files and no source at all. Jeremy Schoenhaar and Martin Pitt will look if it's possible to change the directory for the LPR packages.

Revision history for this message
Sebastian Keller (skeller) wrote :

I meant if you could ask Brother if they could recompile the binary files using /usr as prefix (using whatever they use to create those binaries) and then provide the resulting binaries to ubuntu (and maybe even use these for their own debian packages, since it makes sense there, too).
But if the sed-command on the binaries actually works, and there are no legal problems with this, there won't be the need to ask Brother to recompile.

Revision history for this message
Wade Menard (wade-ezri) wrote :

I hate to abuse launchpad like this but Saïvann seems to want feedback here:

I'm still not sure what the advantages are supposed to be over the ones already included in Ubuntu, but I have a Brother HL-5250DN connected over the network. I downloaded and installed:

brother-cups-wrapper-laser
brother-cups-wrapper-common
brother-lpr-drivers-laser
brother-lpr-drivers-common

Configuring the printer for the new driver worked fine but when clicking Print Test Page many many many processes are spawned consuming all RAM.

(From ps)
lp 29176 0.0 0.0 1772 492 ? S 18:06 0:00 /bin/sh /usr/bin/brprintconflsr2 -P HL5250DN -ps AUTO
lp 29177 0.0 0.0 1772 492 ? S 18:06 0:00 /bin/sh /usr/bin/brprintconflsr2 -P HL5250DN -ps AUTO
lp 29178 0.0 0.0 1772 492 ? S 18:06 0:00 /bin/sh /usr/bin/brprintconflsr2 -P HL5250DN -ps AUTO
(etc...)

Looking at this /usr/bin/brprintconflsr2 (with copyright boilerplate snipped)...

--------
#! /bin/sh
/usr/bin/brprintconflsr2 $@
--------

Amusing loop...

Revision history for this message
Saivann Carignan (oxmosys) wrote :

Wade Menard : Thanks a lot for finding this out. This is for sure a error since the original Brother package contains a binary file where you find a funny loop. We will fix this. I understand that you feel uncomfortable to post here but this case is specific since it needs to test special hardware, since we can't test this on all Brother printers, asking for this to ubuntu users through a bug report is a real good idea IMO to improve these packages until they work for most of people.

Thanks again, if you want to test new packages, I will say when the bug you found will be fixed.

Revision history for this message
Markus Golser (golserma) wrote :

Report for Brother Fax-1940CN over Network.

i brother-cups-wrapper-common - Common files for Brother cups wrapper pack
i brother-cups-wrapper-extra - Cups Wrapper drivers for extra brother pri
i brother-lpr-drivers-common - Common files for brother-lpr-drivers packa
i brother-lpr-drivers-extra - LPR drivers for additional brother printer

printing does not work: (I'm on a fresh hardy installation)

lpd://192.168.1.10/binary_p1 <- thats the device I entered

D [25/Feb/2008:12:17:30 +0100] cupsdAuthorize: No authentication data provided.
audit(1203937341.001:10): operation="inode_permission" request_mask="a::" denied_mask="a::" name="/dev/tty" pid=15296 profile="/usr/sbin/cupsd" namespace="default"

Revision history for this message
FriedChicken (domlyons) wrote :

Are other packages also affected by this loop-bug?
Is there still any hope that the drivers will be integrated into Hardy?

Revision history for this message
Saivann Carignan (oxmosys) wrote :

Markus Golser : Thanks for your comment. It seems evident now that network printer never works. Is that a problem with cupsys or our packages, I will try to find out.

FriedChicken : Of course they will. cups-wrapper packages are already uploaded to hardy repositories and the LPR are coming, including the -extra packages. However, I doubt that they will get automatically installed, maybe that's too soon, we will see. Just a little note, please email me directly for further questions as it's a better idea to keep launchpad for testing of the packages, thanks!

Revision history for this message
Martin Pitt (pitti) wrote :

Saïvann Carignan [2008-02-28 23:54 -0000]:
> FriedChicken : Of course they will. cups-wrapper packages are already
> uploaded to hardy repositories and the LPR are coming, including the
> -extra packages. However, I doubt that they will get automatically
> installed, maybe that's too soon, we will see.

Since they are in multiverse, we cannot include them into the default
installation.

However, in the near future I hope to integrate printer detection into
jockey, so that you'll get an automatic notification and easy
installation. That's one of the topics we will discuss at the Linux
Foundation collaboration summit in April.

--
Martin Pitt | http://www.piware.de
Ubuntu Developer (www.ubuntu.com) | Debian Developer (www.debian.org)

Revision history for this message
Qichang Liang (kcleung-users) wrote :

Once the entire brother system is completed and verified to be working properly, are there any ways to move them to "restricted" before the release of Hardy? In this way it can be included in default installation and possibly mitigate a lot of headaches

Revision history for this message
Martijn Vermaat (mvermaat) wrote :

Today I tried the latest packages using the Hardy alpha-5 live CD, but they didn't work.

The USB laser printer HL-1430 works fine using the foomatic driver (recommended 1250), but nothing is printed using the HL-1430 for CUPS driver from the new packages (no error is shown).

This experience seems similar to several other reports above. Unfortunately, it's my parents' printer and I have only limited access to it for testing.

Revision history for this message
Saivann Carignan (oxmosys) wrote :

To everybody who wish to help on this bug again : New improved packages are now available for testing at http://upload.leservicetechnique.com/brother/ . These packages fixes major mistakes in brother-cups-wrapper and the problem that Wade Menard found in LPR packages. Also, these packages now use /usr instead of /usr/local and we need people to give feedback on our work. Thanks for your feedback!

Revision history for this message
A. Meschede (ameschede-freenet) wrote :

Hello.

Today I tried to install my brother MFC-7420 on Hardy alpha-5.

Installing the appropiate cupswrapper driver "brother-cups-wrapper-laser" fails because it depends on the "brother-lpr-drivers-laser", which is missing in the repositories. is there a chance to include that?

Installing the lpr driver from the brother hp works, but the cupswrapper driver from the brother hp won't install, because it can't find certain directories on my computer. :(

The scanner works great, though :)

Revision history for this message
A. Meschede (ameschede-freenet) wrote :

hey... i found the debs at http://upload.leservicetechnique.com/brother/.

I installed "brother-lpr-drivers-laser_2.0.1-1-0ubuntu1_i386.deb" and "brother-cups-wrapper-laser_2.0.1-2-0ubuntu2_i386.deb".

Installation was ok... after that i added a new printer on "usb://Brother/MFC-7420".
Everything is recognized, but the printer won't print at all, not even the test page.

Revision history for this message
Brett Alton (brett-alton-deactivatedaccount) wrote :

I would test http://upload.leservicetechnique.com/brother/, but I'm not sure what driver to use for my MFC-8440.

Revision history for this message
FriedChicken (domlyons) wrote :

Refering to the wiki https://wiki.ubuntu.com/BrotherDriverPackaging you have to use the *-laser1 packages and of course *-common

Revision history for this message
Brett Alton (brett-alton-deactivatedaccount) wrote :

My apologies. And I assume this is for Hardy only as in Gutsy, my libc6 is too low of a version number, correct?

Revision history for this message
Saivann Carignan (oxmosys) wrote :

brettalton : I added a gutsy folder in http://upload.leservicetechnique.com/brother which contains builds for gutsy for that purpose, thanks for testing!

Revision history for this message
Brett Alton (brett-alton-deactivatedaccount) wrote :

My apologies again... I should have looked for longer than 2 seconds, sorry.

"Brother MFC-8440 BR-Script3" installed at "usb://Brother/MFC-8440", but I believe that's the driver Gutsy was using before I downloaded -laser1 and -common, am I correct?

Test page printed beautifully nonetheless. I'll get back to you regarding Hardy however.

I've made a post regarding the new drivers at http://ubuntuforums.org/showthread.php?t=105703 which has sort have been the unofficial 'support Brother' thread. Hope that helps!

Revision history for this message
Saivann Carignan (oxmosys) wrote :

brettalton : Thanks for your testing. The print driver you tested was the one included in Gutsy already. Can you test if your printer is able to print with the "MFC-8440 for CUPS" driver. This is the name of the printer driver that is included in our packages that should appear to you in the list of Brother printers. You can take a look at these screenshots for more assistance on how to setup correct printer drivers :

http://upload.leservicetechnique.com/brother/Brother1.png
http://upload.leservicetechnique.com/brother/Brother2.png
http://upload.leservicetechnique.com/brother/Brother3.png
http://upload.leservicetechnique.com/brother/Brother4.png
http://upload.leservicetechnique.com/brother/Brother5.png
http://upload.leservicetechnique.com/brother/Brother6.png

Revision history for this message
Brett Alton (brett-alton-deactivatedaccount) wrote :

Of course.

I installed 'brother-lpr-drivers-common_1.0.0-1-0ubuntu1_i386.deb' and 'brother-lpr-drivers-laser1_1.0.0-1-0ubuntu1_i386.deb' through http://upload.leservicetechnique.com/brother/gutsy, but no driver appears by that name.

I've attached a screenshot.

Is there a database I can search (via CLI) through to see if there are any other MFC-8440 drivers?

Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

Do

lpinfo -m | grep 8440

Revision history for this message
Saivann Carignan (oxmosys) wrote :

brettalton : I think that your forgot to install the brother-cups-wrapper-laser1 and brother-cups-wrapper-common package. These packages are also needed since they provide the ppd files and the cups wrapper for the LPR packages that you installed a few minutes ago. Sorry if it is not simple, Brother give us no choice :) .

Revision history for this message
Brett Alton (brett-alton-deactivatedaccount) wrote :

That's the thing, they ARE installed:

brett@office:~$ sudo dpkg -i brother-lpr-drivers-common_1.0.0-1-0ubuntu1_i386.deb
[sudo] password for brett:
(Reading database ... 143615 files and directories currently installed.)
Preparing to replace brother-lpr-drivers-common 1.0.0-1-0ubuntu1 (using brother-lpr-drivers-common_1.0.0-1-0ubuntu1_i386.deb) ...
Unpacking replacement brother-lpr-drivers-common ...
Setting up brother-lpr-drivers-common (1.0.0-1-0ubuntu1) ...
brett@office:~$ sudo dpkg -i brother-lpr-drivers-laser1_1.0.0-1-0ubuntu1_i386.deb
(Reading database ... 143615 files and directories currently installed.)
Preparing to replace brother-lpr-drivers-laser1 1.0.0-1-0ubuntu1 (using brother-lpr-drivers-laser1_1.0.0-1-0ubuntu1_i386.deb) ...
Unpacking replacement brother-lpr-drivers-laser1 ...
Setting up brother-lpr-drivers-laser1 (1.0.0-1-0ubuntu1) ...
brett@office:~$ lpinfo -m | grep 8440
lsb/usr/openprinting/Brother/BR8440_2_GPL.ppd.gz Brother MFC-8440 BR-Script3

Now don't get me wrong, I appreciate you guys taking the time to make these drivers, there is no question about that! I'm only testing them here for you and it appears something has gone wrong :S

Revision history for this message
ubuntu4fun (k2osuchowski) wrote :

Just wanted to test the drivers with the new Alpha 6 release.
This time I decided to search the Synaptic for "Your" Brother drivers.

I've found most of them but there was no the brother-cups-wrapper-laser in the repositories so the installation failed.
Also I noticed a new pakage: cupswrapperhl2030, but it depends on brother-cups-wrapper-laser, too.
Is the cupswrapperhl2030 package made by You?

Could You add missing brother-cups-wrapper-laser to the Multiverse repo?

When this drivers will be installed automatically by the Restricted Drivers Manager?

Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

brettalton, do you have a /usr/share/ppd/Brother/ directory with PPDs in it? Are the PPDs world-readable?

Saïvann, make sure that the PPDs are in /usr/share/ppd/Brother/ (or in general in any subdirectory of /usr/share/ppd), uncompressed or gzip-compressed and world-readable.

Revision history for this message
Saivann Carignan (oxmosys) wrote :

brettalton : Thanks for the time you take to test this. Actually in your last message I only see brother-lpr-drivers-* package, no brother-cups-wrapper-*. Both should be installed, if you confirm that brother-cups-wrapper-* are also installed with the brother-lpr-drivers-* packages, yes there is really something wrong but I still suspect that the problem is just that you installed correct lpr-drivers package but did not install cups-wrapper packages yet which are also needed. Anyway, your testing is also very appreciated, thanks for taking time to look at this.

ubuntu4fun : Yes exactly, that's what we intend to do, however, LPR drivers packages still breaks packaging rules, the packages in http://upload.leservicetechnique.com/brother are the best packages we can actually do to avoid these problems and since these packages contains pretty tricky hacks to use /usr instead of /usr/local, that's why we need people to test before we include them in repositories. cupswrapper* packages are in fact transitional packages that will remove the one from Brother by our ones since they provide exactly the same files and that we must avoid all potential conflicts. Concerning Restricted Driver Manager, I think that it will not happen until we get sufficient people that tested the packages and confirmed that it works with their printers, that's why I need people to give a lot of feedback.

Revision history for this message
Brett Alton (brett-alton-deactivatedaccount) wrote :

I apologize for a third time.

I finally got the brother-cups-wrapper-* drivers installed along with the previously installed brother-lpr-* drivers.

The printing is not working. Just a note, I am using Gutsy (as a reminder).

I followed your steps and changed the driver. I tried a test page through '/usr/bin/system-config-printer' and then 'http://localhost/:631', but neither print.

The state in 'http://localhost/:631', however, says both print jobs have completed:

---
MFC-8440-198 Test Page guest 17k Unknown completed at
Tue 11 Mar 2008 09:25:32 PM EDT
MFC-8440-197 Test Page root 150k Unknown completed at
Tue 11 Mar 2008 09:24:10 PM EDT
---

Any debugging CLI commands I should be trying?

Revision history for this message
Saivann Carignan (oxmosys) wrote :

Till : Can you help around debugging this?

brettalton : No need to apologize, thank you very much for testing!

Revision history for this message
Patrick Fey (fey) wrote :

I can confirm that these packages work with Brother Fax-1835C. The printer was even configured automatically after plugging it in.

Note: I used the Gutsy packages.

Great work guys. Seriously, you rock!

Revision history for this message
Michael Stempin (mstempin) wrote :

Confirming (again) that it works fine with a Brother MFC 5440CN on a freshly installed Alpha 6 (including all updates).

The only thing is that I can only print in the "letter" format but not in "A4" even though I changed it in the cups webconfig (localhost:631) and also in system-config-printer.

Besides that, GREAT JOB EVERYONE!

Revision history for this message
Saivann Carignan (oxmosys) wrote :

Great! Thanks all for your testing! Is there some people that can test the bh7, ac and laser package? According to the results we get here, I think that there is still something to fix in the laser1 and probably the laser packages.

Changed in cupsys:
status: New → Invalid
Revision history for this message
Sebastian Keller (skeller) wrote :

It seems that in brother-cups-wrapper-bh7_1.0.0-10-0ubuntu2_i386.deb (04 March 08) every link in /usr/Brother/Printer/*/inf still links to /usr/local/Brother... instead of /usr/Brother where -common installs now.

Revision history for this message
Saivann Carignan (oxmosys) wrote :

Sebastian Keller : Thank you very much, problem found and fixed, should be upload soon.

Revision history for this message
Markus Golser (golserma) wrote :

I have FAX-1940CN working over Network:
 I had to chmod /usr/Brother/inf
drwxr-x--x 2 root lp 4096 2008-03-14 10:10 inf

And modifiy some lines patch atached.

Revision history for this message
Markus Golser (golserma) wrote :

almost forgotten please add a2ps to the dependencies

Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

Markus, your patch is not needed, the two lines are equivalent. This way to replace /usr/local by /usr is done to work also on binary-only closed source files, as there string lengths cannot be changed.

Saïvann, you do not need to apply Markus' patch, but please add the a2ps dependency to all packages which need it. And check the state of the archives before supplying any packages to me for upload into multiverse. Best is if you upload all packages into your PPA at first as test of uploadability.

Revision history for this message
Markus Golser (golserma) wrote :

Till: ok

Please don't forget to make /usr/Brother/inf accessible

Revision history for this message
Saivann Carignan (oxmosys) wrote :

Till : We learn every day :) Should I apply the a2ps dependency to all cups wrapper packages except the common package? I suggest to do it as a update.

Markus Golser : Thanks, /usr/Brother/inf is fixed in the sources packages that are about to be uploaded to multiverse.

Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

Saïvann, look into the files what really raises the a2ps dependency. If it is a file in -common, add the dependency to -common, if it is in the others, add the dependency there.

Or, if it is in ALL the others and not necessarily in -common, you can also add the dependency to -common, as ALL others require -common (but make sure then that really ALL the others require -common).

Revision history for this message
Saivann Carignan (oxmosys) wrote :

Markus and Till : Thanks! I fixed this in my local build, should be in the next upload.

Revision history for this message
Steve Langasek (vorlon) wrote :

The brother-lpr-drivers-laser package waiting in binary NEW builds 23 transitional dummy packages, and the other source packages have similar numbers. I don't think this is reasonable; and in any case, these transitional packages are all uninstallable, because they depend on a package which conflicts with them. I believe these transitional packages should just be dropped. If you agree, please reupload without them.

In the meantime, I'm not accepting the packages out of binary NEW since I think they should just go away immediately after.

Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

Saïvann, your transitional packages (at lest for the "laser" LPD driver) are broken. They depend on the non-existing package "brother-lpr-wrapper-laser". They must depend on "brother-lpr-drivers-laser". Please check this for all packages and create update packages with this problem fixed.

Steve, these transitional packages make an auto-update replacing Brother's original Debian packages by the new Ubuntu-adapted packages.

Brother provides around 100 Debian and RPM packages, for each of their printers an individual package. Therefore Saïvanns driver package suite contains so many transitional packages. Brother's packages often conflict with each other, which makes only one at a time installable. So a user cannot connect two different Brother printers to one and the same computer when using Brother's original packages. Saïvanns packages solve this problem. Files which are used by all Brother printers are in the -common package and in addition, Brother's printers are put into classes of printers which use the same driver code and so only a few packages server for all Brother printers and you can install them all at once and run the whole line of Brother printers on one computer.

Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

Steve, these packages look very strange, but this is all to fix or work around Brother's design flaws.

I am currently writing some kind of "Driver Designer's Code of Conduct":

https://www.linux-foundation.org/en/OpenPrinting/WritingAndPackagingPrinterDrivers#What_to_do_and_what_not_to_do

I hope this will make driver packaging easier soon. Some od the items in this document are also reflecting Brother's faults.

Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

Added two new items to the document mentioned in the previous comment to reflect two more problems of Brother's driver packages.

Revision history for this message
Saivann Carignan (oxmosys) wrote :

Packages will be all verified and fixed in a short time.

My opinion is actually the same as Till Kamppeter, IMO we should keep transitional packages since we provide exactly the same files as the brother drivers, but it better conditions. This is designed to avoid conflicts and to ensure that drivers are correctly configured (the original ones from Brother have several issues / potential issues).

Revision history for this message
Saivann Carignan (oxmosys) wrote :

All fixed packages for brother-lpr-drivers-* are now uploaded in my PPA

deb http://ppa.launchpad.net/saivann/ubuntu hardy main
deb-src http://ppa.launchpad.net/saivann/ubuntu hardy main

I did not remove the transitional package but I fixed a2ps missing dependencies and wrong brother-laser-wrapper-* dependencies in all LPR packages (this did not affect the cups wrapper packages). If we take the decision to drop transitional packages, I'm ready to do it.

Packages still have ~ppa1 in their changelog versions to avoid too much useless changelog entries if we decide to changes some things. When the package is ready for another upload to ubuntu repositories, I'll drop the ~ppa1.

Revision history for this message
Martijn Vermaat (mvermaat) wrote :

Latest packages change nothing with respect to the HL-1430 printer (in laser1).

See my previous comment: https://bugs.launchpad.net/ubuntu/+bug/25966/comments/29

Revision history for this message
Saivann Carignan (oxmosys) wrote :

Martijn Vermaat : Thanks for your comment, did you try the one in my PPA? deb http://ppa.launchpad.net/saivann/ubuntu hardy main

Revision history for this message
Brett Alton (brett-alton-deactivatedaccount) wrote :

Does 'deb http://ppa.launchpad.net/saivann/ubuntu gutsy main' not exist? I'm hoping to continue testing those Gutsy drivers!

Thank you for your time.

Revision history for this message
Martijn Vermaat (mvermaat) wrote :

Saïvann Carignan: Yes, I used alpha 5 again with the packages from your PPA.

Revision history for this message
FriedChicken (domlyons) wrote :

Yesterday I've updated the drivers with the packages from PPA and then tried to get a Brother FAX-1940CN working (*-extra-Packages). As my DCP-120C this was no problem and it seems as if it's safe use them both on one system.

Thank you, good work!

Revision history for this message
FriedChicken (domlyons) wrote :

Supplement: I've connected the FAX-1940CN via USB. As already said this was no problem.

I have also tried it via ethernet but
a) didn't use a crossover altough I connected the laptop and the printer directly
b) the NetworkManager didn't activate the ethternet device. This could be because of a) (but most modern ethernet devices should be able to work around this) or because the printer hasn't got a DHCP-Server and NetworkManager is not able to choose an own IP.

So I think this is not a problem of the driver. Maybe I could arrange it some time to connect the driver with a switch or a router.

Revision history for this message
FriedChicken (domlyons) wrote :

Correction:
... Maybe I could arrange it some time to connect the *printer* with a switch or a router.

Revision history for this message
Saivann Carignan (oxmosys) wrote :

brettalton : Sorry, I won't have the ressources and time to build these drivers for Gutsy, at least in the next week and since Hardy will soon be a beta, I will concentrate on Hardy, but thank you for your testing. According to your comment and Martijn Vermaat comment, I believe that there is still some things that need to be fixed with laser and laser1 packages but I can't see what, at least from now.

FriedChicken : That's great, thanks :) For the network, it's a better idea to test with a router yes, otherwise the printing problems might not be related to the drivers.

Revision history for this message
Sebastian Keller (skeller) wrote :

In brother-lpr-drivers-bh7_1.0.0-9-0ubuntu3~ppa1_i386 the files in /usr/Brother/Printer/*/inf/brio* link to /usr/Brother/Printer/inf/brio... while the files in brother-lpr-drivers-common_1.0.0-2-0ubuntu1_i386 the files are called brio06...

Revision history for this message
Saivann Carignan (oxmosys) wrote :

Sebastian Keller : Thanks for finding that mistake. I will fix this problem.

Revision history for this message
Sebastian Keller (skeller) wrote :

In brother-lpr-drivers-bh7_1.0.0-10-0ubuntu1 the files in /usr/Brother/Printer/*/lpd/*filter* are missing +x.

Revision history for this message
Sebastian Keller (skeller) wrote :

Another problem:
/usr/Brother/Printer/dcp130c/lpd/psconvertij2 is different from the one shipped in the according package from Brother, which results in the following problem:

Brother:
PAPER_TYPE=`sed -n '/PaperType/p' $RC_FILE`
PAPER_TYPE=`echo $PAPER_TYPE | sed -e 's/ //g' -e 's/PaperType=//'`

brother-lpr-drivers-bh7_1.0.0-10-0ubuntu1:
PAPER_TYPE=`sed -n '/^Paper/p' $RC_FILE`
PAPER_TYPE=`echo $PAPER_TYPE | sed -e 's/ //g' -e 's/Paper=//'`

While the entry in $RC_FILE (/usr/./././Brother/Printer/dcp130c/inf/brdcp130crc in this case) has the following format:
PaperType=A4
PaperThick=Regular
PaperSource=AUTO

This results in PAPER_TYPE being:
A4PaperThick=RegularPaperSource=AUTO
while it simply should be A4.

However there are more differences in those files, so that even after changing this line it still does not work.

I also saw, that brdcp130crc differed from the Brother one, Brother uses "PaperType=letter".

And another file with differences: /usr/Brother/Printer/dcp130c/inf/paperinfij2
Several values are different, just as an example:
Ubuntu Package: BrA4_B: 4956 6988
Brother Package: BrA4_B: 4930 6988

Revision history for this message
Saivann Carignan (oxmosys) wrote :

Thank you very much for finding these issues. Since your recent comments, I also found several problems like the one you described and I'm currently fixing everything I see. I will probably upload fixed packages to my PPA in the next day.

Revision history for this message
Dana_r (danarea) wrote :

I'm on Hardy A6 and I was unable to get my Brother HL-2040 to print test pages.
I'm using:
brother-lpr-drivers-common 1.0.0-2-0ubuntu1
brother-lpr-drivers-laser 2.0.1-2-0ubuntu3
brother-r-lpr-drivers-laser 2.0.1-2-0ubuntu1

I performed the setup in the cups admin page using the packaged PPD file. The jobs appear in the cups queue but nothing is printed.

Revision history for this message
mikko (mikko-) wrote :

Same problem. I can't print anything. My DCP7010 ppd-file is in /usr/share/ppd instead of /opt/share/ppd. In Dana_r's error log driver tries also to find it from /usr/share/cups/model.

unelma@mikkojakaisa:~$ sudo cat /var/log/cups/error_log
E [21/Mar/2008:09:31:25 +0200] Pause-Printer: Unauthorized
E [21/Mar/2008:09:39:51 +0200] [cups-driverd] Unable to open PPD directory "/opt/share/ppd": No such file or directory
E [21/Mar/2008:09:39:53 +0200] Resume-Printer: Unauthorized
E [21/Mar/2008:09:40:24 +0200] [cups-driverd] Unable to open PPD directory "/opt/share/ppd": No such file or directory
E [21/Mar/2008:09:40:57 +0200] Resume-Printer: Unauthorized
E [21/Mar/2008:09:44:01 +0200] Pause-Printer: Unauthorized

Revision history for this message
Saivann Carignan (oxmosys) wrote :

Very interesting. Can you try the latest packages that I uploaded to my PPA archive yesterday?

deb http://ppa.launchpad.net/saivann/ubuntu hardy main

These packages fix various issues, including the wrong permissions which I suspect to be the cause of the non-working laser and laser1 package. Maybe that your actual error message are just "side effects" of this problem.

Revision history for this message
Dana_r (danarea) wrote :

Saïvann, that is closer as the test page now prints, however the placement is off by about 2cm from the top of the page. I'm also still getting the following messages in my cups log:
E [21/Mar/2008:12:44:44 -0400] [cups-driverd] Unable to open PPD directory "/usr/share/cups/model": No such file or directory
E [21/Mar/2008:12:44:44 -0400] [cups-driverd] Unable to open PPD directory "/opt/share/ppd": No such file or directory
E [21/Mar/2008:12:45:41 -0400] CUPS-Add-Modify-Printer: Unauthorized
E [21/Mar/2008:12:45:56 -0400] [Job 12] No %%BoundingBox: comment in header!

I can also confirm that /opt/share and /usr/share/cups/model are not present.

Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

Missing /opt/share and /usr/share/cups/model are no problem. These are only alternative places to search for PPDs for CUPS. They are not needed for printing and they are also not needed by the Brother drivers.

Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

Please anyone here test the newest packages from Saïvann. I have uploaded them to multiverse. Alternatively, you can also download them from Saïvann's PPA.

Please report here all problems which you still have and also report if you are able to print out-of-the-box now, especially also on 64-bit systems, as we support them with Brother's software though Brother did not take them into account.

Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

There is a positive report in bug 204713 now. emanuel indermühle is reporting success with the brother-lpr-drivers-laser1 and the corresponding CUPS wrapper.

Revision history for this message
Sebastian Keller (skeller) wrote :

My DCP 130C works again now, good job! It got autodetected after i installed the packages and plugged it in.

Revision history for this message
Brett Alton (brett-alton-deactivatedaccount) wrote :

I upgrade to Hardy Beta and switched the driver for MFC-8440 from PS to CUPS but the printer still doesn't work.

brett@office:~$ sudo tail -30 /var/log/cups/error_log
E [22/Mar/2008:10:36:17 -0400] CUPS-Add-Modify-Printer: Unauthorized
E [22/Mar/2008:22:00:27 -0400] cupsdAuthorize: Local authentication certificate not found!
E [22/Mar/2008:22:00:27 -0400] cupsdAuthorize: Local authentication certificate not found!
E [22/Mar/2008:22:00:35 -0400] [cups-driverd] Unable to open PPD directory "/usr/share/cups/model": No such file or directory
E [22/Mar/2008:22:00:36 -0400] [cups-driverd] Unable to open PPD directory "/opt/share/ppd": No such file or directory
E [22/Mar/2008:22:00:57 -0400] CUPS-Add-Modify-Printer: Unauthorized
E [22/Mar/2008:22:01:00 -0400] [Job 244] No %%BoundingBox: comment in header!

Revision history for this message
Michael Stempin (mstempin) wrote :

MFC 5440CN still works, but I cannot change the size from Letter to A4.
Well you can change it but it does not have any effect on the outcome of the paper.

Also I noticed that when I installed the brother-lpr-drivers-extra-Package it pulled some dependencies but I had to install brother-cups-wrapper-extra manuallly afterwards, which itself pulled some more dependencies.

Shouldn't these two packages depend on each other in order to have a working printer by installing either one of them an every other needed package would be downloaded automatically?

Keep up the good work guys. Seems that now is the time to polish the packages up a little bit more.

Revision history for this message
Brett Alton (brett-alton-deactivatedaccount) wrote :

I noticed that an upgrade of the brother-cups-wrapper-* drivers were pushed to Hardy, so I installed them, changed my driver from PS to CUPS and my printing is now working =)

However, the pages seems to be 2.5cm at the top and 0.2cm at the bottom. The left and right margins are about 0.7cm.

This is with a MFC-8440 so you have some prospective.

Revision history for this message
Saivann Carignan (oxmosys) wrote :

Thank you all for your testing. According to comments here, we now have Brother packages that works for most of printers so I set the status of this bug report to fix released. There are probably persisting issues that may be directly related to the Brother drivers. I invite you to open bugs for all specific issues you might find with these packages.

brettalton & Lebowski : It would be really appreciated that you open bugs for your specific issues and that you give detailed descriptions about it. I will keep active with brother cups wrapper and lpr drivers packages. Thank you for all your contribution so far.

Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

Saïvann and Jeremy, thank you very much for doing this awkward task of packaging these drivers. Debianizing the Brother drivers in a distribution-friendly way was much more complex than debianizing a typical free software application. So you have learned already a lot to get MOTU already with these packages. I liked very much sponsoring the upload of your packages and supporting your effort.

The original drivers are really not well designed for being shipped with a distro, and this made me adding several points to my driver design guidelines at OpenPrinting:

https://www.linux-foundation.org/en/OpenPrinting/WritingAndPackagingPrinterDrivers

Saïvann, Jeremy, would you also like to make distribution-independent, LSB-based packages of the Brother drivers? These would be uploaded onto the OpenPrinting server and then arbitrary (LSB-compliant) distros can automatically download them when a Brother printer gets discovered.

Revision history for this message
Saivann Carignan (oxmosys) wrote :

Till Kamppeter : Thank you also very much for your guidance, this project would not get at this state without your help. Packaging this was complicate but very funny, especially when we got our first positive results :) .

Concerning the LSB-based packages, I actually don't have a lot of knowledge about LSB and RPM packaging. No promises, but I'm interested by this task when I will have time to look at it deeper. If I start to work on this, can I still ask for your support?

Revision history for this message
Michael Stempin (mstempin) wrote :

New bug report about the A4-problem is here: Bug #206365

Thank you so much for packaging these drivers for Ubuntu.
Next should be fixing the A4-problem (and anything else what's found) and for Hardy +1 we need the Brother scanner drivers too. :-)

Keep up the awesome work that will make Hardy rock for even more people.

Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

Saïvann, no problem with guiding you through the LSB package development. I am the author of the LSB DDK and I am also the leader of the OpenPrinting project and the creator of the concept of distribution-independent printer/scanner driver packages.

Revision history for this message
webwolf_27 (jeremy-fam-schoenhaar) wrote :

On Mon, 2008-03-24 at 21:29 +0000, Till Kamppeter wrote:
> Saïvann and Jeremy, thank you very much for doing this awkward task of
> packaging these drivers. Debianizing the Brother drivers in a
> distribution-friendly way was much more complex than debianizing a
> typical free software application. So you have learned already a lot to
> get MOTU already with these packages. I liked very much sponsoring the
> upload of your packages and supporting your effort.
>
I wish I would have had the time to do more. Fortuanatly I've found
employment in an opensource friendly/contributing company. However our
own projects always come first and these are primarly tools to make the
lives of administrators easier, and in technical support for customers.
> The original drivers are really not well designed for being shipped with
> a distro, and this made me adding several points to my driver design
> guidelines at OpenPrinting:
>
> https://www.linux-
> foundation.org/en/OpenPrinting/WritingAndPackagingPrinterDrivers
>
> Saïvann, Jeremy, would you also like to make distribution-independent,
> LSB-based packages of the Brother drivers? These would be uploaded onto
> the OpenPrinting server and then arbitrary (LSB-compliant) distros can
> automatically download them when a Brother printer gets discovered.
>
If time permits I'd love to. I have done some RPM packaging in the past,
but my LSB knowledge is not up to date. I won't consider myself an
active developer on any of these. but if time warrants I'll be happy to
participate.

Jeremy

Revision history for this message
Bruce Crowther (bwucie) wrote :

Installed 8.04 Beta today, eventually got DCP130C printer running using DCP135C driver, could not install DCP130C one via Synaptic, because it has dependency issues. (Printer runs really well! Better than in 7.04 using the Brother supplied drivers.)
Have installed the Brother Scanner driver, but the scanner will not start. The fix for this for 7.04 is no longer valid (add a line to etc/fstab and add the device to Libsane Rules.) It's beaten me for now.
Regards,
Bruce

Revision history for this message
Saivann Carignan (oxmosys) wrote :

Bruce Crowther : You actually use the Brother printer drivers from the Brother website. Your printer driver is also actually in the brother-cups-wrapper-bh7 and brother-lpr-drivers-bh7 packages which you can download with synaptic. ( see https://wiki.ubuntu.com/BrotherDriverPackaging ).

The problem you get with your sane scanner drivers is that Brother sane drivers only works when running as root. You should follow their FAQ. http://solutions.brother.com/linux/sol/printer/linux/linux_faq.html#6 .

Actually I did not provide sane drivers for ubuntu but I want to do this for Hardy + 1.

webwolf_27 : This project wouldn't have take place without you, thank you very much for the hard job you did on this :)

Revision history for this message
Martin Pitt (pitti) wrote :

Bruce Crowther [2008-03-25 12:32 -0000]:
> Have installed the Brother Scanner driver, but the scanner will not
> start. The fix for this for 7.04 is no longer valid (add a line to
> etc/fstab and add the device to Libsane Rules.) It's beaten me for
> now.

Scanners are currently broken, see bug 205496. I'll upload a fix in a
few minutes.

Revision history for this message
opamp (opamp10) wrote :

hello

this has work for my dcp150

Brother scanner/printer install in Hardy

Printer :
System >administration >Synaptic package manager (ww) search for Brother :brother-cups-wrapper-extra
Cups Wrapper drivers for extra brother printers install with supporting parcels
Then System >administration> printing > choose printertype with make and Model: bottum change. Choose Brother (forward). Choose Type. (forward).(apply).
ready...

Scanner:
System >administration >Synaptic package manager (ww) search for Brother :brscan2 Brother Scanner Driver install.
Then applications > Accessories > Terminal. Open
Type --->>> sudo apt-get install sane-utils <<<----
Type ---->>> sane-find-scanner <<<----- write the value (vendor=0x04f9, product=0x01cf) of vedore and product.
Type --->>> sudo gedit /usr/share/hal/fdi/preprobe/10osvendor/20-libsane.fdi <<<------
Search for Brother type.

<!-- Brother DCP-150C -->
−<match key="usb.vendor_id" int="0x04f9">
 −<match key="usb.product_id" int="0x01cf">
   <append key="info.capabilities" type="strlist">scanner</append>
   <merge key="scanner.access_method" type="string">proprietary</merge>
  </match>
</match>

Change a random Brothertype in your own type e.g.
 <!-- Brother DCP-130C --> in <!-- Brother DCP-150C -->

vendor number: −<match key="usb.vendor_id" int="0x04f9"> change the value in number you have on written

product number: −<match key="usb.product_id" int="0x01cf"> same way

Store and restart pc

Revision history for this message
FriedChicken (domlyons) wrote :

brscan2 is not part of the ubuntu repositories. You seem to have this package from an alternative source or from Brother.

Revision history for this message
opamp (opamp10) wrote :
Revision history for this message
Michael Greifeneder (mikegr) wrote :

Hello, I can confirm that my HL-2030 printer works perfect with package 'brother-cups-wrapper-laser' in Hardy.
As far as I have read these packages are not installed automatically when a printer is connected. When I connected my printer via USB before I had installed the packages I got a message that my printer is now configured and ready to use. However it was set up with as Raw Printer and printing didn't work.

Can someone or should I? open a bug for Intrepid that these packages are installed automatically and model set correctly?

Revision history for this message
Saivann Carignan (oxmosys) wrote :

Thanks for your comment. This bug report is already reported has bug 234822

Changed in ubuntu:
status: Fix Released → Confirmed
Revision history for this message
Przemek K. (azrael) wrote :

Arthur: please don't change bugs' statuses without a valid reason.

Changed in ubuntu:
status: Confirmed → Fix Released
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.