LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > 4MLinux
User Name
Password
4MLinux This forum is for the discussion of 4MLinux.

Notices


Reply
  Search this Thread
Old 07-13-2019, 01:36 PM   #1
jsingh7
LQ Newbie
 
Registered: Jul 2019
Posts: 7

Rep: Reputation: Disabled
Problem with my Brother printer/scanner MFC-L2700DW


Hi everyone,
I am new in this forum. I started using 4Mlinux about a month ago and installed it on my old intel based MacBookPro 2006 and everything is running good. I am trying to install my all-in-one Brother printer on wifi. Managed to run cups. But don't know how to install printer and scanner and which driver package to install from Brother download site, rpm or deb. I am not an expert user.
Thanks in advance

Last edited by jsingh7; 07-13-2019 at 01:37 PM.
 
Old 07-13-2019, 02:09 PM   #2
zk1234
4MLinux Maintainer
 
Registered: Oct 2010
Location: Poland
Distribution: 4MLinux, Slackware
Posts: 1,256

Rep: Reputation: 220Reputation: 220Reputation: 220
Hi,

Which 4MLinux version are you running?
.

Last edited by zk1234; 07-13-2019 at 02:11 PM.
 
Old 07-13-2019, 02:26 PM   #3
zk1234
4MLinux Maintainer
 
Registered: Oct 2010
Location: Poland
Distribution: 4MLinux, Slackware
Posts: 1,256

Rep: Reputation: 220Reputation: 220Reputation: 220
Hi,

1) Download your driver here:
https://support.brother.com/g/b/down...ng=4&type3=560

2) Open PCManFM and go the Downloads folder.

3) Open terminal (by pressing the "F4" button) and execute:
Code:
busybox rpm -i mfcl2700dwcupswrapper-3.2.0-1.i386.rpm
ln -s /opt/brother/Printers/MFCL2700DW /usr/share/ppd
4) Now you have the printer driver installed.

NOTE:
If you are using WiFi to access your printer, you must temporary disable firewall before configuring your printer:
Code:
firewall stop
.
 
Old 07-13-2019, 05:54 PM   #4
jsingh7
LQ Newbie
 
Registered: Jul 2019
Posts: 7

Original Poster
Rep: Reputation: Disabled
Hi ZK1234
I tried as suggested, the printer gets installed but doesn't print. when I try to print test page, the status column says stopped "Filter failed". Then I tried to install using ipp with the printer's ip address, but it still says the same thing "Filter failed".

I don't know where I did wrong. Any suggestions. As I mentioned I am not an expert. I am running version 29

Thanks

Last edited by jsingh7; 07-13-2019 at 08:48 PM. Reason: to give more information
 
Old 07-14-2019, 10:23 AM   #5
zk1234
4MLinux Maintainer
 
Registered: Oct 2010
Location: Poland
Distribution: 4MLinux, Slackware
Posts: 1,256

Rep: Reputation: 220Reputation: 220Reputation: 220
I had a look at the CUPS filter included in the rpm installed by you. It's a Perl script. Make sure that you have Perl installed:
Code:
wget https://sourceforge.net/projects/linux4m/files/29.0/devel/extras/perl/addon_perl-5.28.1.tar.xz
zk addon_perl-5.28.1.tar.xz
.
 
Old 07-14-2019, 01:30 PM   #6
jsingh7
LQ Newbie
 
Registered: Jul 2019
Posts: 7

Original Poster
Rep: Reputation: Disabled
Hi zk1234
No success yet
Re-installed os and installed everything as you stated including pearl. Tried different ways but nothing happening. Here is what it says on cups

pageQueue Name Description Location Make and Model Status
Brother MFC-L2700DW new Brother MFC-L2700DW for CUPS Idle - "File "/usr/lib/cups/filter/brother_lpdwrapper_MFCL2700DW" not available: No such file or directory"
Brother_MFC-L2700DW_series Brother MFC-L2700DW series Local Printer Brother MFC-L2700DW for CUPS Idle - "File "/usr/lib/cups/filter/brother_lpdwrapper_MFCL2700DW" not available: No such file or directory"
 
Old 07-14-2019, 02:04 PM   #7
zk1234
4MLinux Maintainer
 
Registered: Oct 2010
Location: Poland
Distribution: 4MLinux, Slackware
Posts: 1,256

Rep: Reputation: 220Reputation: 220Reputation: 220
Those error messages are rather clear, so:
Code:
cp /opt/brother/Printers/MFCL2700DW/cupswrapper/brother_lpdwrapper_MFCL2700DW /usr/lib/cups/filter/
And (just in case):
Code:
cp /opt/brother/Printers/MFCL2700DW/cupswrapper/paperconfigml1 /usr/lib/cups/filter/
.
 
Old 07-14-2019, 11:00 PM   #8
jsingh7
LQ Newbie
 
Registered: Jul 2019
Posts: 7

Original Poster
Rep: Reputation: Disabled
No luck yet

