Difference between revisions of "Brother HL-2170W"

From ArchWiki
Jump to: navigation, search
m (Do not use -Sy when installing packages)
(minor clean-up; I needed additional packages (page still could use some work))
Line 1: Line 1:
 
[[Category:Printers_(English)]]
 
[[Category:Printers_(English)]]
 
[[Category:HOWTOs (English)]]
 
[[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.
  
=Introduction=
+
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 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.
+
==Using the foomatic/pxlmono driver==
 +
''This is the preferred method.''
  
=Using the foomatic/pxlmono Driver=
+
# Install CUPS and Foomatic: <pre># pacman -S cups foomatic-db foomatic-db-engine foomatic-db-nonfree foomatic-filters</pre>
''This is the prefered method.''
+
 
+
# Install cups and foomatic: <pre># pacman -S cups foomatic-db foomatic-filters</pre>
+
 
# Edit your [[rc.conf]] to start cups on boot: <pre>DAEMONS=(syslog-ng network netfs cups crond)</pre>
 
# 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/]
+
# Open a web browser to http://localhost:631/
# Click the Add Printer Button (fill out the form) (Click Continue).
+
# Click the Add Printer button on the Administration tab, fill out the form, and click Continue
# Pick the Brother HL-2170 from the 'Device:' dropdown menu (Click Continue).
+
# 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):
 
# 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.  
 
## 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.  
Line 22: Line 20:
 
# Click on the Printers tab and print a test page.
 
# Click on the Printers tab and print a test page.
  
=Using the HP PCL6 Driver=
+
==Using the HP PCL6 driver==
''Please bear in mind this driver is not that great, but it works. Use the Foomatic/pxlmono method above.''
+
''This driver is not ideal, but it works. Use the foomatic/pxlmono method above, if possible.''
  
# First install cups: <pre># pacman -S cups</pre>
+
# 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>
+
# 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>
 
# Start cups: <pre># /etc/rc.d/cups start</pre>
 
# Open a web browser to [http://localhost:631/ http://localhost:631/]
 
# Open a web browser to [http://localhost:631/ http://localhost:631/]
Line 34: Line 32:
 
# Select "HP" under Make (click Continue)
 
# Select "HP" under Make (click Continue)
 
# Select HP LaserJet Series PCL 6 CUPS (en) (click Add Printer)
 
# Select HP LaserJet Series PCL 6 CUPS (en) (click Add Printer)
 
=Using Brothers cupswrapper=
 
''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.''
 

Revision as of 05:39, 4 March 2010

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.

Using the foomatic/pxlmono driver

This is the preferred method.

  1. Install CUPS and Foomatic:
    # pacman -S cups foomatic-db foomatic-db-engine foomatic-db-nonfree foomatic-filters
  2. Edit your rc.conf to start cups on boot:
    DAEMONS=(syslog-ng network netfs cups crond)
  3. Open a web browser to http://localhost:631/
  4. Click the Add Printer button on the Administration tab, fill out the form, and click Continue
  5. Pick the Brother HL-2170 from the 'Device:' dropdown menu and continue.
  6. 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):
    1. Download the pxlmono PPD file from the OpenPrinting Database (at the bottom of the page) and save it somewhere.
    2. Click 'Browse' and select the PPD file you just downloaded in the 'Add Printer' page.
  7. Now click 'Add Printer' to add the printer. When it asks for a username and password, supply the root account's username and password.
  8. Configure any other options for your printer.
  9. Click on the Printers tab and print a test page.

Using the HP PCL6 driver

This driver is not ideal, but it works. Use the foomatic/pxlmono method above, if possible.

  1. First install CUPS:
    # pacman -S cups
  2. Edit your rc.conf to start cups on boot:
    DAEMONS=(syslog-ng network netfs cups crond)
  3. Start cups:
    # /etc/rc.d/cups start
  4. Open a web browser to http://localhost:631/
  5. Click the Add Printer Button (fill out the form) (click Continue)
  6. Select Internet Printing Protocol (IPP) from the drop down menu (click Continue)
  7. 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)
  8. Select "HP" under Make (click Continue)
  9. Select HP LaserJet Series PCL 6 CUPS (en) (click Add Printer)