Brother networked printer

This document covers the installation of a Brother network printer. It covers only the networked installation taking the DCP-750CW as an example. It may be applied to other network printer of Brother.

Feedback
After having applied this guide to your printer, please update the following table :

rpm installer
As the drivers are available from Brother in the form of .rpm file. You need to have the  package installed.

cups
You also need cups installed

Downloading the driver from Brother
The drivers for Brother printers are available at Brother solutions' web page. Search for you model name by clicking Printer driver in the Download box. After having chosen your model you will be presented four drivers for download. Please download the two ones ending in .rpm that are LPR driver and cupswrapper driver.

Installing the drivers
Installing the drivers may be a multiple steps process as some needed directories may appears missing on your Gentoo installation. To install a driver change to the directory where you downloaded the .rpm files. Then issue the following command to visualize the filenames.

Of course the driver names may change according to your model's name. Using the previous command will allow you to copy and paste the filenames in the rpm command to avoid typos when entering them.

First install the ...cupswrapper... driver:

You may be told that some directories are missing. In this case, try to add the missing directories by hand and re-install the driver with this command:

In my case, I had to add and

Now install the LPR driver the same way.

I had to add the directory and re-install:

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

Start the cups service
To install the printer you have to start the cups service first:

OpenRC
If you use OpenRC use the following command to start the cups service.

To have it started automatically at boot time:

Systemd
If you use systemd use the following command to start the cups service.

To have it started automatically at boot time:

Use cups' web interface to install the printer
Point your browser at localhost:631. In the CUPS for Administrators section of the home page, click on Add Printer and classes. Then, in the Printers box, click on Add printer.

In the network choices suggested, choose the Host or LPD/LPR printer protocol and enter the connection url as suggested in Brother's documentation. In the case of DCP-750CW I had to use lpd://192.168.1.13/binary_p1 where 192.168.1.13 was the IP address of my printer read from the command panel of the printer.

After, this the configuration is completely intuitive and free. Just follow the instructions of the wizard.

sane-backend
You will need to have the package sane-backend installed in order to install the driver for the scanner. As you will probably need xsane to scan your document, just emerge it. sane-backend will be pull in as a dependency.

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

Change to the directory where you downloaded the file and do:

in order to be able to copy paste the name. Enter the following command:

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

Now check everything is correctly installed:

Congratulation! You are ready to use your scanner!

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: