LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 10-30-2012, 04:59 PM   #1
williamhf
LQ Newbie
 
Registered: Nov 2007
Posts: 18

Rep: Reputation: 0
Question Please Help me configure my Brother HL-5240 Printer


I assumed that my computer would automatically recognize my Brother HL-5240 Laser Printer after installing Linux Mint 13 Mate Maya as its Operating System.

I got it to successfully print a couple of short test files.
Then it simply stopped printing such test files.

When I pressed Print, the screen would show the information about what was to be printed in the usual way one sees when he presses "Print."

But --- it will no longer go ahead and print short test files wehn I press "Print." Even tho' when I press "Print" the screen shows the usual screen detailing what is about to be printed.

Now then --- the Toner LED has been flashing occasionally for several weeks. And now it is more On than NOT On when I've turned the Printer on and let it warm up.

I have ordered a replacment Toner for this Brother HL-5240 printer which should arrive in a few days.

Is it correct for me to believe that my Brother HL-5240 printer would be automatically recognized at Installation of Linux Mint 13 Mate Maya without me having to configure it manually?

If you could offer other ideas re what may be wrong, please reply.

With many thanks for your suggestions,

william
Florida
 
Old 10-30-2012, 05:58 PM   #2
clifford227
Member
 
Registered: Dec 2009
Distribution: Slackware 14
Posts: 282

Rep: Reputation: 64
It could well be that you have run out of toner.


It could also be that the printer is not set up correctly in CUPS.

I had a similar problem recently.

