Brother networked printer/fr

Ce document traite de l'installation d'une imprimante réseau Brother. Il ne couvre que l'installation en réseau en prenant comme exemple le modèle DCP-750CW. Il s'applique néanmoins à d'autres modèles.

Retour d'expérience des utilisateurs
Après avoir appliqué ce guide, merci de mettre le tableau suivant à jour de manière à ce que les autres utilisateurs puissent facilement savoir si une installation réussie a déjà eu lieu avec le modèle de leur choix.

cups
Assurez-vous que  est installé:

Le service cups service doit être démarré avant d'installer l'imprimante.

OpenRC
Si vous utilisez OpenRC, la commande suivante vous permet de démarrer le service cups.

Pour que le démarrage du servie ait lieu automatiquement au démarrage, utilisez rc-update:

Systemd
Si vous utilisez systemd, vous pouvez démarrer le service cups avec la commande suivante:

Pour que le service soit lancé au démarrage:

Solution préférée : utilisation d'un arbre alternatif pour les pilotes
Si l'imprimante est prise en charge par un ebuild dans brother-overlay ou quelque autre arbre alternatif, alors utilisez le, car il inclut les prérequis mentionnés ici. Il devrait vous permettre de sauter la section "Alternative : installation par rpm".

Pour activer cet arbre alternatif, créez le fichier     adéquat :

Le paquet doit être installé pour utiliser cet arbre alternatif. Une alternative consiste à utiliser layman pour ajouter cet arbre alternatif.

Brother BrGenML1 pour CUPS
The net-print/brother-genml1-bin ebuild from brother-overlay contains the Generic printer drivers as offered on support.brother.com for a wide range of compatible models (click the Compatible Model link on BrGenML1 Compatible Models):
 * Generic LPR printer driver (rpm package)
 * Generic CUPSwrapper printer driver (rpm package)

In cups the driver appears as printer model Brother BrGenML1 for CUPS.



Alternative: rpm installation
As the drivers are available from Brother in the form of an file, the  package needs to be installed.

Missing directories
Please create these directories up front; it will save a lot of trouble later:

Downloading the driver from Brother
The drivers for Brother printers are available at Brother solutions' web page.

Search for the correct model name by clicking Printer driver in the Download box.

After having chosen the right model, four drivers will be presented for download. Please download the two ones ending in for LPR driver and cupswrapper driver.

Installing the drivers
Installing the drivers may be a multiple-step process as some needed directories may appear missing on the system.

To install a driver change to the directory where the downloaded files are located.

Next, issue the following command to see the filenames:

Of course the driver names may change according to the model's name. The output of the previous command can be used to copy and paste the filenames in the rpm command to avoid typos when entering them.

First install the LPR driver.

The installation may give some warnings, telling that some directories are missing. In this case, add the missing directories by hand and re-install the driver with this command:

Next install the cupswrapper driver the same way:

Again, the installation may give some warnings, telling that some directories are missing. Try to add the missing directories by hand and re-install the driver with this command:

Copying the filter at the right place
Copy the filter to the right place with the following command:

Connect the printer to the network
Connect the printer to the network as described in the network section of the printer model's Online User Guide. From this step, the printer's network address can be obtained which is needed for CUPS in the next step. When pointing the browser to the printer's network address it will go to the printer's user interface.

Use cups' web interface to install the printer
Printer detection works much better if the printer is directly connected to the computer than via network. So if possible connect the printer to the computer and point the browser at localhost:631.

In the CUPS for Administrators section of the home page, click on Find New Printers. It will list the available new printer(s). Then, in the printer's line item, click on Add This Printer. On the next screen, accept or adjust name, description and location and press Continue. Complete the dialog with manufacturer Brother and the correct driver, and select Add Printer.

Next, disconnect the printer from the computer. In CUPS dialog, for the just installed printer, click the Administation drop down menu and select Modify Printer. On the next screens, select LPD/LPR, enter the network URL, click continue, select the previously installed "current driver" and modify Printer.

Don't forget to set the user's default printer

Prerequisites
Make sure the package is installed in order to install the driver for the scanner. As most users will use xsane to scan a document, just emerge it. The package will be pulled in as a dependency.

Installing the driver
Download the driver from the Brother Solutions's download page for the scanner.

Change to the directory where the downloaded drivers are, and run the following command:

This will show the file names of the downloaded files, allowing for easy copy/paste for the next commands.

Install the drivers using rpm:

Configuring the scanner
Once the driver is correctly installed, use the following command:

Now check everything is correctly installed:

Congratulation! The scanner is now ready for use!

Generic LPR printer driver on amd64
The printer driver uses statically compiled x86 binaries. To be able to execute them the kernel needs to have the following configuration enabled: IA32_EMULATION

Text shifted up
Sometimes it happens that the text is shifted up toward the upper border of the page.

To correct this, enter the following command:

Scanner not detected
It may happen that, when xsane is launched, the scanner is not detected. This is probably due to a too recent version of libusb. In order to solve this, it might be necessary to install :

External resources

 * Brother solutions, Linux page on Brother.com
 * brother-overlay on Github.com