hal58
Posts: 1
Joined: Fri Jul 24, 2015 10:18 am

Brother HL-L2300D Printer on Pi

Fri Jul 24, 2015 11:11 am

Newegg just had a special on these Laser printers for $49.99 and I picked one up to use as a network printer from a Raspberry Pi2. Unfortunately, Brother only fully supports MS-Windows and Mac and a token i386 driver for Linux. They claim that their binary portion of this driver is proprietary and apparently won release the source, so I went digging and thanks to Peter De Wachter found success. With a little tweaking to his instructions, his sources are compilable on the Pi2 and seem to work well.

First, download his ZIP file at https://github.com/pdewacht/brlaser and unzip it. It creates a directory called brlaser-master. in your current directory. ´cd´ into it. Next you will need to install the tools to compile source code and some other files to use as input. Get these with:

sudo apt-get install cups build-essential libcups2-dev libcupsimage2-dev automake-1.11

The last file in this list was missing from the original instructions and removed some errors.

Next, begin the configuration and compilation process. After each step, you _should_ receive no errors but if you do, try to correct them before moving on.

./autogen.sh
./configure
make
sudo make install

If there were no errors when you get here, then the driver is installed and you are ready to configure the printer driver. By default, version 3 of this driver (which is the one currently available) supports three Brother printers:
* Brother DCP-7030
* Brother DCP-7055
* Brother DCP-7065DN

First reset the CUPS driver so that these new choices are available

sudo service cups restart

Then open a browser (Epiphany is the new default) and navigate to:
http://localhost:631
select the ´Administration´ tab and ´Add Printer´. You will be prompted for your username and password. Step through the options selecting one of the available drivers with ´brlaser´ in it. Just to make sure that it is working, select the ´Maintenance´ tab and print a test sheet. If it comes out Ok, then you are good to print.

Enjoy and thanks to Peter for doing the hard work.

PhotonX
Posts: 43
Joined: Sun Nov 29, 2015 4:13 pm

Re: Brother HL-L2300D Printer on Pi

Thu Dec 03, 2015 7:52 pm

Hi, are you still able to use your HL-L2300D on the Raspi? I've followed your HowTo (big thanks for it!) but ran into some strange problems: viewtopic.php?t=127401

Ridgeland
Posts: 1
Joined: Tue Jan 22, 2013 7:26 pm

Re: Brother HL-L2300D Printer on Pi

Tue Feb 02, 2016 10:42 pm

Thank you!
I now have a Raspberry Pi with SSH and VNC working as a WiFi local print server. My printer is a DCP7065DN. Brother's download did not work, neither did the listed ones from jessie. I have tightvncserver in /etc/rc.local on the Raspberry Pi so any time it's on I can access it from my PC using vncviewer. I'm using Xubuntu 14.04.3 at my PC.
The automake-1.11 crashed - use just "automake" as now it's at 1.14 I think.


User avatar
jhansx
Posts: 38
Joined: Tue Apr 04, 2017 4:38 pm
Location: Green River, Wyoming

Re: Brother HL-L2300D Printer on Pi

Wed Jun 13, 2018 4:14 am

I think the text is wrong on the automake-1.11.

Code: Select all

pi@raspberrypi:~ $ sudo apt-get install cups build-essential libcups2-dev libcupsimage2-dev automake-1.11
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package automake-1.11
E: Couldn't find any package by glob 'automake-1.11'
E: Couldn't find any package by regex 'automake-1.11'
BUT ;) when I use ths

Code: Select all

sudo apt-get automake1.11
I get a normal install...

Code: Select all

Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
  lxkeymap python-gobject python-xklavier
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
  autoconf autotools-dev libsigsegv2 m4
Suggested packages:
  autoconf-archive gnu-standards autoconf-doc libtool gettext m4-doc
The following NEW packages will be installed:
  autoconf automake1.11 autotools-dev libsigsegv2 m4
0 upgraded, 5 newly installed, 0 to remove and 34 not upgraded.
Need to get 1,160 kB of archives.
After this operation, 4,026 kB of additional disk space will be used.
Do you want to continue? [Y/n] 
I haven't completed the install yet but it looks promising./
FINALLY A PRINTER ON RPI... maybe.

fruitoftheloom
Posts: 16599
Joined: Tue Mar 25, 2014 12:40 pm

Re: Brother HL-L2300D Printer on Pi

Wed Jun 13, 2018 6:45 am

jhansx wrote:
Wed Jun 13, 2018 4:14 am
I think the text is wrong on the automake-1.11.

Code: Select all

pi@raspberrypi:~ $ sudo apt-get install cups build-essential libcups2-dev libcupsimage2-dev automake-1.11
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package automake-1.11
E: Couldn't find any package by glob 'automake-1.11'
E: Couldn't find any package by regex 'automake-1.11'
BUT ;) when I use ths

Code: Select all

sudo apt-get automake1.11
I get a normal install...

Code: Select all

Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
  lxkeymap python-gobject python-xklavier
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
  autoconf autotools-dev libsigsegv2 m4
Suggested packages:
  autoconf-archive gnu-standards autoconf-doc libtool gettext m4-doc
The following NEW packages will be installed:
  autoconf automake1.11 autotools-dev libsigsegv2 m4
0 upgraded, 5 newly installed, 0 to remove and 34 not upgraded.
Need to get 1,160 kB of archives.
After this operation, 4,026 kB of additional disk space will be used.
Do you want to continue? [Y/n] 
I haven't completed the install yet but it looks promising./
FINALLY A PRINTER ON RPI... maybe.

Unfortunately Brother support for Linux ARMHF is abysmal....
Adieu

Return to “General discussion”

Who is online

Users browsing this forum: davidcoton, jamesh, Majestic-12 [Bot] and 73 guests