Try setting up CUPS in a browser (h-t-t-p://localhost:631), user/pass could be root/root, or root/root_password.

Then Administration tab 'add printer', find your printer in 'local printers', continue.

When it asks you to name the printer, choose a small name like 'myprinter' (no underscores, in my experience)

Next find your driver in the list.

Next 'set default options'.

You should be done with the basic install of the printer.

Try to print from whatever program you are printing from. Look in the programs printer options for 'myprinter'.


If you want to print from the commandline, complete the above steps for setting up CUPS and issue this:


Code:
lp -d myprinter filetoprint
It works (for me).

Last edited by clifford227; 10-30-2012 at 06:05 PM.
 
1 members found this post helpful.
Old 10-31-2012, 05:08 AM   #3
nickmh
Member
 
Registered: Apr 2012
Distribution: xUbuntu
Posts: 42

Rep: Reputation: Disabled
Brilliantly simple Cliff. I've had similar problems in the past and commited all the sins you suggested to avoid.

Little gems of knowledge sometime works a treat, Beaudy. "ta
 
1 members found this post helpful.
Old 10-31-2012, 06:43 AM   #4
michaelk
Moderator
 
Registered: Aug 2002
Posts: 11,890

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
According to the manual if the status LED is red the toner is end of life. It is possible that the printer returned an error message back to cups and its queue is stopped. You can check the status via cups via the web browser (localhost:631/printers) If you can still print a test page directly from the printer then there is some toner left remaining. You might be able to get some more life out of the cartridge if you remove it and shake it around a bit.
 
1 members found this post helpful.
Old 11-04-2012, 08:29 AM   #5
williamhf
LQ Newbie
 
Registered: Nov 2007
Posts: 18

Original Poster
Rep: Reputation: 0
Question I don't understand how to configure cups for my Brother HL-5240 Printer

Quote:
Originally Posted by clifford227 View Post
It could well be that you have run out of toner.

williamhf: I have installed a new Toner Cartridge since my original post.
After doing so I still can't print, Interestingly, my wife can print from her Apple Lapbook by just plugging into my Brother HL-5240---
the printer which won't print my files.

Clifford 227: It could also be that the printer is not set up correctly in CUPS.

I had a similar problem recently.

Try setting up CUPS in a browser (h-t-t-p://localhost:631), user/pass could be root/root, or root/root_password.

williamhf: I dont understand your directions above---no fault of yours. What is "http://local host:631 ?
williamhf: Please Let me add some information to the hisstory I've given previously. Immediately before suddenly losing the ability
to print a file, I had downloaded and installed several "Updates" to my Op System: Linux Mint 13 Mate Maya. Three or four of
those updates were "cups" updates. I saw no reason not to choose those "cups" updates. Updates are supposed to improve the
action/performance of the selected program------are they not?


Clifford 227: Then Administration tab 'add printer', find your printer in 'local printers', continue.

When it asks you to name the printer, choose a small name like 'myprinter' (no underscores, in my experience)

Next find your driver in the list.
williamhf: I searched the Brother Printer website for and found pages of drivers for "cups." I could not figure out whick of the "cups" drivers
I should choose. And then User is supposed to pick an "install" file for his particular choice of "cups" driver. I failed to discern
which I should choose.
Finallly --- permit me to ask again: Is it to be expected with today's Linux Op. Systems that upon installation, most Op. Systems will recognize
when a modern printer is connected to the system and automatically configure and install that printer?

Clifford 227: Next 'set default options'.

You should be done with the basic install of the printer.

Try to print from whatever program you are printing from. Look in the programs printer options for 'myprinter'.


If you want to print from the commandline, complete the above steps for setting up CUPS and issue this:


Code:
lp -d myprinter filetoprint
It works (for me).
williamhf: Clifford --- thanks very much for your effort to help me. But as you can see I'm all but helpless in being able to act on your advice.
 
Old 11-04-2012, 08:35 AM   #6
williamhf
LQ Newbie
 
Registered: Nov 2007
Posts: 18

Original Poster
Rep: Reputation: 0
Question I don't understand how to configure cups for my Brother HL-5240 Printer

Quote:
Originally Posted by clifford227 View Post
It could well be that you have run out of toner.

williamhf: I have installed a new Toner Cartridge since my original post.
After doing so I still can't print, Interestingly, my wife can print from her Apple Lapbook by just plugging into my Brother HL-5240---
the printer which won't print my files.

Clifford 227: It could also be that the printer is not set up correctly in CUPS.

I had a similar problem recently.

Try setting up CUPS in a browser (h-t-t-p://localhost:631), user/pass could be root/root, or root/root_password.

williamhf: I dont understand your directions above---no fault of yours. What is "http://local host:631 ?
williamhf: Please Let me add some information to the hisstory I've given previously. Immediately before suddenly losing the ability
to print a file, I had downloaded and installed several "Updates" to my Op System: Linux Mint 13 Mate Maya. Three or four of
those updates were "cups" updates. I saw no reason not to choose those "cups" updates. Updates are supposed to improve the
action/performance of the selected program------are they not?


Clifford 227: Then Administration tab 'add printer', find your printer in 'local printers', continue.

When it asks you to name the printer, choose a small name like 'myprinter' (no underscores, in my experience)

Next find your driver in the list.
williamhf: I searched the Brother Printer website for and found pages of drivers for "cups." I could not figure out whick of the "cups" drivers
I should choose. And then User is supposed to pick an "install" file for his particular choice of "cups" driver. I failed to discern
which I should choose.
Finallly --- permit me to ask again: Is it to be expected with today's Linux Op. Systems that upon installation, most Op. Systems will recognize
when a modern printer is connected to the system and automatically configure and install that printer?

Clifford 227: Next 'set default options'.

You should be done with the basic install of the printer.

Try to print from whatever program you are printing from. Look in the programs printer options for 'myprinter'.


If you want to print from the commandline, complete the above steps for setting up CUPS and issue this:


Code:
lp -d myprinter filetoprint
It works (for me).
williamhf: Clifford --- Thanks very much for your effort to help me. But as you can see I did not understand enough of your advice.
Now I'll open the website h-t-t-p://localhost:631
 
Old 11-04-2012, 09:20 AM   #7
AwesomeMachine
Senior Member
 
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian jessie/sid; OpenSuSE; Fedora
Posts: 1,592

Rep: Reputation: 162Reputation: 162
CUPS has the print driver separated into several different pieces. The driver usually requires only a .ppd file for your model, which you choose in the CUPS browser interface at http://localhost:631

Type the url right into the web browser, firefox or whatever. You can view whatever is going on with cups, and adjust any settings. You can add printers, print a test page, start and stop print queues. The driver should be in an available package, like foomatic-ppd or cups-ppd or something similar. Or you can generate a ppd on linuxprinting.org.
 
1 members found this post helpful.
Old 11-04-2012, 10:37 AM   #8
clifford227
Member
 
Registered: Dec 2009
Distribution: Slackware 14
Posts: 282

Rep: Reputation: 64
William,

Lets try this first:

Go into CUPS as AwesomeMachine suggests, by typing:

into your web browser's address bar at the top. Entry details maybe root/rootpassword

Now click on the Administration tab at the top of the CUPS page.

Then click 'add printer'. Look for your printer name or anything that says Brother in 'local printers', if so, click continue.

When it asks you to name the printer, choose a small name like 'myprinter' (no underscores, in my experience), click continue.

Now you should be at a screen with a list of drivers to choose from. See if your model printer is in the list. If it is not, then download this .ppd file and save it to your computer (right-click on I accept, and click 'save link as'):

http://www.brother.com/cgi-bin/agree...ng=English_gpl

Once you have done that, go back to your web browser and the CUPS page, and where it says 'or provide a .ppd file', click 'browse'. This should open a window to your computer. Find the file you downloaded (BR5240_2_GPL.ppd.gz) and select it.

Click 'Set default options'.

Go into the 'Printer' tab at the top on the far right, select and click on your printer name you have just set up ('myprinter'). Then in the maintenance tab drop down, click 'Print test page'.

It may or may not print a test page. If it does not, try going into one of your other programs, a text editor, for example, go into that programs printer options, and look for the name 'myprinter'. select it and try to print from that text editor.

If that doesnt work William, come back and we'll try another way.

Last edited by clifford227; 11-04-2012 at 10:44 AM.
 
1 members found this post helpful.
Old 11-04-2012, 02:03 PM   #9
williamhf
LQ Newbie
 
Registered: Nov 2007
Posts: 18

Original Poster
Rep: Reputation: 0
I can't find the CUPS page you describe

Quote:
Originally Posted by clifford227 View Post
William,

Lets try this first:

Go into CUPS as AwesomeMachine suggests, by typing: http://localhost:631

into your web browser's address bar at the top. Entry details maybe root/rootpassword

Now click on the Administration tab at the top of the CUPS page.

Then click 'add printer'. Look for your printer name or anything that says Brother in 'local printers', if so, click continue.

When it asks you to name the printer, choose a small name like 'myprinter' (no underscores, in my experience), click continue.

Now you should be at a screen with a list of drivers to choose from. See if your model printer is in the list. If it is not, then download this .ppd file and save it to your computer (right-click on I accept, and click 'save link as'):

http://www.brother.com/cgi-bin/agree...ng=English_gpl

Once you have done that, go back to your web browser and the CUPS page, and where it says 'or provide a .ppd file', click 'browse'. This should open a window to your computer. Find the file you downloaded (BR5240_2_GPL.ppd.gz) and select it.

Click 'Set default options'.

Go into the 'Printer' tab at the top on the far right, select and click on your printer name you have just set up ('myprinter'). Then in the maintenance tab drop down, click 'Print test page'.

It may or may not print a test page. If it does not, try going into one of your other programs, a text editor, for example, go into that programs printer options, and look for the name 'myprinter'. select it and try to print from that text editor.

If that doesnt work William, come back and we'll try another way.
William" I'm sorry to report that when I type http://localhost:631 into my Firefox Browser NONE of the options/choices you describe appears on any of the files
which Firefox shows me on its first screen with 10 hits. Did I type an incorrect URL for the CUPS site?

William:
Thanks to you and Awesome for not abandoning me.
I have to go to North Carolina tomorrow for three days and will be back thereafter and looking for your respone here.
 
Old 11-05-2012, 04:58 PM   #10
clifford227
Member
 
Registered: Dec 2009
Distribution: Slackware 14
Posts: 282

Rep: Reputation: 64
William,

Type http://localhost:631 in the same place as in this screenshot:

http://i.imgur.com/swOPf.jpg
 
1 members found this post helpful.
Old 11-08-2012, 09:46 AM   #11
williamhf
LQ Newbie
 
Registered: Nov 2007
Posts: 18

Original Poster
Rep: Reputation: 0
---clifford227

The screen shot does NOT show "http://localhost:631 anywhere.

It does show "localhostL631" to the left and above the screenshot

There is a big, completely BLACK, rectangle oriented vertically which obscures the words covered by the Black rectangle on the left 1/4 of the screen.

This has become too complicated to communicate with each other.

I assume you received my mesage here in Newbie Questions which tells you that typing "http://localhost:631" into my Firefox Web Browser does NOT bring up the configuring screen which you have described to me. The blanks which you tell me to use and type in the required info. simply don't appear.

Would it be easier for us to communicate were I to give you my phone number or e-mail address?

But, I don't know anyway to give you my phone number or e-mail address so that only you and I see it.

Sorry to haveloaded this burden on you.

william
 
Old 11-08-2012, 05:47 PM   #12
clifford227
Member
 
Registered: Dec 2009
Distribution: Slackware 14
Posts: 282

Rep: Reputation: 64
Quote:
Originally Posted by williamhf View Post
Would it be easier for us to communicate were I to give you my phone number or e-mail address?
I think we should try to solve this problem in the forum, William, it may help someone else in the future, and you're not burdening me, so dont worry

Quote:
Originally Posted by williamhf View Post
There is a big, completely BLACK, rectangle oriented vertically which obscures the words covered by the Black rectangle on the left 1/4 of the screen.
Please excuse the black rectangle, its a problem with my computer.

Quote:
Originally Posted by williamhf View Post
It does show "localhostL631" to the left and above the screenshot
Yes, thats where to type localhost:631 ,into the actual address bar of the browser at the top, not on the webpage itself.

see this screenshot:
http://i.imgur.com/tPVe7.jpg
.

Last edited by clifford227; 11-08-2012 at 05:59 PM.
 
Old 11-09-2012, 05:57 PM   #13
williamhf
LQ Newbie
 
Registered: Nov 2007
Posts: 18

Original Poster
Rep: Reputation: 0
SOLVED

Clifford and other responders and readers

It's embarassing to have to admit but I have caused you a lot of trouble, time and effort.

Today, on my own computer running Linux Mint 13 Mate Maya I found an icon I had failed to
uncover previousl.

I was astonished to find it.

It was an icon depicting a PRINTER!

I clicked on it and found that it offered to help me configure my computer.

I followed its instructions and finally chose "Print Preview" ..... never believing for one moment that it would print for me.
I clicked "Print" at "Prinet Preview" and the page printed!

Fearfully I then chose Printe, not print preview, and my Brother HL-5240 Laser printer printed again.

Please know that I now see that all the energy and time you ahve put into helping me was needless due to my ignorance.

I apologize to all.

The problem has been solved.

william
 
Old 11-09-2012, 06:07 PM   #14
williamhf
LQ Newbie
 
Registered: Nov 2007
Posts: 18

Original Poster
Rep: Reputation: 0
Solved

To Clifford and Asesome and others who may have responded to my pleas for help in getting my Brother HL-5240 Laser printer to work

I finally tumbled to the fact that there was a Printer configuration program within my Op. System: Linux Mint 13 Mate Maya.

When I found it I used it and was able to successfully configure my Printer and it now works fine.

I'm happy.

I apologize to all for dragging this thread on for so long ----- I ws ignorant of the availability of help right on my computer without seeking outside/Web help.

Sincerely,

william
 
Old 11-09-2012, 07:38 PM   #15
clifford227
Member
 
Registered: Dec 2009
Distribution: Slackware 14
Posts: 282

Rep: Reputation: 64
Quote:
Originally Posted by williamhf View Post
I was ignorant of the availability of help right on my computer without seeking outside/Web help.
I do that all the time, William, so no problem
 
1 members found this post helpful.
  


Reply

Tags
brother, mate, printer


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Brother printer HL-2270DW driver - Brother solutions offer four - which one? juneymoon Linux - Software 9 06-15-2013 04:52 PM
Fedora Printer Problem: Brother Laser Printer drops the first one or two centimeters merlinsenger Linux - Newbie 2 05-24-2008 06:13 AM
Brother HL2070N network printer installed, print jobs stuck in printer que jgz Linux - Networking 0 02-14-2008 10:54 PM
Brother printer? roofninja Linux - General 9 02-10-2007 08:28 AM
Printer Brother trainee Slackware 6 10-14-2005 03:24 PM


All times are GMT -5. The time now is 12:35 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration