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

Thread: How To: Install the Brother DCP-7040 Printer in Ubuntu 8.10

  1. #1
    Join Date
    Feb 2006
    Location
    Winkler, MB., CA
    Beans
    Hidden!
    Distro
    Ubuntu

    How To: Install the Brother DCP-7040 Printer in Ubuntu 8.10

    How To: Install the Brother DCP-7040 Printer in Ubuntu 8.10 32bit


    1). First you need to download the drivers that you need for the installation.
    The best place to get them is the manufacturers site.
    The Print Drivers
    DCP-7040 lpr driver 32bit
    DCP-7040 cupswrapper driver
    And the Scanning Drivers
    brscan3 32bit driver
    brscan-skey driver
    Pre-Install procedure for cups printer driver
    a.) Open a terminal by clicking on Applications/Accessories/Terminal and type in the following commands
    sudo aa-complain cupsd
    sudo mkdir /usr/share/cups/model
    2.)Install the LPR and Cupswrapper drivers
    a.) Open a Terminal again and CD(change directory) to where the drivers are stored on your computer.
    b.) Install the LPR driver:
    sudo dpkg -i --force-all --force-architecture (lpr-drivername)
    where the part in brackets is the name of the file you downloaded.
    c.) Install the Cupswrapper driver:
    sudo dpkg -i --force-all --force-architecture (cupswrapper-drivername)
    where the part in brackets is the name of the other driver you downloaded.

    3.) Check if the drivers installed correctly
    sudo dpkg -l | grep Brother
    4.)For a USB Printer: Check your printer on the cups web interface
    Open a web browser and go to "http://localhost:631/printers".

    Check if the Device URI of your printer is "usb://Brother/DCP-7040"

    If the device URI is different from the example above, please go to "Modify Printer" of your printer to select proper device and driver.

    If your printer is not listed on "http://localhost:631/printers", please go to "http://localhost:631/admin" and click "Add printer" and select proper device and driver.

    The correct PPD file will be in the folder /usr/share/cups/model.

    5.)(for Network Connection) Configure your printer on the cups web interface
    Open a web browser and go to "http://localhost:631/printers".
    Click "Modify Printer" and set following parameters.

    - LPD/LPR Host or Printer for Device
    - lpd://(Your printer's IP address)/binary_p1 for Device URI
    - Brother for Make/Manufacturer Selection
    - Your printer's name for Model/Driver Selection
    Note for Ubuntu8.10: Please set "AppSocket/HP JetDirect" for Device menu

    Now try a test printing

    6.)Enable the scanner features of the DCP-7040
    a.) open a terminal and enter the following:
    sudo apt-get install sane-utils
    b.) CD to where the drivers are stored on your computer.
    sudo dpkg -i --force-all (scanner-drivername)
    where the part in brackets is the file name of the scanner driver 32 bit file.
    sudo dpkg -i --force-all (scan-key-toolname)
    where the part in brackets is the scan key tool driver file.
    c.) Check if these installed correctly
    sudo dpkg -l | grep Brother
    d.) Change some values in a config file
    sudo gedit /etc/udev/rules.d/40-basic-permissions.rules
    Edit "0664" to "0666" in "USB devices" section.

    Before the edit---------------------------------

    # USB devices (usbfs replacement)
    SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", MODE="0664"
    SUBSYSTEM=="usb_device", MODE="0664"

    After the edit----------------------------------

    # USB devices (usbfs replacement)
    SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", MODE="0666"
    SUBSYSTEM=="usb_device", MODE="0666"

    7.) Restart the OS.

  2. #2
    Join Date
    Mar 2007
    Beans
    Hidden!

    Re: How To: Install the Brother DCP-7040 Printer in Ubuntu 8.10

    AWESOME! I had all but given up with printing.

    I am using Kubuntu Karmic and impatiently followed the steps to step 4 (checking local host to see if there was a printer). Didn't bother reading the rest of the directions past that. After checking to see if there was a printer, I was able to print no problem! THANKS!!!!

  3. #3
    Join Date
    Jan 2008
    Location
    Portugal
    Beans
    17

    Arrow Location of udev rules files in Ubuntu 10.04

    Floppyjoe, thanks for the precious walkthrough!

    sudo gedit /etc/udev/rules.d/40-basic-permissions.rules
    On Ubuntu Lucid (10.04), the file above no longer exists. However, a similar file with the two affected entries is instead /lib/udev/rules.d/50-udev-default.rules
    As always, think twice before you edit and make backups of the affected files.

    HTH.

  4. #4
    Join Date
    Feb 2007
    Beans
    24

    Re: How To: Install the Brother DCP-7040 Printer in Ubuntu 8.10

    To modify the files for scanning in Ubuntu 10.4, Brother states

    1. Open "/lib/udev/rules.d/40-libsane.rules" file.
    2. Add the following two lines to the end of the device list. (Before the line "# The following rule will disable ..."):


      The lines to be added---------------------------
      Code:
      # Brother scanners
      ATTRS{idVendor}=="04f9", ENV{libsane_matched}="yes"
    3. Restart the OS.
    Resource:
    http://welcome.solutions.brother.com...n1c.html#u9.10

  5. #5
    Join Date
    Oct 2010
    Beans
    23

    Re: How To: Install the Brother DCP-7040 Printer in Ubuntu 8.10

    hello there i did almost everything except

    when i run that command
    "sudo gedit /etc/udev/rules.d/40-basic-permissions.rules"

    that file opens but its blank i was unable to find parameters that has to be replaced

    please reply your feedback is greatly appreciated

  6. #6
    Join Date
    Oct 2010
    Beans
    23

    Re: How To: Install the Brother DCP-7040 Printer in Ubuntu 8.10

    Quote Originally Posted by Floppyjoe View Post
    How To: Install the Brother DCP-7040 Printer in Ubuntu 8.10 32bit


    1). First you need to download the drivers that you need for the installation.
    The best place to get them is the manufacturers site.
    The Print Drivers
    DCP-7040 lpr driver 32bit
    DCP-7040 cupswrapper driver
    And the Scanning Drivers
    brscan3 32bit driver
    brscan-skey driver
    Pre-Install procedure for cups printer driver
    a.) Open a terminal by clicking on Applications/Accessories/Terminal and type in the following commands



    2.)Install the LPR and Cupswrapper drivers
    a.) Open a Terminal again and CD(change directory) to where the drivers are stored on your computer.
    b.) Install the LPR driver:

    where the part in brackets is the name of the file you downloaded.
    c.) Install the Cupswrapper driver:

    where the part in brackets is the name of the other driver you downloaded.

    3.) Check if the drivers installed correctly


    4.)For a USB Printer: Check your printer on the cups web interface
    Open a web browser and go to "http://localhost:631/printers".

    Check if the Device URI of your printer is "usb://Brother/DCP-7040"

    If the device URI is different from the example above, please go to "Modify Printer" of your printer to select proper device and driver.

    If your printer is not listed on "http://localhost:631/printers", please go to "http://localhost:631/admin" and click "Add printer" and select proper device and driver.

    The correct PPD file will be in the folder /usr/share/cups/model.

    5.)(for Network Connection) Configure your printer on the cups web interface
    Open a web browser and go to "http://localhost:631/printers".
    Click "Modify Printer" and set following parameters.

    - LPD/LPR Host or Printer for Device
    - lpd://(Your printer's IP address)/binary_p1 for Device URI
    - Brother for Make/Manufacturer Selection
    - Your printer's name for Model/Driver Selection
    Note for Ubuntu8.10: Please set "AppSocket/HP JetDirect" for Device menu

    Now try a test printing

    6.)Enable the scanner features of the DCP-7040
    a.) open a terminal and enter the following:

    b.) CD to where the drivers are stored on your computer.

    where the part in brackets is the file name of the scanner driver 32 bit file.

    where the part in brackets is the scan key tool driver file.
    c.) Check if these installed correctly

    d.) Change some values in a config file

    Edit "0664" to "0666" in "USB devices" section.

    Before the edit---------------------------------

    # USB devices (usbfs replacement)
    SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", MODE="0664"
    SUBSYSTEM=="usb_device", MODE="0664"

    After the edit----------------------------------

    # USB devices (usbfs replacement)
    SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", MODE="0666"
    SUBSYSTEM=="usb_device", MODE="0666"

    7.) Restart the OS.
    hello there i did almost everything except

    when i run that command
    "sudo gedit /etc/udev/rules.d/40-basic-permissions.rules"

    that file opens but its blank i was unable to find parameters that has to be replaced

    please reply your feedback is greatly appreciated

  7. #7
    Join Date
    Mar 2007
    Beans
    118
    Distro
    Kubuntu 7.10 Gutsy Gibbon

    Re: How To: Install the Brother DCP-7040 Printer in Ubuntu 8.10

    @bedihardeep:

    The obvious is to create the file.

    sudo gedit /etc/udev/rules.d/40-basic-permissions.rules &

    Code:
    # USB devices (usbfs replacement)
    SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", MODE="0666"
    SUBSYSTEM=="usb_device", MODE="0666"
    copy and paste into the file and save.

    However the share printer and scanner still didnt work for me

  8. #8
    Join Date
    Jan 2007
    Location
    Western Iowa
    Beans
    106
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: How To: Install the Brother DCP-7040 Printer in Ubuntu 8.10

    Quote Originally Posted by gimfred View Post
    @bedihardeep:

    The obvious is to create the file.

    sudo gedit /etc/udev/rules.d/40-basic-permissions.rules &

    Code:
    # USB devices (usbfs replacement)
    SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", MODE="0666"
    SUBSYSTEM=="usb_device", MODE="0666"
    copy and paste into the file and save.

    However the share printer and scanner still didnt work for me
    This procedure worked for me on a DCP-7040 on 10.10 64-bit MM and I had to add this to the 40-basic-permissions.rules

  9. #9
    Join Date
    Jan 2011
    Beans
    3

    Re: How To: Install the Brother DCP-7040 Printer in Ubuntu 8.10

    Hi,

    I followed the instructions above and successfully installed both the scanner and printer from the 7040. Yesterday I tried to print a couple of pages and couldn't figure out how to tell my printer that it should print two-sided/duplex.

    Any Ideas how to go about that? Am I right in assuming that this function is not included in this driver?

    Thanks for answering!

    =)

    Salome

  10. #10
    Join Date
    Apr 2010
    Location
    Cape Breton, Nova Scotia
    Beans
    129
    Distro
    Ubuntu 22.04 Jammy Jellyfish

    Re: How To: Install the Brother DCP-7040 Printer in Ubuntu 8.10

    I'm running

    Linux geoff-laptop 2.6.32-30-generic #59-Ubuntu SMP Tue Mar 1 21:30:46 UTC 2011 x86_64 GNU/Linux

    on a Lenovo laptop. The procedure above (using the drivers from the Brother website) didn't work. I got the problem that when I submitted a job the printer display would show "Receiving Data" but nothing else would happen. CUPS would report a successful print even though no printing took place.

    I then installed the Brother printer drivers from the Ubuntu repos using Synaptic (this operation failed until I removed the drivers from Brother - for those of you with relatively little linux experience this is probably most easily done using dpkg -r). I think the crucial package was

    brother-lpr-drivers-laser

    Once I had done this and reinstalled the printer using the Brother DCP-7020 Foomatic/hl1250 driver that I now had available the printer worked immediately.

    My general experience is that device drivers made for linux provided by commercial vendors are very hit and miss. But any drivers from the repos are likely to work with no problem. In this case a contributing factor was probably that I'm running 64-bit and the Brother supplied driver is definitely for 32-bit which is why you need to use the --force flag in dpkg -i when you install the Brother driver. From comments above it looks like the Brother driver worked for some other people running 64-bit Ubuntu. Maybe the difference in my case was a laptop hardware issue?? Or maybe it is to do with subtle differences between Ubuntu 8 and Ubuntu 10??

    So far I've only got the printer running. I'll post back once I've tried to get the scanner working.
    Last edited by gleedadswell; April 30th, 2011 at 03:39 AM.

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
  •