I have installed the os again and did all the steps one again. When I click on the installed Bother printer, the cups page says;

Description: MFC-L2700dw
Location: Dad's Room
Driver: Brother MFC-L2700DW for CUPS (grayscale, 2-sided printing)
Connection: http://192.168.0.75
Defaults: job-sheets=none, none media=na_letter_8.5x11in sides=one-sided

I tried printing test page, a webpage and an abiword page, when I check the completed jobs it says completed in the state column, but physically on the printer nothing happening. I tried from the other computers, the printer is working well.

I really appreciate your help. I like everything in the OS, works well quite fast, but this is the only things lacking.

Thanks for all you have done.

will keep trying and will report success when achieved.
 
Old 07-15-2019, 01:14 AM   #9
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,840

Rep: Reputation: 1148Reputation: 1148Reputation: 1148Reputation: 1148Reputation: 1148Reputation: 1148Reputation: 1148Reputation: 1148Reputation: 1148
Put CUPS into debug mode (more verbose reporting)
Code:
sudo cupsctl --debug-logging
Try to print a document, and examine the CUPS error_log for filter errors eg
Code:
grep -iA4 "filter" /var/log/cups/error_log
 
Old 07-15-2019, 02:01 PM   #10
jsingh7
LQ Newbie
 
Registered: Jul 2019
Posts: 7

Original Poster
Rep: Reputation: Disabled
Hi ferrari,
I appreciate your help also. I will try this also and will check and report.

Thanks
 
Old 07-16-2019, 03:40 AM   #11
zk1234
4MLinux Maintainer
 
Registered: Oct 2010
Location: Poland
Distribution: 4MLinux, Slackware
Posts: 1,256

Rep: Reputation: 220Reputation: 220Reputation: 220
Quote:
Originally Posted by jsingh7 View Post
I have installed the os again and did all the steps one again. When I click on the installed Bother printer, the cups page says;

Description: MFC-L2700dw
Location: Dad's Room
Driver: Brother MFC-L2700DW for CUPS (grayscale, 2-sided printing)
Connection: http://192.168.0.75
Defaults: job-sheets=none, none media=na_letter_8.5x11in sides=one-sided

I tried printing test page, a webpage and an abiword page, when I check the completed jobs it says completed in the state column, but physically on the printer nothing happening. I tried from the other computers, the printer is working well.

I really appreciate your help. I like everything in the OS, works well quite fast, but this is the only things lacking.

Thanks for all you have done.

will keep trying and will report success when achieved.
Make sure that the 4MLinux firewall does not block your printer's port. Go to Menu > Miniserver > Settings > Firewall. Find the following lines:
Code:
# Allow incoming traffic to the following TCP ports:
TCP="21 22 80 443 10000"
Add your printer there. If, for example, your printer's port is 2234 then:
Code:
# Allow incoming traffic to the following TCP ports:
TCP="21 22 80 443 2234 10000"
Apply changes:
Code:
firewall restart
Good Luck!

.
 
Old 07-16-2019, 04:56 AM   #12
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,840

Rep: Reputation: 1148Reputation: 1148Reputation: 1148Reputation: 1148Reputation: 1148Reputation: 1148Reputation: 1148Reputation: 1148Reputation: 1148
Most Linux firewalls are configured to allow solicited traffic (connections related to outgoing requests), therefore it should not be necessary to explicitly open ports for printing. Printer discovery, on the other hand, may require ports opened to allow printer broadcasts eg Avahi (port 5353 UDP).
 
Old 07-31-2019, 03:41 AM   #13
jsingh7
LQ Newbie
 
Registered: Jul 2019
Posts: 7

Original Poster
Rep: Reputation: Disabled
I have tried installing 4mlinux fresh and tried opening ports as suggested by zk1234 and ferrari but without success. Do you have any other suggestions. In cups it says job completed but nothing happens on printer.
 
Old 07-31-2019, 03:49 AM   #14
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,840

Rep: Reputation: 1148Reputation: 1148Reputation: 1148Reputation: 1148Reputation: 1148Reputation: 1148Reputation: 1148Reputation: 1148Reputation: 1148
No, as I already stated in my previous post there should be no need to open any ports in the firewall for printing. Go back to the advice I gave in post #9 and examine the error log after attempting to print.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Issue installing printer MFC-L2700DW gerlinux Debian 77 07-22-2018 04:26 AM
[SOLVED] Brother MFC-L2700DW, I can't change the printer configuration lcharles Linux - Hardware 3 05-22-2017 03:52 PM
New Printer Scanner in Xsane finds new printer/scanner (Brother MFC-6520DW) with error message TrinityBeing Linux - Newbie 23 03-29-2016 10:27 AM
Brother MFC on 64 current: Scanner works, printer uses wrong connection gargamel Slackware 0 03-07-2010 02:51 AM
Easy install Brother MFC-665CW printer scanner etc. paynejp Linux - Hardware 1 11-07-2009 07:21 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > 4MLinux

All times are GMT -5. The time now is 03:06 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration