Difference between revisions of "Brother HL-2170W"

From ArchWiki
Jump to: navigation, search
(In regards to the HL-2170W, the HL1250 driver performs better than the ljet4-ish drivers. Also, ljet4e was not an option in the menu.)
(27 intermediate revisions by 4 users not shown)
Line 1: Line 1:
[[Category:Printers_(English)]]
+
[[Category:Printers]]
[[Category:HOWTOs (English)]]
+
This is a short tutorial on installing the Brother HL-2170W (and the HL-2140) printer with [[CUPS]] on Arch Linux. If you previously tried to install the printer in CUPS, remove it.  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.
This is a short tutorial on installing the Brother HL-2170W (and the HL-2140) printer with [[CUPS]] on Arch Linux. If you previously tried to install the printer in CUPS, remove it.
+
  
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.
+
{{Note|As of July 2011, The foomatic/ljet4 driver using IPP has been shown to be really successful on most Arch setups, please attempt that first.}}
  
To avoid some extra Google queries, the HL-2170w web interface default username is 'admin' and the default password is 'access'.
+
==Setup printer and CUPS==
 +
{{Note|This article details how to setup you printer over a LAN or WLAN connection.}} 
  
The foomatic/pxlmono driver using IPP has been shown to be really successful on most Arch setups, please attempt that first.
+
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 that you configure the HL-2170W to have a '''static IP''' so that CUPS will always work with it (steps not detailed in this article).
  
