Difference between revisions of "Brother HL-2270DW"

From ArchWiki
Jump to: navigation, search
m (This update adds clarity for CUPS 1.7.1 use.)
(Added redirect (moved last bit of unique information to Printer-specific_problems#Resetting_the_printer_to_the_factory_defaults)
(27 intermediate revisions by 5 users not shown)
Line 1: Line 1:
#Redirect[[CUPS/Printer-specific problems]]
This is a short tutorial on installing the Brother HL-2270DW printer with [[CUPS]] on Arch Linux.
==Installing printer driver==
There are two methods to install the HL-2270DW printer driver:
# Install the {{AUR|brother-hl2270dw}} package from the [[AUR|aur]]
# Install via rpm obtained from the [http://welcome.solutions.brother.com/bsc/public/us/us/en/dlf/download_index.html?reg=us&c=us&lang=en&prod=hl2270dw_all&dlid=&flang=English&os=127&type2=-1 Brother web site]
===Install via rpm===
Install {{pkg|rpmextract}} from the [[Official repositories|official repositories]].
# pacman -S rpmextract
Download printer driver from the Brother web site
$ mkdir ~/brother && cd ~/brother
$ wget http://www.brother.com/pub/bsc/linux/dlf/cupswrapperHL2270DW-2.0.4-2.i386.rpm
$ wget http://www.brother.com/pub/bsc/linux/dlf/hl2270dwlpr-2.1.0-1.i386.rpm
Extract those rpm
$ rpmextract.sh cupswrapperHL2270DW-2.0.4-2.i386.rpm
$ rpmextract.sh hl2270dwlpr-2.1.0-1.i386.rpm
Copy files into {{ic|/usr/local}}
$ sudo cp -R ./usr/local/Brother /usr/local
Execute the script from the cupswrapper package to create the PPD and filter files
$ ./usr/local/Brother/Printer/HL2270DW/cupswrapper/cupswrapperHL2270DW-2.0.4
==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-2270DW web interface default username is 'admin' and the default password is 'access'.
It is recommended that you configure the HL-2270DW to have a '''static IP''' so that CUPS will always work with it (steps not detailed in this article).
# Install CUPS and Foomatic: <pre># pacman -S cups a2ps</pre>
# Start the cups daemon: <pre># systemctl start cups</pre>
# Open a web browser to http://localhost:631/
# Click the Administration tab then click the Add Printer button.
===Using IPP===
# 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 HL2270DW for CUPS (en)"''' from the list of drivers.
# Configure the default options on the next page to your liking
## Set '''Duplex''' to DuplexNoTumble for double-side printing
## Set '''TonerSave''' to on to enable toner saving
=== 64 bit system===
If you are running a pure 64 bit system, then you may see this debug message in the CUPS error log file:
''/usr/lib/cups/filter/brlpdwrapperHL2270DW: line 141: /usr/local/Brother/Printer/HL2270DW/cupswrapper/brcupsconfig4: No such file or directory''
This occurs because ''brcupsconfig4'' needs package '''lib32-glibc'''
# pacman -S lib32-glibc
If you installed lib32-glibc afterwards, then you may have to copy the file ''brlpdwrapperHL2270DW'' manually to ''/usr/lib/cups/filter/''.
===Margins are off===
If your margins are off, you can try to use the Brother HL-2170W.
# [http://www.openprinting.org/printer/Brother/Brother-HL-2170W Click here to download the PPD file for the Brother HL-2170W]
# Install {{pkg|hplip}}
# Go to CUPS->administration->manage printers. Select your printer. Then in the administration drop-down select 'modify printer'.
# Once you get to the Menu asking you to select your printer, click on "select another make/manufacturer".  Next click on the "choose file" button.
# Select Brother-HL-2170W-hpijs-pcl5e.ppd
===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.

Latest revision as of 20:22, 17 September 2015