This is a short tutorial on installing the Brother HL-2170W (and the HL-2140) printer with CUPS on Arch Linux. This printer will work a few different ways: with Foomatic, with the HP PCL6 driver, or with cupswrapper. For further info on cupswrapper please see the Brother MFC-440CN guide.
Setup printer and CUPS
This printer has a web-based interface. To avoid some extra Google queries, the HL-2170w web interface default username is 'admin' and the default password is 'access'.
It is recommended to configure the HL-2170W to have a static IP so that CUPS will always work with it (steps not detailed in this article).
The needed pdd/drivers are available from this device from the OpenPrinting Database. There is no need to directly browse to this page or download ppd files directly; it has been given for reference only.
- Install CUPS and Foomatic:
# pacman -S cups foomatic-db foomatic-db-engine foomatic-db-nonfree foomatic-filters ghostscript
- Start the cups socket
systemctl start cups.socket
- Optionally, enable the socket to load a system boot time:
systemctl enable cups.socket
- Open a web browser to http://localhost:631/
- Click the Add Printer button on the Administration tab.
Continue to one of the following subsections:
Using IPP (recommended method)
- Select IPP from the list.
- In the 'Connection' field, type
- In the next form, give the printer a unique name (no spaces and the name be must unique from any identical printers), and select "Brother" from the printer make field.
- Select "Brother HL-2170W Foomatic/hl1250" from the list of drivers.
- The defaults options should be configured to the user's liking.
Using the HP PCL6 driver (alternative method)
This driver is not ideal, but it works.
- Click the Add Printer Button (fill out the form) (click Continue)
- Select Internet Printing Protocol (IPP) from the drop down menu (click Continue)
- In the Device URI field add the following line:
http://printer:631/ipp/port1Where printer is the IP address or DNS name of the printer (click Continue)
- Select "HP" from the printer make field.
- Select "HP LaserJet Series PCL 6 CUPS (en)" from the list of drivers.
Some simple reminders
- Some users have reported problems characterized by error message like, "spool not ready" or "ipp backend failed." One solution is to resume the printer by selecting the Maintenance drop down and selecting Resume Printer.
- If you notice that the printer margins are off, try installing AUR and select that driver in CUPS, then edit the file at /usr/share/Brother/inf/brHL2170Wrc and change "PaperType" to "Letter".