This post explains how to install Brother HL-2270DW printer drivers in Ubuntu 12.04, 64 bit versions. These instructions also work on Ubuntu 13.04. It should also work for any other Debian linux distributions, however I have only tested this on Ubuntu. Brother does not include 64 bit drivers and thus this why I created this post. There is a previous post on installing in Ubuntu 11.04/11.10 with steps on modifying the Brother 32 bit driver for 64 bit installations http://chadchenault.blogspot.com/2011/09/brother-hl-2270dw-printer-driver.html. The Ubuntu 11.xx instructions will also work for 12.04. The 12.04 includes screenshots and different formatting. You only need to follow my instructions if you are running a 64 bit version of Ubuntu. If you are concerned about security with downloading files that I have patched, you can follow the instructions from the link above to apply the patch yourself. The driver files are current as 05/28/2012.
Instructions
1. Download the following 2 driver files that have been patched to work on 64 bit versions of Ubuntu. The patched (modified for 64 bit linux) driver files have "a" added to the file name.
1.1.2 CUPS patched driver
1.2.2 Brother printer patched driver
2. Open a terminal window "ctrl + alt + t"
2.1 Install file dependency (lib32stdc++) for 64 bit operating system by pasting the following code into a terminal window.
2.1.1 sudo apt-get install lib32stdc++6
2.1 Install file dependency (lib32stdc++) for 64 bit operating system by pasting the following code into a terminal window.
2.1.1 sudo apt-get install lib32stdc++6
2.2 Change into the directory to where the files where downloaded.
2.3 Enter the following two commands from the terminal window. You can copy these commands one at a time and paste them into the terminal window. Press "Enter" key to run the command after pasting.
2.3.1 sudo dpkg -i --force-all hl2270dwlpr-2.1.0-1a.i386.deb
2.3.2 sudo dpkg -i --force-all cupswrapperHL2270DW-2.0.4-2a.i386.deb
USB printing should now work. If you want to configure wifi or ethernet printing, you will need to configure CUPS
3. Wireless Printing Configuration for wifi (2 methods of configuration: Brothers or CUPS). I prefer the CUPS method.
3.1 Follow Brother's instructions
3.2 Configure printer using CUPS printing system
3.2.1 Open web browser and goto http://localhost:631
3.2.2 login with your Ubuntu user name and password. If you get a password error (new for 13.10), open a terminal and type in the following command: sudo killall cupsd
3.2.3 Select "Administration" tab up top
3.2.4 Under "Printers" select "Manage Printers"
3.2.5 you will now be at http://localhost:631/printers/?
3.2.5 Select the printer "HL2270DW"
you will now be at http://localhost:631/printers/HL2270DW
3.2.6.1 My setting is "Connection: usb:/dev/usb/lp0"
3.2.6.1 My setting is "Connection: usb:/dev/usb/lp0"
This is the setting for USB printing ("usb:")
3.2.6.2 Select from Menu "Administration/Modify Printer" if you are not using USB printing. If you wanted to keep the USB printing option you should select from Menu "Administration/Add Printer"
3.2.6.2.1 Enter your Ubuntu user name and password if prompted
The new page will be titled "Modify HL2270DW" assuming you choose the "Modify Printer" option above.
3.2.7 Select the entry "Brother HL-2270DW series (Brother HL-2270DW series)" from
the section "Discovered Network Printers:"
3.2.8 There are multiple entries for "Brother HL-2270DW series (Brother HL-2270DW series)" and they do not have the same configurations. I randomly selected one entry and then Select "Continue" at the bottom of the page.
3.2.9 You will get a new page for editing the printers configuration, my configuration follows
3.2.9.1 Description: HL2270DW-wifi
3.2.9.1.1 added "-wifi" since you can also have USB printing and this requires adding a new printer configuration
3.2.9.2 Location: Study
3.2.9.3 Connection: dnssd://Brother%20HL-2270DW%20series._pdl-datastream._tcp.local/
3.2.9.3.1 Bold indicates this is for wifi printing, very important to have this correct!!!
3.2.9.4 If the "pdl-datastream._tcp.local/" was wrong I hit the back button on my browser and tried another entry until I got the correct "Connection" configuration.
3.2.9.5 Select "Continue" at bottom of page
You get a new page titled "Modify HL2270DW"
3.2.10 Under "Model" select "Current Driver - Brother HL2270DW for CUPS"
3.2.10.1 If the current driver (PPD file) for HL2270DW is not displayed (a problem with Ubuntu 13.10) then you need to tell CUPS where the driver file is located. At "Or Provide a PPD File:", select "Browse" button and navigate to file: /usr/share/cups/model/HL2270DW.ppd.
You get a new page titled "HL2270DW (Idle, Accepting Jobs, Shared)"
3.2.12 Print a Test Page
3.2.13 Select from menu "Maintenance/Print a Test Page"
Congratulations
Thanks to GSBoomer for this arcane information from this post.
These instructions are heavily copied from my previous post "Brother HL-2270DW printer driver install: Ubuntu 11.04".
Thanks to herrsaalfeld for PPD/driver file location and for "sudo killall cupsd" command when password fails in Ubuntu 13:10.
These instructions are heavily copied from my previous post "Brother HL-2270DW printer driver install: Ubuntu 11.04".
Thanks to herrsaalfeld for PPD/driver file location and for "sudo killall cupsd" command when password fails in Ubuntu 13:10.
Thanks a ton!
ReplyDeleteYour welcome!
Deletethanks chad, this worked perfectly! you have saved a lot of people a lot of work. btw, it looks like the instruction on 2.2.2 got truncated. it should read: sudo dpkg -i --force-all cupswrapperHL2270DW-2.0.4-2a.i386.deb
ReplyDeleteThanks for catching the mistake. It is updated as of 2012-1211.
DeleteNice post with great details. I need a printer for home use for the Plastic cards printing purpose. Which one will be the best for me?
ReplyDeleteI have no idea on plastic card printing.
DeleteThanks for the post Chad. Was able to follow your instructions and complete the install on an AMD64-based Ubuntu 12.10 server. Had bought this printer to use as a Google Cloud Print device but was feeling thwarted until I found your original post for 11.04. Am now able to print from "out-in-the-wild" from my Ubuntu netbook, MacBook Pro and Android smartphone. What a great (belated) Christmas present.
ReplyDeleteI am glad this helped you. I have never heard of using a printer as Google Cloud Print device. Please post a link so that I can see how you are using your printer as Google Cloud Print device. I do not know what a Google Cloud Print device is or its features. I think many other people would benefit as well.
DeleteChad,you rock! Nice post. The HL-2270 is the first printer I have ever seen that actually works 100% properly under Ubuntu. Sweet!
ReplyDeleteThanks Jay. I really have enjoyed the printer and it has been very low maintenance. I have also found it easy to refill the toner cartridge. There are several youtube videos that show you how to refill the toner cartridge and save yourself a lot of money.
DeleteWorked like magic for a month or so on Ubuntu 12.10 64 bit. Suddenly stopped working a week or two ago. Tried removing and installing the deb files, but the hl2270 deb file produces errors that I do not recall from a month ago. The cups deb installs okay. Sorry for the mass of text below. Hope you see the problem. Thanks, Ravi
ReplyDelete================
Linux toga-c 3.5.0-23-generic #35-Ubuntu SMP Thu Jan 24 13:15:40 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
================
$ sudo dpkg -i --force-all hl2270dwlpr-2.1.0-1a.i386.deb
[sudo] password for ravi:
(Reading database ... 175967 files and directories currently installed.)
Preparing to replace hl2270dwlpr 2.1.0-1 (using hl2270dwlpr-2.1.0-1a.i386.deb) ...
/var/lib/dpkg/info/hl2270dwlpr.prerm: 3: /var/lib/dpkg/info/hl2270dwlpr.prerm: /usr/local/Brother/Printer/HL2270DW/inf/braddprinter: not found
Unpacking replacement hl2270dwlpr ...
Setting up hl2270dwlpr (2.1.0-1) ...
/var/lib/dpkg/info/hl2270dwlpr.postinst: 3: /var/lib/dpkg/info/hl2270dwlpr.postinst: /usr/local/Brother/Printer/HL2270DW/inf/braddprinter: not found
I got that too.
DeleteTry adding this package and the reinstalling the drivers:
lib32stdc++
I rebooted and it printed fine.
It works. Installed lib32stdc++ and reinstalled both deb from Chad. No reboot needed. Printer works. Ubuntu 13.04 64 bit. Thanks for the tip.
DeleteThanks Ravi for posting your problems. I just recently re-installed 13.04 and had the exact same problems. Thanks to you and papist I have updated the installation instructions by installing lib32stdc++. Here is command to install the file: sudo apt-get install lib32stdc++6
DeleteReally glad you posted this. Keep up the good work!
ReplyDeleteThanks very much, worked perfectly.
ReplyDeleteThanks so much Chad ! Got this installed no hassle in Debian 32bit (no patched files, just the ones on the Brother site) following your instr. toe by toe, this is the first printer i install on Linux everrrr!! Damn good start
ReplyDeleteChad, thank you for this....the printer worked first time after using your proceedure !!!!!!!!!!!!Ubuntu-latest version
ReplyDeleteThanks Paul, Mastran, David, Ravi, and stubarfoo for your comments.
ReplyDeleteThank you very much
ReplyDeleteRegards!!!
Much thanks Chad. Very clear instructions. My kids now have access to the family printer on their Ubuntu laptop (lenovo x61). Kudos to you.
ReplyDeleteDude, you're the man! Thanks a ton. Everything worked flawlessly for my LAN printer.
ReplyDeleteThese instructions worked well with Xubuntu 13.10. Thanks for all the work figuring it out and taking time to post.
ReplyDeleteDear Chad
ReplyDeleteMany thanks, but I got as far as 3.2.6.2.1 of your instructions as I want to use Wifi and my user name & password failed. It seemed to want a Kerberos ticket. I am using ubuntu 12.04 LTS. Can you help?
Sorry, I do not have Kerberos experience and did not have to use it on my machine. Hopefully someone else can answer.
DeleteHappened to me too. Killing cupsd solved the login problem (cupsd restarts automatically):
Deletesudo killall cupsd
Today my printer disappeared after upgrades. Thanks Ubuntu :(. I then ran into the same problem as Michael Newey. I used the advice by herrsaalfeld and was able to add the printer.
Deletesudo killall cupsd
Just in case someone else runs into this vexing problem after going to 13.10 from 13.04 -- I was unable (for almost six months) to print a LibreOffice document in landscape. The solution is simple. Please see: http://ubuntuforums.org/showthread.php?t=2081317
ReplyDeleteHi Chad,
ReplyDeletethanks for the instructions and the patches deb-packages. I was able to install them on Ubuntu 13.10, but the correct driver model would not appear in the CUPS web interface nor anywhere else. I finally succeeded adding the printer by its IP (ipp:///ipp/port1) and then choosing the PPD file that the packages generate, it's in /usrt/share/cups/model/. Now it works like a charm. Thanks a again!
Thank you herrsaalfeld. Great advice on where to find the PPD file. I will add that to the instructions. My printer settings were lost with an upgrade and I used your PPD information. I ran into the problem also of Ubuntu 13.10 not displaying the correct driver model in the CUPS web interface.
DeleteThis comment has been removed by a blog administrator.
ReplyDeleteThanks so much.
ReplyDeleteWorking on my Ubuntu 14.04 LTS (beta)
I did need to "sudo killall cupsd"
"Current Driver - Brother HL2270DW for CUPS" was visible for me.
This how to also worked for my wired printer.
Thanks for the feedback mrpurple. Hopefully your feedback will help others.
DeleteThanks Chad ! I had tried quite a lot to make it work and it did not... until now, thanks to your GREAT explanations.
ReplyDeleteNote for other people in trouble with the CUPS interface : In case CUPS keeps asking for login and password whatever login and password you chose, try to restart your printer. It solved the problem for me.
Thanks for the feedback on CUPS login and restarting your printer. This information was new for me.
DeleteAnother thanks to you. I'm surprised Brother and or Canonical hasn't put more effort into making sure this printer works. Its a very popular / common printer
ReplyDeleteThanks for this information. The printer is working fine but I have not found any way to select duplex printing. Any suggestions?
ReplyDeleteHere is another solution that worked fine for my Ubuntu 14.04. Go to support.brother.com then look for your HL-2270DW printer. Check your operating system (Linux deb), click on "drivers" (it's only in english). Download the 3 files (the 3 are needed). Then just use the 1st one "Driver Install Tool" according to instructions (my command was : sudo bash linux-brprinter-installer-2.0.0-1 HL-2270DW). When asked "will you specify the Device URI? [Y/n]", answer "n". When the processed is finished, in Ubuntu go to "printer configuration". You'll see your HL-2270DW. Right-clik, then "Properties". The default URI that has been assigned to "something-USB". So if you are on Wifi, click "Modify", then look for "Network Printer", you'll get HL-2270DW on 2 lines : forget the 1st (with Host..) and choose the 2nd one. Apply and that's ok, your printer is ready !! The duplex option is proposed in the Properties (sorry for my english, I'm french).
ReplyDeleteThanks for sharing. It appears Brother has created software to simply getting their printer to work. Your solution does look easier and I will try it the next time I need to install drivers.
DeleteI have a printer Brother-HL2270DW Series, but I couldn't set the printer to work wireless in Debian Jessie 8.1. I downloaded the drivers from brother website, but I couldn't run the driver install tool. I also downloaded the drivers from http://support.brother.com/g/s/id/linux/en/index.html?c=us_ot&lang=en&comple=on&redirect=on. Could some one help me to set the printer wireless? I have spent a day trying to fix it, but I could't it. my email is dragon840@gmail.com
ReplyDeleteThanks a lot Chad -- this is a lifesafer! Just got it to work on Ubuntu 15.10.
ReplyDeleteHopefully, this site is still active as of July 16, 2016. I am running a variance of Ubuntu 16.04 LTS (, i.e. Kubuntu and Linux Mint, on my desktop and desktop. I am not able to set up my Brother HL 2270DW to work wirelessly; USB connection is fine and dandy. Is the instruction here still working?
ReplyDeleteI am running Ubuntu Gnome 16.04 currently and the printer is working. I have not tried a fresh installation of the drivers for version 16.04 of Ubuntu. Brother now has drivers available for linux that were not available when this post was made (get the "deb" package). Try the installation suggested in the above comment by Jo Boug on May 7, 2014 at 3:42 AM. It looks simpler than my older method. Good Luck
DeleteCUPS configuration for wireless should be the same or similar.
Delete