Brother HL 2270DW on Slackware – updated

Update: Instead of installing the packages mentioned below, you could use a .ppd file. This makes the installation quicker and removes the need to setup a mulitilib system. Although the file refers to model 2170, it works fine with 2270DW.

I have recently purchased Brother HL-2270DW monochrome laser printer. It works fine both through USB and wirelessly. It can also supports duplex printing (printing on both sides of a page).
Although the Linux drivers are available for download, they only ship as .deb or .rpm packages. That’s not a big problem as I used the deb2tgz tool to convert it to a more Slackware-friendly wrapper. Despite the fact that Slackware ships with the rpm2t?z tool, I had more luck with deb2tgz. Please note that one of the requirements for the driver to work on Slackware64 is multilib support.

1. First you need to start CUPS on your system:

# chmod +x /etc/rc.d/rc.cups
# /etc/rc.d/rc.cups start

Connect the printer via a USB cable.

2. Download the drivers from the following place (both .deb packages).
3. Convert them to .tgz

deb2tgz hl2270dwlpr-2.1.0-1.i386.deb
deb2tgz cupswrapperHL2270DW-2.0.4-2.i386.deb

4. Install the packages:

# installpkg hl2270dwlpr-2.1.0-1.i386.tgz
# installpkg cupswrapperHL2270DW-2.0.4-2.i386.tgz

5. Check if the printer has been recognised by accessing http://localhost:631/printers and you can print the test page to see if it works.
6. If you want to access it wirelessly, you need to visit http://localhost:631 and then follow the steps below:
Adding Printers and Classes
Add Printer (You’ll be asked for root’s password)
Other Network Printers: LPD/LPR Host or Printer
Connection: lpd://your_printers_IP_address/binary_p1 (You could find out the printer’s IP address with nmap)
Add the name and description you your choice
Choose Make: Brother
Choose Model: HL2270DW for Cups

You should be ready to go. There’s only one slight problem. For some reason, the drivers don’t work properly with some applications. Certain applications spit out countless pages of some code. I’ve tested it on two computers and these are my findings:
Applications/tools that print flawlessly:
Emacs / Firefox / Thunderbird / Okular / Epdfview / lpr / SoftMaker Office
Applications that print some “gibberish”:
Evince / Libre Office

Libre Office is not an issue for me as I have been using SoftMaker Office anyway, but PDF document printing is somewhat problematic as I’m not a big fan of KDE and its applications (Okular) and I can’t seem to find a duplex option in Epdfview.

8 thoughts on “Brother HL 2270DW on Slackware – updated

  1. Pingback: Brother printer HL-2270DW driver - Brother solutions offer four - which one?

  2. Hi, thanks for your explanations!
    But one question, this scenario that you describe is with a wifi router included?
    I am trying to install another brother printer to use it wirelessly, but I don’t want to use a router. I am trying the adhoc network but no sucess! I could install the drivers and was detected when in usb, but then, nothing
    Thanks

  3. Hi Carlos. The scenario described above does not involve a router. What is the model of your printer? At which stage described above do you get stuck?

    Cheers
    Marcin

    • Connection: lpd://your_printers_IP_address/binary_p1

      When I created the adhoc, the printer prints the page saying it is connected, but the ip is something like 169…..
      When I put that number there lpd://169…..
      nothing happens
      It says printer not connected

      This evening I found an old router and, just out of curiosity, I tried the installation with the router >>> NO PROBLEMS AT ALL!). But I really don’t like having so many devices on, just for the printer to work.

      Thanks for your prompt reply

      • I forgot: DCP J315W
        And another detail, maybe important: I am testing this inside a virtual machine with linux mint 14 32 bits
        As I said, with the wifi router everything worked, the printer got a normal IP 192.168.1.66 and I could print.

  4. It might be something to do with how your virtual networking modes. Is it a NAT or bridged networking mode in a virtual machine? I think you’ll be better off with a bridged one.

  5. Now in the virtual machine settings it says Network adapter – NAT
    I thought about downloading a live version of linux mint, burn it to a CD, and run it.
    But I don’t know if you can install drivers (brother’s drivers) running linux as a live version
    (as for now I don’t want to install it in the hard drive yet)
    Thank you

    • As I mentioned above, try the bridged mode. It might help. As far as I know, yes, you should be able to install drivers while running a live system. Obviously, everything will be lost once you’ve rebooted the computer but for testing purposes it will do.

      Good luck.

      regards
      Marcin

Leave a Reply

Your email address will not be published. Required fields are marked *

* Copy This Password *

* Type Or Paste Password Here *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>