2011/09/09

Brother HL-2270DW printer driver install: Ubuntu 11.04

Brother HL-2270DW printer driver install, Ubuntu 11.04 64-bit

09/09/2011

Addendum 09/28/2012 - These steps also work for installing in Ubuntu 12.04 64-bit. I have posted an updated install than includes screenshots of settings http://chadchenault.blogspot.com/2012/05/brother-hl-2270dw-printer-driver.html.

1. Follow "Steps 1-3" on http://welcome.solutions.brother.com/bsc/public_s/id/linux/en/instruction_prn3.html

2. After Step 3, the driver must be patched for Ubuntu 11.04 64-bit
Patched driver instructions are located here: http://welcome.solutions.brother.com/bsc/public_s/id/linux/en/faq_prn.html#f00098 FAQ I cannot install Monochrome Laser Printer driver on Ubuntu11.4(64bit).  Thanks to alliance1975 for this information at http://ubuntuforums.org/showpost.php?p=11051299&postcount=13

If you do not want to patch/change the driver file yourself, I have included download links to the two patched driver files. This will allow you to skip steps 2.1 and 2.2 below.
    CUPS wrapper Brother HL-2270DW driver/patched Ubuntu 11.04 64-bit version 2.0.4-2
    Brother HL-2270DW printer driver/patched Ubuntu 11.04 64-bit version 2.1.0-1

2.1 Download the patch file (brdpkgdeldep.gz, ver.1.0.0-1, 323 byte)
http://www.brother.com/cgi-bin/agreement/agreement.cgi?dlfile=http://www.brother.com/pub/bsc/linux/dlf/brdpkgdeldep.gz&lang=English_lpr

2.2 The patch will make a new version of the driver and append the filename with the letter "a". Example " hl2270dwlpr-2.1.0-1a.i386.deb ".
2.2.1 I was using chrome web browser and the patch file was self extracted and saved the file as brdpkgdeldep.gz.txt
2.2.2 I renamed the file to brdpkgdeldep.sh
2.2.3 I made the file executable in nautilus
     Menu: File/Properties/Permissions/Execute "Allow executing the file as a program"
     Put a "check" in the box for "Allow executing the file as a program"
2.2.4 If downloaded file is saved as a .gz file
Extract the downloaded file:  Command: gunzip brdpkgdeldep.gz
2.2.5 Please move Linux LPD-driver package and Linux CUPS-driver to the directory that "brdpkgdeldep" file is stored in.
Go to the directory where the drivers are stored in
Run the commands:
Command: sudo bash brdpkgdeldep.sh hl2270dwlpr-2.1.0-1.i386.deb
    * This is Linux LPD-driver package
Command: sudo bash brdpkgdeldep.sh cupswrapperHL2270DW-2.0.4-2.i386.deb
     * This is the Linux CUPS-driver package
Check that the drivers have been modified; show the contents of the current directory
Command: ls
     output should show two new files
           hl2270dwlpr-2.1.0-1a.i386.deb
           cupswrapperHL2270DW-2.0.4-2a.i386.deb

2.3 Install the new Linux driver package file (LPR/CUPS) using the conventional method.
This follows "Step 4" from http://welcome.solutions.brother.com/bsc/public_s/id/linux/en/instruction_prn3.html
Make sure to use the new drivers that have the "a" added to the filename
Command: sudo dpkg -i --force-all hl2270dwlpr-2.1.0-1a.i386.deb
Command: sudo dpkg -i --force-all cupswrapperHL2270DW-2.0.4-2a.i386.deb
This installed usb printing, you must change the configuration to enable wifi printing

2.4 Wireless Printing Configuration for wifi (2 methods of configuration: Brothers or CUPS)
2.4.1 Follow Brother's instructions
     "Step 5. Confirm/Configure a file according to your connection"
     http://welcome.solutions.brother.com/bsc/public_s/id/linux/en/instruction_prn3.html
2.4.2 Configure printer using CUPS printing system
Open web browser and goto http://localhost:631
login with your Ubuntu user name and password
Select "Administration" tab up top
Under "Printers" select "Manage Printers"
you will now be at http://localhost:631/printers/?
Select the printer "HL2270DW"
you will now be at http://localhost:631/printers/HL2270DW
My setting is "Connection: usb:/dev/usb/lp0"
This is the setting for USB printing
Select "Administration/Modify Printer"
The new page will be titled "Modify HL2270DW"
Find the section "Discovered Network Printers:" and select the entry "Brother HL-2270DW series (Brother HL-2270DW series)"
There are four entries for "Brother HL-2270DW series (Brother HL-2270DW series)" and they do not have the same configurations.
I randomly selected one entry, if it was wrong I hit the back button on my browser and tried another entry until I got the correct "Connection" configuration which is listed in then next section
Select "Continue" at the bottom of the page
You will get a new page for editing the printers configuration, my configuration follows
     Description: HL2270DW-wifi
added "-wifi" since you can also have USB printing and this requires adding a new printer configuration
     Location: Study
     Connection: dnssd://Brother%20HL-2270DW%20series._pdl-datastream._tcp.local/
This is for wifi printing, very important to have this correct!!!
Thanks to GSBoomer for this arcane information from this post http://ubuntuforums.org/showpost.php?p=11196906&postcount=15
You can also check the box "Share This Printer" to allow others on your network to use this printer through your computer connection
The other computers must be running CUPS (Mac, Linux, and Windows) http://www.cups.org/software.php.  Thank you CUPS and Apple, open source goodness!!!!
I think this keeps other users from having to install the Brother printer drivers (not an easy task)
Select "Continue"
You get a new page titled "Modify HL2270DW"
Under "Model" select "Current Driver - Brother HL2270DW for CUPS"
Select "Modify Printer"
You get a new page titled "HL2270DW (Idle, Accepting Jobs, Shared)"
Print a Test Page
Select "Maintenance/Print a Test Page"
Congratulations

9 comments:

  1. Chad--thanks for these instructions, and for making the post on the Ubuntu forums. It worked exactly like you described, and you saved me (and others) a lot of trouble.

    Cheers,
    Matt

    ReplyDelete
  2. Thanks a lot from Mexico City by another Ubuntuer. Worked like a charm.

    ReplyDelete
  3. Thank you for the info. It sounds pretty user friendly. I guess I’ll pick one up for fun. thank u Network Printer Setup

    ReplyDelete
  4. Excellent work my friend... it worked like a charm!
    Thank you very much

    ReplyDelete
  5. Thanks! This totally worked, though after it was all done, the configuration says not shared even though I had the "share this printer" box checked. Any ideas why that might be? I suspect there's another setting somewhere else that might be keeping me from sharing the printer.

    ReplyDelete
  6. Never mind. On the main cups admin page (local host:631/admin) I just checked the box for share printers connected this this system and it changed the printer setting.

    ReplyDelete
  7. Thanks to this information, I have no reason to ever boot into Windows again. Awesome.

    ReplyDelete
  8. i am trying to set up the network printer but i'm getting a little confused with how to find the printer ip address. i am looking for that info on my old macbook. any suggestions.

    ReplyDelete
    Replies
    1. You can login to your router and it will show you all the devices and their IP addresses that are connected to the router.

      Delete