Page 1 of 2 12 LastLast
Results 1 to 10 of 18

Thread: Printer Installation Brother HL-2240D

  1. #1
    Join Date
    Nov 2010
    Beans
    1

    Question Printer Installation Brother HL-2240D

    Does anyone know how to install the printer Brother HL-2240D? In Ubuntu 10.04 it does not come up under the list of printers and searching for the printer did not get any result either. I went through Brother's website instructions, but without success Brother;

  2. #2
    Join Date
    Apr 2007
    Beans
    12

    Post Re: Printer Installation Brother HL-2240D

    The 2240 and 2240D are amazing printers that are stupid cheap! A great purchase!

    This guide is for Ubuntu 8.04 and later 32bit/ GNOME environment, covering the HL-2240. HL-2240D is a little different in the printer config dialog after install.

    all other models are linked from

    Brother Drivers for Linux® distributions http://welcome.solutions.brother.com/bsc/public_s/id/linux/en/index.html

    HL-2240

    and

    http://welcome.solutions.brother.com...ion_prn1a.html


    1) Set up hardware and connect to power as outlined in the quick start guide... you can leave all CDs and other items in the bag. I found the bag a great place to attach the silica gel dessicant (DO NOT EAT lol!) and the pieces of packing tape.. you'll need em if you move to pack the printer for transport.


    2) Get the prerequisites out of the way..

    From http://welcome.solutions.brother.com...efore.html#002
    # Pre-required Procedure (2)
    Related distributions
    Ubuntu8.04/8.04.1, Ubuntu8.10, Ubuntu9.04
    Related products/drivers
    cupswrapper printer/PC-FAX drivers
    Requirement
    1. "
    Code:
    sudo aa-complain cupsd
    " command is required before the installation.
    2. "
    Code:
    sudo mkdir /usr/share/cups/model
    " command (as it is) is required before the installation.

    # Pre-required Procedure (3)
    Related distributions
    Debian, Ubuntu, openSUSE, Redhat
    Related products/drivers
    Printer drivers for [a bunch of models]
    Requirement
    Creating a symbolic link is required before the installation (superuser authorization is required to run the command)

    For Debian based distributions earlier than Ubuntu8.10, Debian5:
    "sudo ln -s /etc/init.d/cupsys /etc/init.d/lpd"

    For Redhat based distributions and Debian base distributions greater than Ubuntu8.10, Debian5:
    "sudo ln -s /etc/init.d/cups /etc/init.d/lpd"
    Step 3 above may be unnecessary but I did it anyway.

    3) Prerequisites continued...

    from http://welcome.solutions.brother.com...efore.html#005

    Requirement
    csh or tcsh is required to be installed.
    Perform "
    Code:
    sudo apt-get install tcsh csh
    "
    4) Plug in USB cable. printer detection should occur and whine that it cant find a driver..

    5) Go to your model's link: 2240 or 2240D

    Install the |LPR driver| and the |cupswrapper driver| in the pertinent section..

    NOTE: If you get

    Code:
    lpadmin: The printer or class was not found.
    Verify that your printer shows up in
    Code:
    lsusb
    Code:
    Bus 001 Device 021: ID 04f9:0045 Brother Industries, Ltd


    ID will likely be different

    6) Go to System --> Administration --> Printing

    Verify that a printer has been added referencing the model you have.

    verify that the driver is correct.

    print a test page.

    It should now work.
    Last edited by mrinvader; November 29th, 2010 at 12:32 PM. Reason: change subscription settings for _me_ to receive notifications.. oops!

  3. #3
    Join Date
    Jan 2007
    Beans
    10

    Re: Printer Installation Brother HL-2240D

    I just followed the steps above to install the drivers for my new Brother HL-2240D, I'm running into an issue. When installing the cupswrapper driver, I get the following message that you mentioned above:

    lpadmin: The printer or class was not found.

    This happens even though the Brother printer does show up when I run lsusb (and there's no other Brother printer in the house ). Apparently, the installation if the driver is not complete: the package installer does not list the package as being already installed afterwards.

    If I go into System > Administration > Printing, no printer is installed. If I click Add, however, the printer shows up, but there's no driver for that model.

    Any suggestions?

    Thanks,

  4. #4
    Join Date
    Oct 2006
    Location
    Tucson, Arizona
    Beans
    1,508

    Re: Printer Installation Brother HL-2240D

    I have Ubuntu 10.10 64 bit and I've successfully used this printer with the following drivers:

    • Generic > PCL 5e Printer > Generic PCL 5e Printer Foomatic/hpijs-pcl5e [en]
    • Generic > PCL 6/PCL XL Printer > Generic PCL 6/PCL XL Printer Foomatic/hpijs-pcl5e [en]
    • dpkg --install --force-architecture for both the lpr and then the cupswrapper debs from here: http://welcome.solutions.brother.com....html#HL-2240D (printer shows up magically in printer control panel after, no need to add.)


    In general I have no idea if PCL 5 vs PCL 6 makes a difference when the both use hpijs-pcl5e as both seem to result in the same output.

    So far as pcl5e vs the brother driver, the quality on both is livable, and darn near identical for black text, but gradients are a bit streakier with the pcl driver than the brother driver.

    I didn't seem to need to do the symlinking/mkdir stuff in the provided instructions here.
    The brother driver will co-exist with a PCL driver as separate printers on the same system, so it's easy to try both.
    Last edited by sloggerkhan; March 18th, 2011 at 05:02 AM.

  5. #5
    Join Date
    May 2010
    Beans
    1

    Re: Printer Installation Brother HL-2240D

    Hello everybody,

    I managed to get the printer work (Debian unstable amd64 system - not *buntu) following the instructions on Brother's website.

    1. purged cups (apt-get remove --purge cups)
    2. installed cups (apt-get install cups)
    3. checked if ia32-libs and lib32stdc++ were up to date (apt-get install ia32-libs lib32stdc++6)
    4. installed lpr driver (forced install) (dpkg -i --force-all hl2240dlpr-2.1.1-1.i386.deb)
    (Download at: http://welcome.solutions.brother.com...nload_prn.html)
    5. installed cups driver (forced install) (dpkg -i --force-all cupswrapperHL2240D-2.0.4-2.i386.deb)
    6. checked installation (dpkg -l | grep Brother)
    # ii cupswrapperhl2240d 2.0.4-2 Brother HL2240D CUPS wrapper driver
    # ii hl2240dlpr 2.1.1-1 Brother HL-2240D LPR driver
    7. checked cups web interface (http://localhost:631/printers)
    # printer was properly installed

    Installation only worked after removing (purged) cups.

    Best regards,

    puetti
    Last edited by puetti004; June 26th, 2011 at 04:04 PM.

  6. #6
    Join Date
    May 2011
    Beans
    1

    Re: Printer Installation Brother HL-2240D

    Hello everybody,

    i tried to install the drivers for HL2240D on Kubuntu 10.10, but the step
    dpkg -i --force-all cupswrapperHL2240D-2.0.4-2.i386.deb
    fails, with the message that libc6 (>= 2.3.4-1 ) is required and the package will remain unconfigured. Libc6 is installed in version 2.13-0ubuntu13 (also libc6-dev, libc6-i386, libc6-i386-dev).
    I also tried dpkg with --triggers and --ignore-depends=libc6, but nothing works.

    Any ideas?

  7. #7
    Join Date
    Aug 2007
    Beans
    5

    Re: Printer Installation Brother HL-2240D

    Quote Originally Posted by posthuman View Post
    Hello everybody,

    i tried to install the drivers for HL2240D on Kubuntu 10.10, but the step
    dpkg -i --force-all cupswrapperHL2240D-2.0.4-2.i386.deb
    fails, with the message that libc6 (>= 2.3.4-1 ) is required and the package will remain unconfigured. Libc6 is installed in version 2.13-0ubuntu13 (also libc6-dev, libc6-i386, libc6-i386-dev).
    I also tried dpkg with --triggers and --ignore-depends=libc6, but nothing works.

    Any ideas?
    I had a similar problem trying to install on a 64 bit box. I believe the issue is a packaging one, but I didn't look closely enough to confirm. While the following will not melt your install, be aware you're being guided by the blind.

    In a directory with the .deb package but without a directory called temporary-bodge:

    Code:
    ar x cupswrapperHL2240D-2.0.4-2.i386.deb  control.tar.gz
    mkdir temporary-bodge
    cd temporary-bodge
    tar xzf ../control.tar.gz
    Now edit the file called "control" and remove the line that names the dependency. Then:

    Code:
    tar czf ../control.tar.gz .
    cd ..
    cp cupswrapperHL2240D-2.0.4-2.i386.deb cupswrapperHL2240D-hack-2.0.4-2.i386.deb
    ar r cupswrapperHL2240D-hack-2.0.4-2.i386.deb control.tar.gz
    sudo dpkg -i --force-depends-version,architecture cupswrapperHL2240D-hack-2.0.4-2.i386.deb
    rm -r temporary-bodge
    After this I found the printer installed as expected when I fired up a browser and pointed it to the link in Brother's instructions. I'm glad I did this as it adds a couple of options that are not provided, unsurprisingly, by the generic driver.

  8. #8
    Join Date
    Sep 2009
    Location
    Bangkok, Thailand
    Beans
    228
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Printer Installation Brother HL-2240D

    Awesome. Thanks so much for this mini-tutorial. It was helpful for me in deciding whether to buy the printer, and now that I've got it, made setting it-up easy.

  9. #9
    Join Date
    Apr 2011
    Beans
    3

    Re: Printer Installation Brother HL-2240D

    Trying to install my Hl-2240 (not the d) on a fresh linux install of Ubuntu 11.4 tried all this and it didnt work it did work on my other install of 11.4 on my laptop.. possibly since its an upgrade started at 9 i think... but it also has the house MFC-9320CW on it it still took me some playing around to get the new printer installed on it but it worked i've been messing with this one for over an hour now.. it says it installs i get no error messages and the print que says everything printed but nothing has apparently gotten through to the printer help please?

  10. #10
    Join Date
    Nov 2011
    Beans
    1

    Re: Printer Installation Brother HL-2240D

    Quote Originally Posted by sloggerkhan View Post
    I have Ubuntu 10.10 64 bit and I've successfully used this printer with the following drivers:

    • Generic > PCL 5e Printer > Generic PCL 5e Printer Foomatic/hpijs-pcl5e [en]
    • Generic > PCL 6/PCL XL Printer > Generic PCL 6/PCL XL Printer Foomatic/hpijs-pcl5e [en]
    • dpkg --install --force-architecture for both the lpr and then the cupswrapper debs from here: http://welcome.solutions.brother.com....html#HL-2240D (printer shows up magically in printer control panel after, no need to add.)


    In general I have no idea if PCL 5 vs PCL 6 makes a difference when the both use hpijs-pcl5e as both seem to result in the same output.

    So far as pcl5e vs the brother driver, the quality on both is livable, and darn near identical for black text, but gradients are a bit streakier with the pcl driver than the brother driver.

    I didn't seem to need to do the symlinking/mkdir stuff in the provided instructions here.
    The brother driver will co-exist with a PCL driver as separate printers on the same system, so it's easy to try both.
    That was really helpful!

    I first used the official 2240D drivers from brother but duplex/two-sided printing didn't work on my ubuntu 11.10. With the generic PCL5e driver you posted it did!

    Thanks a lot!

Page 1 of 2 12 LastLast

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •