Can't make my network printer Brother HL-2140 work [SOLVED]

Problems and successes with specific brands/models of printers
Post Reply
Message
Author
nuagedeboucane
Posts: 7
Joined: Fri 07 Nov 2014, 22:50
Location: Baie St Paul, Quebec, Canada

Can't make my network printer Brother HL-2140 work [SOLVED]

#1 Post by nuagedeboucane »

Hi. I have several Linux Mint 17 and LMDE computers, which can all access my Brother HL-2140 network printer. I had no problems setting it up.

With my old laptop, on which I have installed Puppy Wary 5.5, I can't make CUPS work with the printer.

I tried to let CUPS discover the printer by itself. nothing
I tried to copy the URL of the printer, from the CUPS management screen of one of my Mint machines. nothing


Would a good samaritan help me, please?


Code: Select all

-Computer-
Processor		: Mobile Pentium II
Memory		: 125MB (29MB used)
Machine Type		: Physical machine
Operating System		: Wary Puppy - 5.5
User Name		: root (root)
Date/Time		: lun 01 déc 2014 21:19:15 EST
-Display-
Resolution		: 1024x768 pixels
OpenGL Renderer		: Mesa GLX Indirect
X11 Vendor		: The X.Org Foundation
-Audio Devices-
Audio Adapter		: NM256AV - NeoMagic NM256AV
-Input Devices-
 AT Translated Set 2 keyboard
 SynPS/2 Synaptics TouchPad
 Lid Switch
 Video Bus
 Power Button
 Sleep Button
 PC Speaker
-Printers (CUPS)-
brother
CUPS-PDF		: <i>Default</i>
-SCSI Disks-
ATA HITACHI_DK23CA-3
TOSHIBA CD-ROM XM-7002B
Last edited by nuagedeboucane on Sun 07 Dec 2014, 02:20, edited 1 time in total.

User avatar
rcrsn51
Posts: 13096
Joined: Tue 05 Sep 2006, 13:50
Location: Stratford, Ontario

#2 Post by rcrsn51 »

AFAIK, an HL-2140 is a USB printer. Please explain.

nuagedeboucane
Posts: 7
Joined: Fri 07 Nov 2014, 22:50
Location: Baie St Paul, Quebec, Canada

#3 Post by nuagedeboucane »

rcrsn51 wrote:AFAIK, an HL-2140 is a USB printer. Please explain.
OK. This printer is connected to a Dell Optiplex GX-280 by USB, and then, is shared on my network. I have five desktops and two laptops machines which can use this shared printer.

User avatar
rcrsn51
Posts: 13096
Joined: Tue 05 Sep 2006, 13:50
Location: Stratford, Ontario

#4 Post by rcrsn51 »

What operating system is the Dell running?

nuagedeboucane
Posts: 7
Joined: Fri 07 Nov 2014, 22:50
Location: Baie St Paul, Quebec, Canada

#5 Post by nuagedeboucane »

rcrsn51 wrote:What operating system is the Dell running?


Linux Mint 17, Cinnamon desktop.

User avatar
rcrsn51
Posts: 13096
Joined: Tue 05 Sep 2006, 13:50
Location: Stratford, Ontario

#6 Post by rcrsn51 »

Your source for information about printers in Puppy is here.

At the end, read the section titled: Part C - Setting up a Linux Client.

nuagedeboucane
Posts: 7
Joined: Fri 07 Nov 2014, 22:50
Location: Baie St Paul, Quebec, Canada

#7 Post by nuagedeboucane »

rcrsn51 wrote:Your source for information about printers in Puppy is here.

At the end, read the section titled: Part C - Setting up a Linux Client.
My main Mint 17 machine was already configured to share my printer, which is currently available and operational for all the other Mint computers.

I have tried to enter:

Code: Select all

ipps://marc-OptiPlex-GX280.local:631/printers/Brother-HL2140-series
as the device's URL, as it is written in one of my Mint machine's system-config-printer's properties. After doing that, I had an entry for my printer, in CUPS, telling me that the printer is available, but I get this error message: "Unable to locate printer" when I try to print a test page.

I had another idea: maybe if I could install "systen-config-printer" on my Puppy laptop, it would be easier for me to make my "compusaurus" work with my printer. But finally, since there is no pet of that, it seemed to me more troublesome than anything.(The only thing I have ever compiled is a Turbo Pascal program, in 1980's)

I have never been good in working with network addresses, like 192.168...and finding them. I have the felling that I'm not so far from succeeding.. If only I knew exactly how to get the needed IP...
Last edited by nuagedeboucane on Fri 05 Dec 2014, 13:48, edited 1 time in total.

User avatar
rcrsn51
Posts: 13096
Joined: Tue 05 Sep 2006, 13:50
Location: Stratford, Ontario

#8 Post by rcrsn51 »

nuagedeboucane wrote:

Code: Select all

ipps://marc-OptiPlex-GX280.local:631/printers/Brother-HL2140-series 
Puppy does not have the ipps backend. As stated in the Howto, use

Code: Select all

ipp://aaa.bbb.cc.dd:631/printers/Brother-HL2140-series 
Go to the Dell machine, open a terminal and run ifconfig. This will get you its IP address.

nuagedeboucane
Posts: 7
Joined: Fri 07 Nov 2014, 22:50
Location: Baie St Paul, Quebec, Canada

#9 Post by nuagedeboucane »

rcrsn51 wrote:
nuagedeboucane wrote:

Code: Select all

ipps://marc-OptiPlex-GX280.local:631/printers/Brother-HL2140-series 
Puppy does not have the ipps backend. As stated in the Howto, use

Code: Select all

ipp://aaa.bbb.cc.dd:631/printers/Brother-HL2140-series 
Go to the Dell machine, open a terminal and run ifconfig. This will get you its IP address.

I had to uninstall the printer first. Then, it has worked perfectly, Thank you so much!!!

User avatar
rcrsn51
Posts: 13096
Joined: Tue 05 Sep 2006, 13:50
Location: Stratford, Ontario

#10 Post by rcrsn51 »

Excellent. But there might be a problem. Does the Dell machine have a static IP address? If not, you would have to reinstall the Puppy printer if the Dell's IP address changed.

See the procedure here in the NETWORK PRINTERS section. Use it on Puppy client machines to associate the server name with its IP address.

In CUPS, you would create the printer as

Code: Select all

ipp://OptiPlex:631/printers/Brother-HL2140-series
Your /etc/hosts file would have a line like

Code: Select all

192.168.2.10  OptiPlex
If the server IP address changes, you just need to update the hosts file.

nuagedeboucane
Posts: 7
Joined: Fri 07 Nov 2014, 22:50
Location: Baie St Paul, Quebec, Canada

#11 Post by nuagedeboucane »

rcrsn51 wrote:Excellent. But there might be a problem. Does the Dell machine have a static IP address? If not, you would have to reinstall the Puppy printer if the Dell's IP address changed.

See the procedure here in the NETWORK PRINTERS section. Use it on Puppy client machines to associate the server name with its IP address.

In CUPS, you would create the printer as

Code: Select all

ipp://OptiPlex:631/printers/Brother-HL2140-series
Your /etc/hosts file would have a line like

Code: Select all

192.168.2.10  OptiPlex
If the server IP address changes, you just need to update the hosts file.

I will take note of that. For now, since all works, I'll keep it as is. If that changes, I will do this modification. Thanks again for your help!

Post Reply