Difference between revisions of "Brother HL-2170W"

From ArchWiki
Jump to: navigation, search
m
(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.)
(14 intermediate revisions by 2 users not shown)
Line 1: Line 1:
[[Category:Printers_(English)]]
+
[[Category:Printers]]
 
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.
 
==Default username/password==
 
To avoid some extra Google queries, the HL-2170w web interface default username is 'admin' and the default password is 'access'.
 
  
 
{{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.}}
 
{{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.}}
  
==Using the foomatic/ljet4 driver using IPP (recommended method)==
+
==Setup printer and CUPS==
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.
+
{{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 [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 ghostscript</pre>
 
# Install CUPS and Foomatic: <pre># pacman -S cups foomatic-db foomatic-db-engine foomatic-db-nonfree foomatic-filters ghostscript</pre>
# Download the pxlmono PPD file from [http://www.linuxprinting.org/show_printer.cgi?recnum=Brother-HL-2170W the OpenPrinting Database] (Look for ljet4) and save it somewhere.
 
 
# Start the cups daemon: <pre># rc.d start cupsd</pre>
 
# Start the cups daemon: <pre># rc.d start cupsd</pre>
# Optionally edit your [[rc.conf]] to start cups on boot: <pre>DAEMONS=(syslog-ng network netfs cupsd crond)</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 (may cause chromium to crash in which case click on edit configuration and then click save)
+
# Click the Add Printer button on the Administration tab.
# 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 must the name be UNIQUE from any identical printers configured)
+
# Configure the default options.
+
# Click next then print a test page
+
  
==Using the foomatic/pxlmono driver (alternative method 1)==
+
Continue to '''one''' of the following subsections:
# Install CUPS and Foomatic: <pre># pacman -S cups foomatic-db foomatic-db-engine foomatic-db-nonfree foomatic-filters</pre>
+
 
# Start the cups daemon: <pre>rc.d start cupsd</pre>
+
===Using IPP (recommended method)===
# Optionally edit your [[rc.conf]] to start cups on boot: <pre>DAEMONS=(syslog-ng network netfs cupsd crond)</pre>
+
# Select IPP from the list.
# Open a web browser to http://localhost:631/
+
# In the 'Connection' field, type <pre>ipp://THE_PRINTER_IP/ipp/port1</pre>
# Click the Add Printer button on the Administration tab, fill out the form, and click Continue
+
# 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.
# Pick the Brother HL-2170 from the 'Device:' dropdown menu and continue.
+
# Select '''"Brother HL-2170W Foomatic/hl1250"''' from the list of drivers.
# 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):
+
# Configure the default options on the next page to your liking.
## 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.
+
  
==Using the HP PCL6 driver (alternative method 2)==
+
===Using the HP PCL6 driver (alternative method)===
''This driver is not ideal, but it works. Use the foomatic/pxlmono method above, if possible.''
+
''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 cupsd crond)</pre>
 
# Start cups: <pre># rc.d start cupsd</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==
 
==Troubleshooting==
 
''Some simple reminders''
 
''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.
 
# 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.