Skip to content

Instantly share code, notes, and snippets.

@ragusa87
Last active September 21, 2021 11:56
Show Gist options
  • Save ragusa87/89806ffba57ef9f5a67a to your computer and use it in GitHub Desktop.
Save ragusa87/89806ffba57ef9f5a67a to your computer and use it in GitHub Desktop.
Install BROTHER MFC-J4510DW on Linux Ubuntu 14.10

NOTE

This memo helps you to install the Multifunction printer BROTHER MFC-J4510DW using a network connection. Local printing though USB is not the goal of this memo.

You can download drivers from the Brother support page for your printer

Installation

You have 2 methods, you can run a script or do it yourself. Prefer the second option as the script is outdated

Using the install script (Outdated)

  1. Download the install script (linux-brprinter-installer-2.0.0-1.gz) then run:

gzip -d linux-brprinter-installer-2.0.0-1.gz

chmod +x linux-brprinter-installer-2.0.0-1

sudo ./linux-brprinter-installer-2.0.0-1 *PRINTER_NAME*

Then follow instructions, your device name can be found using the same command as the scanner installation above.

Manual installation

This way is working, not like the f* script...

1. Install Linux packages

Install cups:

sudo apt-get install cups

the driver use a filter binary compiled using 32 bit. You should be able to run a 32 bit binary on 64 bits by running the following command

sudo apt-get install lib32z1 lib32ncurses5 lib32bz2-1.0

Note: use the ia32-libs package on older distributions

Install tcsh

sudo apt-get install tcsh

I read that it is a required package, but I am not sure it's accurate.

Download all the driver packages from Brother website (See 1st chapter). Save them to ~/Downloads/printer/

Printer:

  • mfcj4510dwcupswrapper-3.0.1-1.i386.deb
  • mfcj4510dwlpr-3.0.1-1.i386.deb

Scanner:

  • brother-udev-rule-type1-1.0.0-1.all.deb
  • brscan4-0.4.3-0.amd64.deb
  • brscan-skey-0.2.4-1.amd64.deb

2. Install driver

cd ~/Downloads/printer/

sudo dpkg --install -f *.deb

Note: Adapt the script to install only the downloaded files (*.deb)

Make sure your filter script is executable by running /usr/cups/filter/brother_lpdwrapper_mfcj4510dw

If you see an error and the file is there, it means that you can not run a 32 bit application on 64 bit. (You probably forgot to install lib32/ia32 ?). The driver wont work if you can't run the filter. Be sure it's runnable via chmod +x /usr/cups/filter/brother_lpdwrapper_mfcj4510dw.

Configure printer

Note: My installation is not in English, so my translations can be inaccurate.

  1. Go on System Settings
  2. Open printer
  3. Click on "add"
  4. Choose "network printer"
  5. Then choose "Search for a network printer"
  6. Wait a few seconds
  7. Select one of the detected printer (I used the DNS-SD one via IPP)
  8. Click on "Next"
  9. On the driver selection screen, choose "Use a custom PPD file"
  10. Browse to the PPD of you printer (/opt/brother/Printers/mfcj4510dw/cupswrapper/brother_mfcj4510dw_printer_en.ppd)
  11. Click next and choose appropriate names then validate
  12. Cancel the "print a test page" dialog
  13. Go to your printer settings (properties)
  14. Configure your printer settings (Media-Size, Two-Sided, etc)
  15. Apply & Test

STEP 9-10 : You should be able to select your installed driver via "Brother > MFC-J4510DW CUPS" then "Brother MFC-J45DW CUPS [en]"

Configure scanner

To scan through network, you have to install your scanner using terminal You should have your printer IP and your model name.

  • Your model name should be MFC-J4510DW. You can list all supported names by running brsaneconfig4 -q
  • Find your printer IP or nodename, you can check your printer properties or run avahi-browse --all -v -r

This service will print all available network service on your network, it's your job to determine your printer IP address. You can also view your printer properties if needed.

  • Try to ping your printer ping BRN30055C2F6A43.local
  • Install your printer by adapting the following command

brsaneconfig4 -a name=Brother model=MFC-J4510DW nodename=BRN30055C2F6A43

Note: If you prefer your printer ip, use this command instead: brsaneconfig4 -a name=Brother model=MFC-J4510DW ip=X.X.X.X

  • You should be able to scan through any app like Simple Scan
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment