Difference between revisions of "Brother HL-2170W"

From ArchWiki
Jump to: navigation, search
m (Using the HP PCL6 driver (alternative method 2))
(updated for system and rewrote in 3rd person)
(19 intermediate revisions by 3 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 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.
  
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.}}
  
==Default username/password==
+
==Setup printer and CUPS==
To avoid some extra Google queries, the HL-2170w web interface default username is 'admin' and the default password is 'access'.
+
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'.
  
{{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.}}
+
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).
  
==Using the foomatic/pxlmono driver (recommended method)==
+
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 cupsd on boot: <pre>DAEMONS=(syslog-ng network netfs cupsd crond)</pre>
+
# Start the cups socket <pre>systemctl start cups.socket</pre>
 +
# Optionally, enable the socket to load a system boot time: <pre>systemctl enable cups.socket</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.
+
  
==Using the foomatic/ljet4 driver using IPP (alternative method 1)==
+
Continue to '''one''' of the following subsections:
If the recommended method does not work, the HL-2170w series supports many protocols, leaving users 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 ghostscript</pre>
+
===Using IPP (recommended method)===
# 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 and optionally edit your [[rc.conf]] to start cups on boot: <pre>DAEMONS=(syslog-ng network netfs cupsd 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.
# Configure the default options.
+
# Select '''"Brother HL-2170W Foomatic/hl1250"''' from the list of drivers.
# Click next then print a test page
+
# The defaults options should be configured to the user's liking.
  
==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># /etc/rc.d/cupsd 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 the 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.
+
# 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.

Revision as of 18:42, 3 November 2013

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.

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

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.

  1. Install CUPS and Foomatic:
    # pacman -S cups foomatic-db foomatic-db-engine foomatic-db-nonfree foomatic-filters ghostscript
  2. Start the cups socket
    systemctl start cups.socket
  3. Optionally, enable the socket to load a system boot time:
    systemctl enable cups.socket
  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. 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.

  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 the 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. 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.