==Using the foomatic/pxlmono driver==
+
The needed pdd/drivers are available from this device from [http://www.linuxprinting.org/show_printer.cgi?recnum=Brother-HL-2170W 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: <pre># pacman -S cups foomatic-db foomatic-db-engine foomatic-db-nonfree foomatic-filters</pre>
+
# Install CUPS and Foomatic: <pre># pacman -S cups foomatic-db foomatic-db-engine foomatic-db-nonfree foomatic-filters ghostscript</pre>
# Edit your [[rc.conf]] to start cups on boot: <pre>DAEMONS=(syslog-ng network netfs cups crond)</pre>
+
# Start the cups daemon: <pre># rc.d start cupsd</pre>
 +
# Optionally edit your [[rc.conf]] to start cups on boot: <pre>DAEMONS=(... @cupsd ...)</pre>
 
# Open a web browser to http://localhost:631/
 
# Open a web browser to http://localhost:631/
# Click the Add Printer button on the Administration tab, fill out the form, and click Continue
+
# Click the Add Printer button on the Administration tab.
# Pick the Brother HL-2170 from the 'Device:' dropdown menu and continue.
+
# Pick the 'Brother HL-2170W Foomatic/pxlmono (en).' If this option isn't in the list, then you can opt to manually provide the PPD file as follows (keeping the 'Add Printer' page open):
+
## Download the pxlmono PPD file from [http://www.linuxprinting.org/show_printer.cgi?recnum=Brother-HL-2170W the OpenPrinting Database] (at the bottom of the page) and save it somewhere.
+
## Click 'Browse' and select the PPD file you just downloaded in the 'Add Printer' page.
+
# Now click 'Add Printer' to add the printer. When it asks for a username and password, supply the root account's username and password.
+
# Configure any other options for your printer.
+
# Click on the Printers tab and print a test page.
+
  
 +
Continue to '''one''' of the following subsections:
  
 
+
===Using IPP (recommended method)===
==Using the foomatic/pxlmono driver via IPP==
+
''more successful''
+
 
+
Since the HL-2170w series supports many protocols, you are left with many options. A common option is [http://en.wikipedia.org/wiki/Internet_Printing_Protocol IPP], Internet Printing Protocol. It is recommended that you configure the HL-2170w via its web interface to have a static IP so that the IPP configuration in CUPS will always work.
+
 
+
 
+
# Install CUPS and Foomatic: <pre># pacman -S cups foomatic-db foomatic-db-engine foomatic-db-nonfree foomatic-filters</pre>
+
# Download the pxlmono PPD file from [http://www.linuxprinting.org/show_printer.cgi?recnum=Brother-HL-2170W the OpenPrinting Database] (at the bottom of the page) and save it somewhere.
+
# Start the cups daemon and optionally edit your [[rc.conf]] to start cups on boot: <pre>DAEMONS=(syslog-ng network netfs cups crond)</pre>
+
# Open a web browser to http://localhost:631/
+
# Click the Add Printer button on the Administration tab (may cause chromium to crash in which case click on edit configuration and then click save)
+
 
# Select IPP from the list.
 
# Select IPP from the list.
# In the 'Connection' field, type <pre> ipp://THE_PRINTER_IP/ipp/port1 </pre>
+
# In the 'Connection' field, type <pre>ipp://THE_PRINTER_IP/ipp/port1</pre>
# In the next form, give the printer a unique name (no spaces and must the name be UNIQUE from any identical printers configured)
+
# 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.
# Click next then print a test page
+
# Select '''"Brother HL-2170W Foomatic/hl1250"''' from the list of drivers.
 +
# Configure the default options on the next page to your liking.
  
 +
===Using the HP PCL6 driver (alternative method)===
 +
''This driver is not ideal, but it works.''
  
 
The first method above using the automatic network discovery did not work for me. The IPP method did. Good luck!
 
 
==Using the HP PCL6 driver==
 
''This driver is not ideal, but it works. Use the foomatic/pxlmono method above, if possible.''
 
 
# First install CUPS: <pre># pacman -S cups</pre>
 
# Edit your [[rc.conf]] to start cups on boot: <pre>DAEMONS=(syslog-ng network netfs cups crond)</pre>
 
# Start cups: <pre># /etc/rc.d/cups start</pre>
 
# Open a web browser to [http://localhost:631/ http://localhost:631/]
 
 
# Click the Add Printer Button (fill out the form) (click Continue)
 
# Click the Add Printer Button (fill out the form) (click Continue)
 
# Select Internet Printing Protocol (IPP) from the drop down menu (click Continue)
 
# Select Internet Printing Protocol (IPP) from the drop down menu (click Continue)
 
# In the Device URI field add the following line: <pre>http://printer:631/ipp/port1</pre> Where printer is the IP address or DNS name of your printer (click Continue)
 
# In the Device URI field add the following line: <pre>http://printer:631/ipp/port1</pre> Where printer is the IP address or DNS name of your printer (click Continue)
# Select "HP" under Make (click Continue)
+
# Select '''"HP"''' from the printer make field.
# Select HP LaserJet Series PCL 6 CUPS (en) (click Add Printer)
+
# Select '''"HP LaserJet Series PCL 6 CUPS (en)"''' from the list of drivers.
 +
 
 +
==Troubleshooting==
 +
''Some simple reminders''
 +
# Sometimes if you get simple errors like "spool not ready" or "ipp backend failed", there is a good chance you have to resume the printer by selecting the Maintenance drop down and selecting Resume Printer.

Revision as of 02:12, 14 September 2012

This is a short tutorial on installing the Brother HL-2170W (and the HL-2140) printer with CUPS on Arch Linux. If you previously tried to install the printer in CUPS, remove it. 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.

Note: As of July 2011, The foomatic/ljet4 driver using IPP has been shown to be really successful on most Arch setups, please attempt that first.

Setup printer and CUPS

Note: This article details how to setup you printer over a LAN or WLAN connection.

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 that you 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.

  1. Install CUPS and Foomatic:
    # pacman -S cups foomatic-db foomatic-db-engine foomatic-db-nonfree foomatic-filters ghostscript
  2. Start the cups daemon:
    # rc.d start cupsd
  3. Optionally edit your rc.conf to start cups on boot:
    DAEMONS=(... @cupsd ...)
  4. Open a web browser to http://localhost:631/
  5. Click the Add Printer button on the Administration tab.

Continue to one of the following subsections:

Using IPP (recommended method)

  1. Select IPP from the list.
  2. In the 'Connection' field, type
    ipp://THE_PRINTER_IP/ipp/port1
  3. 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.
  4. Select "Brother HL-2170W Foomatic/hl1250" from the list of drivers.
  5. Configure the default options on the next page to your liking.

Using the HP PCL6 driver (alternative method)

This driver is not ideal, but it works.

  1. Click the Add Printer Button (fill out the form) (click Continue)
  2. Select Internet Printing Protocol (IPP) from the drop down menu (click Continue)
  3. In the Device URI field add the following line:
    http://printer:631/ipp/port1
    Where printer is the IP address or DNS name of your printer (click Continue)
  4. Select "HP" from the printer make field.
  5. Select "HP LaserJet Series PCL 6 CUPS (en)" from the list of drivers.

Troubleshooting

Some simple reminders

  1. Sometimes if you get simple errors like "spool not ready" or "ipp backend failed", there is a good chance you have to resume the printer by selecting the Maintenance drop down and selecting Resume Printer.