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:

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.

and to have it started automatically at boot time

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

and 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.

Troubleshooting
It may happen that, when displaying your printers in Printers --> Manage Printers, the following message appears in the state column of your printer

"File "/usr/libexec/cups/filter/brlpdwrapperdcp750cw" not available: No such file or directory".

To solve this use the following command:

Then delete and re-install the printer again.