Welcome!
Important information
-- Spectre and Meltdown vulnerabilities
-- Change in MX sources

News
-- MX Linux on social media: here
-- Mepis support still here

Current releases
-- MX-17.1 Final release info here
-- antiX-17 release info here

New users
-- Please read this first, and don't forget to add system and hardware information to posts!
-- Here are the Forum Rules

Brother IntelliFAX-2840 -- Solved!

Post Reply
Message
Author
User avatar
CaptainCanuck
Forum Novice
Forum  Novice
Posts: 6
Joined: Sat Sep 08, 2018 8:08 pm

Brother IntelliFAX-2840 -- Solved!

#1 Post by CaptainCanuck » Tue Sep 25, 2018 3:34 pm

Howdy all.

Been sweating and cursing over printer installation, which ain't working. I'm a new MX Linux user, and I do love it. This puzzles me, as I've not had trouble printing from this machine before (with Lubuntu... and I'm not making any comparisons here; I'm sure there's a reason for the difference, which I'm ignorant of).

First thing I tried was installing extra brother driver stuff with Synaptic. That didn't seem to cut it, so I downloaded the driver from a brother-ish site (dunno if it was official brother, or 3rd party...). That got me set up using CUPS; but nothing would print.

I scanned through the forums, and tested various options, using CUPS and system-config-printer (which I assume is just a GUI for CUPS, but thought it might highlight options I missed, milling about on the CUPS page in my browser. After many tries... nothing. The printer installs, I can get it shared, but test page (or the school project I'm trying to print for my kid) just don't print.

I ran system-config-printer's built-in diagnostic stuff. It ended with a message saying it apologized, as it could find nothing obvious. At least it's polite.

Then I discovered and tried running Fehlix's nifty script: https://forum.mxlinux.org/viewtopic.php ... r&start=20. It did its job, but when I deleted the printer and re-installed it, nothing. I can't tell though, if the first driver was used when I re-installed it, or the one downloaded by Fehlix's script. I have what might be considered very basic linux skills; but determining what happens after a script runs and finishes... that's a bit above my limited knowledge.

I take it from the forums that Brother is not the preferred printer for linux. Just hoping I don't need to invest in a whole new printer. That's not in the cards right now.

Appreciate any wisdom!

Sincerely,
Chris
aka Captain Canuck
Last edited by CaptainCanuck on Fri Sep 28, 2018 4:24 pm, edited 1 time in total.
Chris... aka Captain Canuck
Distro: MX-17.1_x64 Horizon
Machine: Acer Aspire A114-32; Intel Celeron N4000; 4G RAM; 64G SSD

User avatar
fehlix
Forum Guide
Forum Guide
Posts: 1734
Joined: Wed Apr 11, 2018 5:09 pm

Re: Brother IntelliFAX-2840

#2 Post by fehlix » Tue Sep 25, 2018 4:06 pm

CaptainCanuck wrote:
Tue Sep 25, 2018 3:34 pm
Then I discovered and tried running Fehlix's nifty script: https://forum.mxlinux.org/viewtopic.php ... r&start=20. It did its job, but when I deleted the printer and re-installed it, nothing. I can't tell though, if the first driver was used when I re-installed it, or the one downloaded by Fehlix's script. I have what might be considered very basic linux skills; but determining what happens after a script runs and finishes... that's a bit above my limited knowledge.
How did you call the script provided to install the brother?
Is this USB or ethernet/wifi used?
Perhaps, also a good idea to post your system info like this

Code: Select all

inxi -Fxz
between the code-tags [code] here [/code]
Gigabyte Z77M-D3H, Intel Xeon E3-1240 V2 (Quad core), 32GB RAM,
GeForce GTX 770, Samsung SSD 850 EVO 500GB, Seagate Barracuda 4TB

User avatar
fehlix
Forum Guide
Forum Guide
Posts: 1734
Joined: Wed Apr 11, 2018 5:09 pm

Re: Brother IntelliFAX-2840

#3 Post by fehlix » Tue Sep 25, 2018 4:54 pm

Please try my latest brother-installer wrapper,
as mentioned here
https://forum.mxlinux.org/viewtopic.php ... 59#p461859
Save the script, make it executable, and call it like this for your brother model:

Code: Select all

./brinstaller.sh FAX-2840
Gigabyte Z77M-D3H, Intel Xeon E3-1240 V2 (Quad core), 32GB RAM,
GeForce GTX 770, Samsung SSD 850 EVO 500GB, Seagate Barracuda 4TB

User avatar
CaptainCanuck
Forum Novice
Forum  Novice
Posts: 6
Joined: Sat Sep 08, 2018 8:08 pm

Re: Brother IntelliFAX-2840

#4 Post by CaptainCanuck » Tue Sep 25, 2018 7:55 pm

Muchos gracias Fehlix!

I'm home now, and the printer is at the office. And of course, I'll be at other locations for the next couple of days. So I won't get to test this out until Friday.

But I greatly appreciate the speedy reply, and I'm dying to give it a try. I notice that you have responded to pretty much any printer thread I've checked out. You truly offer a service to this community.

Respect.
Chris
Chris... aka Captain Canuck
Distro: MX-17.1_x64 Horizon
Machine: Acer Aspire A114-32; Intel Celeron N4000; 4G RAM; 64G SSD

User avatar
CaptainCanuck
Forum Novice
Forum  Novice
Posts: 6
Joined: Sat Sep 08, 2018 8:08 pm

Re: Brother IntelliFAX-2840

#5 Post by CaptainCanuck » Wed Sep 26, 2018 7:22 am

Oh, in my haste yesterday, I didn't notice your other post, Fehlix. Here's the results of inxi -Fxz

Code: Select all

System:    Host: mx-main Kernel: 4.15.0-1-amd64 x86_64 bits: 64 compiler: gcc v: 6.3.0 
           Desktop: Xfce 4.12.3 Distro: MX-17.1_x64 Horizon March 14  2018 
           base: Debian GNU/Linux 9 (stretch) 
Machine:   Type: Laptop System: Acer product: Aspire A114-32 v: V1.12 serial: <filter> 
           Mobo: GLK model: Bulbasaur_GL_S v: V1.12 serial: <filter> UEFI: Insyde v: 1.12 
           date: 05/08/2018 
Battery:   ID-1: BAT1 charge: 24.0 Wh condition: 37.0/37.0 Wh (100%) model: PANASONIC AP16M5J 
           status: Discharging 
CPU:       Topology: Dual Core model: Intel Celeron N4000 bits: 64 type: MCP arch: Goldmont Plus rev: 1 
           L2 cache: 4096 KiB 
           flags: lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 4377 
           Speed: 2161 MHz min/max: 800/2600 MHz Core speeds (MHz): 1: 1665 2: 1585 
Graphics:  Device-1: Intel driver: i915 v: kernel bus ID: 00:02.0 
           Display: x11 server: X.Org 1.19.2 driver: modesetting unloaded: fbdev,vesa 
           resolution: 1366x768~60Hz 
           OpenGL: renderer: Mesa DRI Intel HD Graphics (Geminilake 2x6) v: 4.5 Mesa 13.0.6 
           direct render: Yes 
Audio:     Device-1: Intel driver: snd_hda_intel v: kernel bus ID: 00:0e.0 
           Sound Server: ALSA v: k4.15.0-1-amd64 
Network:   Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet driver: r8169 v: 2.3LK-NAPI 
           port: 1000 bus ID: 02:00.1 
           IF: eth0 state: down mac: <filter> 
           Device-2: Qualcomm Atheros QCA9377 802.11ac Wireless Network Adapter driver: ath10k_pci 
           v: kernel bus ID: 03:00.0 
           IF: wlan0 state: up mac: <filter> 
Also, you asked how I called the script. Hmmm. As I recall, I cut and pasted it into Featherpad, saved the file, made it executable, and then clicked on it in my file manager. That brought up a window asking if I wanted to execute it, or execute it in terminal. I chose the latter. Up popped a terminal, which asked me for the model of printer. I typed in "IntelliFAX-2840" and hit enter. It did some stuff. I believe it closed on its own, then.

There as also a tarball in your post, so just to be thorough, I downloaded it and ran it. Kinda think it was the same thing, and wasn't actually necessary...

USB connection on the printer.

Thanks again Fehlix!

---
MOD Note: Do post long text output e.g. from inxi between the code-tags [code] here [/code]. :frown: , fehlix
Chris... aka Captain Canuck
Distro: MX-17.1_x64 Horizon
Machine: Acer Aspire A114-32; Intel Celeron N4000; 4G RAM; 64G SSD

User avatar
fehlix
Forum Guide
Forum Guide
Posts: 1734
Joined: Wed Apr 11, 2018 5:09 pm

Re: Brother IntelliFAX-2840

#6 Post by fehlix » Wed Sep 26, 2018 5:30 pm

CaptainCanuck wrote:
Wed Sep 26, 2018 7:22 am
..Here's the results of inxi -Fxz
...
I typed in "IntelliFAX-2840" and hit enter.
Thanks, for the inxi output, please post long text between the [code] tags [/code] for better readability.
The Brother model name "IntelliFAX-2840" you have used to install the printer driver is not valid.
Please enter "FAX-2840" as the model name for your printer.
I've just updated the installer script a bit and posted within another thread "A great Linux, the second one I feel comfortable with!" of @davemx,
as it might now fix some issues potentially for USB due to some missing libs recognized by @davemx.
I do post it here for you anyway.
Save the script as brinstaller.sh best within a new created empty folder.
You can run it from Thunar-filemanager, which I admit I never do this in such a way.
I do always open a terminal within the same folder by right-clicking within that folder "Open terminal here"

To make it executable within the terminal:

Code: Select all

chmod +x brinstaller.sh
to run within terminal

Code: Select all

./brinstaller.sh FAX-2840
Note the dot-slash "./" in front of the script name.

Code: Select all

#!/bin/bash
# set -x
# brinstaller.sh
# by fehlix,  2016 -2018
# helper script to fetch'n'install latest Brother printer driver
# 
# New Brother-Installer-Version: 27.12.2017 Version 2.2.0-1
# changes: 
# 24.09.2018 - updated to
#    new Brother-Installer-Version: 13.09.2018 Version 2.2.1-1
# 25.09.2018 - added missing 32bit-libs, thanks to davemx
#              lib32z1 lib32ncurses5
BRDATE="13-09-2018"
BRVERS="2.2.1-1"
# http://download.brother.com/welcome/dlf006893/linux-brprinter-installer-2.2.1-1.gz
# SHA256SUM
# 4bca9b72ea14b8ffe4a5276e0b881d64f1cb5b7b29bcf06869d2cad90bd95bff  linux-brprinter-installer-2.2.1-1.gz

function usage() {
cat<<USAGE

	Usage: $0 [Brother-Printer-Model]

	This helper script will fetch and install latest 
	Brother printer-installer version $BRVERS dated $BRDATE
	Pass Brother-Model parameter or type at prompt
	like HL-L6400DW, MFC-L9570CDW, DCP-135C

USAGE
}
ME="${0##*/}"
BROTHER="$1"
[ -z "$BROTHER" ] && read -p 'Please enter Brother Model : ' BROTHER
[ -z "$BROTHER" ] && usage && exit 1;
read -p "Ready to fetch and install Brother Model '$BROTHER' (Y/n) :" OK
[ -z "$OK" -o "$OK" = "Y" -o "$OK" = "y" ] || { echo "Abborting $0";  exit 1; }

# set -x
chksum=sha256sum
CHKSUM="4bca9b72ea14b8ffe4a5276e0b881d64f1cb5b7b29bcf06869d2cad90bd95bff"

# Please enter Brother Modell Type (e.g. HL-1030, MFC-L9570CDW, HL-L6400DW)
# HL-L6400DW

BRINS="linux-brprinter-installer-${BRVERS}"
BRIGZ=$BRINS.gz
BRURL="http://download.brother.com/welcome/dlf006893/$BRIGZ"
CHK=$BRIGZ.sha256

[ -f "$BRINS" -o -f $BRIGZ    ] || { echo wget $BRURL;  wget $BRURL; }
[ -f $BRIGZ  -a -f $CHK ] && rm -f $CHK
echo "$CHKSUM  $BRIGZ" > $CHK
$chksum -c $CHK || { echo "CHKSUM Error: abborting installer" && exit 1; }
 

[ -f $BRIGZ  -a ! -f $BRINS ] && gunzip -kv $BRIGZ
[ -f $BRINS ] && chmod +rx $BRINS && {
	sudo -k 
	sudo apt-get update
	[ "$(dpkg --print-architecture)" == "amd64" ] && {
		sudo apt-get install lib32z1 lib32ncurses5
	}	
	sudo ./$BRINS "$BROTHER"  
	RET=$?
}
#
echo "$ME finished ..."
echo " "
read -p "Press any key to continue..."
exit $RET
:puppy:
Gigabyte Z77M-D3H, Intel Xeon E3-1240 V2 (Quad core), 32GB RAM,
GeForce GTX 770, Samsung SSD 850 EVO 500GB, Seagate Barracuda 4TB

User avatar
CaptainCanuck
Forum Novice
Forum  Novice
Posts: 6
Joined: Sat Sep 08, 2018 8:08 pm

Re: Brother IntelliFAX-2840

#7 Post by CaptainCanuck » Wed Sep 26, 2018 7:25 pm

Fehlix wrote: Thanks, for the inxi output, please post long text between the

Code: Select all

 tags 
for better readability.... Note the dot-slash "./" in front of the script name.
OK Fehlix, I'll follow your excellent directions as posted. I won't be able to test it until Friday.

But I thought I would post this reply right away, for two reasons:
a) to be polite, and express gratitude promptly; and
b) because I think I read somewhere that after 5 posts, something cool happens. This'll be my 5th post. Let's see what happens when I click "Submit." (I hope it's a free secret agent decoder ring!) :crossfingers:

Chris
Chris... aka Captain Canuck
Distro: MX-17.1_x64 Horizon
Machine: Acer Aspire A114-32; Intel Celeron N4000; 4G RAM; 64G SSD

User avatar
fehlix
Forum Guide
Forum Guide
Posts: 1734
Joined: Wed Apr 11, 2018 5:09 pm

Re: Brother IntelliFAX-2840

#8 Post by fehlix » Wed Sep 26, 2018 7:39 pm

CaptainCanuck wrote:
Wed Sep 26, 2018 7:25 pm
I think I read somewhere that after 5 posts, something cool happens.
Cool .. hmme.., what could happen? .. Hahh.. I know. ..Guess what ... your printer will print :number1:
Gigabyte Z77M-D3H, Intel Xeon E3-1240 V2 (Quad core), 32GB RAM,
GeForce GTX 770, Samsung SSD 850 EVO 500GB, Seagate Barracuda 4TB

User avatar
CaptainCanuck
Forum Novice
Forum  Novice
Posts: 6
Joined: Sat Sep 08, 2018 8:08 pm

Re: Brother IntelliFAX-2840

#9 Post by CaptainCanuck » Fri Sep 28, 2018 4:22 pm

Heaven's to Gretzky!!
and
By the Great White Moose!

IT WORKED!!! :celebrate: :rock: :clap:

Not that I doubted it would Fehlix. But it was quite impressive to watch in action. As a non-technical Linux user for over 10 years (a strange creature indeed) my reaction to watching what your script did was, "Whoa! That's *real* Linux!!"

Yes, I know. That's grossly oversimplified, and kinda dumb. But that's not a bad description of me as a Linux user :p

Your script did a lot, and what I read in my terminal was very clearly what I'm used to reading in GUI front-ends apps. I've tried to use the command line - especially in the early years - but my kung fu is weak. And with the birth of children, and the hectic years of career building as well as parenting... well, the GUI stuff became easier and easier to default to. It was just cool to watch everything happen in the terminal.

So THANK YOU FEHLIX!!

You rock.
Chris... aka Captain Canuck
Distro: MX-17.1_x64 Horizon
Machine: Acer Aspire A114-32; Intel Celeron N4000; 4G RAM; 64G SSD

User avatar
fehlix
Forum Guide
Forum Guide
Posts: 1734
Joined: Wed Apr 11, 2018 5:09 pm

Re: Brother IntelliFAX-2840 -- Solved!

#10 Post by fehlix » Fri Sep 28, 2018 4:49 pm

You're welcome.
The magic happens. :happy:
:puppy:
Gigabyte Z77M-D3H, Intel Xeon E3-1240 V2 (Quad core), 32GB RAM,
GeForce GTX 770, Samsung SSD 850 EVO 500GB, Seagate Barracuda 4TB

Post Reply

Return to “Hardware /Configuration”