Difference between revisions of "Brother HL-2170W"

From ArchWiki
Jump to: navigation, search
(Introduction)
(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.)
(32 intermediate revisions by 6 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.
  
=Introduction=
+
{{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.}}
This is a small tutorial to make the printer Brother HL-2170w (and the HL-2140) work on Arch. 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.
+
==Setup printer and CUPS==
 +
{{Note|This article details how to setup you printer over a LAN or WLAN connection.}} 
  
=Using the foomatic/pxlmono Driver=
+
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'.
''This is the prefered method.''
+
  
# Install cups and foomatic <pre># pacman -Sy cups foomatic-db foomatic-filters foomatic-db-ppd</pre>
+
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).
# 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/ http://localhost:631/]
+
# Click the Add Printer Button (fill out the form) (Click Continue)
+
# Pick the Brother HL-2170 from the 'Device:' dropdown menu (Click Continue)
+
# Pick the 'Brother HL-2170W Foomatic/pxlmono (en)' (Click Add Device)
+
# Configure any other options for your printer
+
# Click on the Printers tab and print a test page.
+
  
=Using the HP PCL6 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.
''Please bear in mind this driver is not that great, but it works. Use the Foomatic/pxlmono method above.''
+
 
 +
# Install CUPS and Foomatic: <pre># pacman -S cups foomatic-db foomatic-db-engine foomatic-db-nonfree foomatic-filters ghostscript</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/
 +
# 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 <pre>ipp://THE_PRINTER_IP/ipp/port1</pre>
 +
# 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.
 +
# 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.''
  
# 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.
  
=Using Brothers cupswrapper=
+
==Troubleshooting==
''I have had nothing but problems with this under Arch. It works, but only in A4. There is no way to configure paper size that I can find. The cupswrapper uses a binary blob to compile your printers profile, and statically links to directories common to Debian. Sorry that I cannot be more specific, it has been a while since I used it as a driver.''
+
''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.