Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Sat 25 Oct 2014, 22:12
All times are UTC - 4
 Forum index » Advanced Topics » Hardware » Printers
How to Install Brother Printers and Scanners
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
Page 6 of 9 Posts_count   Goto page: Previous 1, 2, 3, 4, 5, 6, 7, 8, 9 Next
Author Message
linbie

Joined: 09 Jan 2010
Posts: 63

PostPosted: Sun 27 Jan 2013, 03:58    Post_subject: MFC on USB  

Hi
The MFC is connected to the main PC (Slacko 5.3) via USB - I have not tried to connect it via network. The colour laser is used by everyone in the family hence networked
Back to top
View user's profile Send_private_message 
earl


Joined: 20 Mar 2008
Posts: 29
Location: Halifax, Vermont, USA

PostPosted: Thu 31 Jan 2013, 20:40    Post_subject: Re: How to Install Brother Printers and Scanners
Sub_title: Brother Wireless Printer installation
 

[quote="rcrsn51"]Some Brother printers can be installed using the drivers that are included with Puppy. However, the Brother website offers a large collection of Linux drivers for their models. Here are the steps to install one.

DEBBI

The Brother downloads are available in either DEB or RPM format, but you will use the DEB versions. To install the packages, you need the "Debian-Brother Installer". Download and install debbi-1.1.pet from the attachment below. It copies the file debbi to the folder /root/my-applications/bin.

This little program will extract the contents of a DEB package to your hard drive and run the post-install script. You will use it for both printer and scanner drivers.

Some older Brother models also require the "csh" shell instead of the "bash" shell used by Puppy. See the list here under Pre-required Procedure (6). If you have one of these printers, install the csh-6.16.00-i486.pet from below before continuing.

PRINTERS

Start the installation process with your printer turned ON.

Go to http://solutions.brother.com/linux/en_us and select Download Printer Driver.

Locate your printer. You will download two files - the LPR driver and the CUPS wrapper driver. Get the DEB versions. Select Save to Disk and store them in /root. As an example, let's assume that you downloaded the files mfc210clpr-1.0.2-1.i386.deb and cupswrapperMFC210C-1.0.2-3.i386.deb.

Go to your /root folder and press the ~ key. This opens a console window. To display a list of files, type:
Code:
ls

Now type:
Code:
debbi mfc210clpr-1.0.2-1.i386.deb

followed by
Code:
debbi cupswrapperMFC210C-1.0.2-3.i386.deb

This procedure is an ideal situation for using Tab Completion to avoid having to type the whole filename. Try typing:
Code:
debbi <space> mfc <tab> <enter>

In most cases, you can ignore any error messages from the debbi script.

The post-install script creates a PPD file for your printer and stores it in the folder /usr/share/cups/model. And depending on your model, it may also add a printer in CUPS attached to a USB port, ready to use.

However, before launching the CUPS Wizard, there is another step. The Brother driver keeps its own printer configuration settings separate from CUPS. In these settings, the default paper size may be set to A4. So if you are using Letter size, you must manually change it.

Go to /usr/local/Brother/.../inf and locate the file brxxxrc, where xxx is the name of your printer. Open the file and change the PaperType from A4 to Letter.

Run the CUPS wizard and go to Manage Printers. Try printing a test page for the new printer. If it works, you're done! If not, you may need to delete the printer, restart CUPS, let it rediscover the printer and then add it again. You will find the new PPD file in the Brother category.

For your convenience, the drivers for several Brother models are attached below as ready-to-use PETs. These packages do not automatically install a printer, so you will need to run the CUPS Find New Printers option. There is a second page of drivers posted farther down this thread.

NETWORK PRINTERS

If you are using a Puppy with CUPS 1.3 and let CUPS auto-detect your printer, the device URI will look like
Code:
socket://192.168.2.15

However, in newer Puppies with CUPS 1.4, the URI may look like
Code:
lpd://BRN_B7DD77/BINARY_P1

When you try to print, CUPS will fail with the error message "Unable to locate". This is because CUPS needs a way of looking up the IP address that matches the printer name.

To solve this problem, open the file /etc/hosts and add a line like
Code:
192.168.2.15 BRN_B7DD77


___________________________________________________________________

For some reason my router changed the IP for the printer, so /etc/hosts went to the wrong place... and ping looked into the abiss! If I entered:

ping brw00242XXXXXXX, it responded with 192.168.1.25; what I told it!

In windows ping brw00242XXXXXXX, returned 192.168.1.44; so make sure your /etc/host is correct

All working now:

Gateway MX7120 and a Brother HL-2170W using Precise 5.4.3
Back to top
View user's profile Send_private_message 
rcrsn51


Joined: 05 Sep 2006
Posts: 9207
Location: Stratford, Ontario

PostPosted: Thu 31 Jan 2013, 21:44    Post_subject: Re: How to Install Brother Printers and Scanners
Sub_title: Brother Wireless Printer installation
 

earl wrote:
For some reason my router changed the IP for the printer, so /etc/hosts went to the wrong place

To prevent this from happening again, you need to give your printer a static IP address. There should be a setting for this in the networking section of your printer's control panel.
Back to top
View user's profile Send_private_message 
earl


Joined: 20 Mar 2008
Posts: 29
Location: Halifax, Vermont, USA

PostPosted: Fri 01 Feb 2013, 08:52    Post_subject: Re: How to Install Brother Printers and Scanners
Sub_title: Brother Wireless Printer installation
 

rcrsn51 wrote:
earl wrote:
For some reason my router changed the IP for the printer, so /etc/hosts went to the wrong place

To prevent this from happening again, you need to give your printer a static IP address. There should be a setting for this in the networking section of your printer's control panel.


I'll have to read up on printer as its control panel is not physical but in software, so I'll probably do it in windows on my decktop as its connected to the router

Many thanks - great post...
Back to top
View user's profile Send_private_message 
rcrsn51


Joined: 05 Sep 2006
Posts: 9207
Location: Stratford, Ontario

PostPosted: Fri 01 Feb 2013, 09:09    Post_subject:  

You can probably get to your printer's control panel from Puppy. Start your web browser and enter the printer's IP address as the URL.

If your printer changes IP address again, here is a quick way to find it. Run PeasyPort and scan your network for Port 80 or 9100.
Back to top
View user's profile Send_private_message 
Sage

Joined: 04 Oct 2005
Posts: 4797
Location: GB

PostPosted: Tue 05 Feb 2013, 06:47    Post_subject:  

Pure genius! Managed to delete all my previous mistakes; HL2240 now prints perfectly from Slacko5.4 using your .pet and ghostscript.
Very many thanks. Couldn't have done it without you, rc.
Over and out.
Back to top
View user's profile Send_private_message 
redandwhitestripes

Joined: 02 Jan 2009
Posts: 124

PostPosted: Mon 25 Mar 2013, 10:00    Post_subject:  

Epic failure.

I’m using a wireless network with a Brother MFCJ430W printer and Lucid Pup.
The printer is on the network with no probs, and I can get a ip address a node and a network channel from it.

First I tried installing the .deb versions of the printer driver and cups wrapper.

Tried to find new printer...nothing.

I then found this thread and did the debbi stuff and reinstalled the packages.


Code:
# debbi mfcj430wlpr-3.0.0-1.i386.deb
chown: invalid user: ‘lp’
chgrp: invalid group: ‘lp’
Post-install script completed!
Done!
# debbi mfcj430wcupswrapper-3.0.0-1.i386.deb
cups: restarted scheduler.
lpinfo: Unknown
lpadmin -p MFCJ430W -E -v usb://dev/usb/lp0 -P /usr/share/cups/model/Brother/brother_mfcj430w_printer_en.ppd
Post-install script completed!
Done!



I did notice that etc/local/brother was never created.


Opened Cups (it’s version 1.4.3, BTW) and searched again...nothing.
Did my best to manually install but didn’t really know what I was doing

Tried to install a driver from within CUPS but they were all outdated, my printer didn’t show up.

By contrast, my iphone detects our printer and prints in an instant.

I love Puppy and I know how remarkably versatile it is, so I know it’s only my own ignorance that prevents me understanding how it can connect to a wireless router and access the ‘net with ease, but printing to a wireless printer is such a tough task Sad

Edited_time_total
Back to top
View user's profile Send_private_message 
rcrsn51


Joined: 05 Sep 2006
Posts: 9207
Location: Stratford, Ontario

PostPosted: Mon 25 Mar 2013, 10:30    Post_subject:  

redandwhitestripes wrote:

Opened Cups (it’s version 1.4.3, BTW) and searched again...nothing. Did my best to manually install but didn’t really know what I was doing(


I tested the debbi procedure with the DEBs for your MFCJ430W and it worked correctly.

1. Open the Printers tab. You should see a USB printer that debbi created. Delete it.

2. Open the Administration tab. Select Find New Printers. Depending on your network, this may take several tries. Lucid is slow to find networked printers.

3. If your printer is detected, follow the steps to install it. There are two possibilities.

a. The Connection URI is listed as socket://a.b.c.d. Your printer is installed. Print a test page.

b. The URI is listed as lpd://server/queue. Read in the How-To about adding a line to your /etc/hosts file.

4. If CUPS cannot detect your printer, go to Add Printers and select AppSocket/JetDirect. Use the URI in 3a. above where a.b.c.d is the IP address of your printer.

Edited_time_total
Back to top
View user's profile Send_private_message 
redandwhitestripes

Joined: 02 Jan 2009
Posts: 124

PostPosted: Mon 25 Mar 2013, 22:48    Post_subject:  

Thank you so much for the help. Sadly, still no joy.

I found the USB printer and deleted as you said. Searched for printer, no luck. Manual install, with my printer's static ip address and choose the right printer from the list, still nothing Crying or Very sad

I know it's working as I can print from my iphone.

Never mind though, and thanks again for the help.
Back to top
View user's profile Send_private_message 
rcrsn51


Joined: 05 Sep 2006
Posts: 9207
Location: Stratford, Ontario

PostPosted: Mon 25 Mar 2013, 23:54    Post_subject:  

Do you have the Puppy firewall installed?

Try this command, using the IP address of your printer:
Code:
mpscan -p 9100 a.b.c.d

Or:
Code:
mpscan -p 515 a.b.c.d

Edited_time_total
Back to top
View user's profile Send_private_message 
redandwhitestripes

Joined: 02 Jan 2009
Posts: 124

PostPosted: Tue 26 Mar 2013, 01:33    Post_subject:  

Wow, I didn’t even realise I had a firewall switched on Very Happy

I switched it off and CUPS now sees the printer (major progress?) and I have installed it.

On a first effort to print I got the “unable to locate” error, so I went back and followed your tips from the first post. In etc/hosts I entered:

Code:
192.168.001.040 dhcppc7


But test prints still returned “unable to locate dhcppc7

So I added a couple of varients, the latter of which is the address my browser automatically redirects to when I enter the former (though it still gives me a 404 reply).
Code:


192.168.1.4 dhcppc7
192.168.1.32 dhcppc7


Now test prints just sit in a pending queue, the printer gives no response.

Any advice?

Thanks again.

Back to top
View user's profile Send_private_message 
theinfamousj

Joined: 03 Sep 2006
Posts: 85

PostPosted: Tue 26 Mar 2013, 02:55    Post_subject:  

Thank you rcrsn51. I just bought a Brother laser printer off of Craigslist today and was able to get it up and running with Puppy within a matter of minutes. The hardest thing to do was to figure out where the printer's power button was. Smile

Much obliged by the work you've done here.
Back to top
View user's profile Send_private_message 
rcrsn51


Joined: 05 Sep 2006
Posts: 9207
Location: Stratford, Ontario

PostPosted: Tue 26 Mar 2013, 07:11    Post_subject:  

@redandwhitestripes:

1. What were the results of the mpscan commands?

2. What connection URI are you currently using?

3. Which Lupu version are you using? Some of them had problems with switching the firewall on/off. I would try this with a newer Puppy.

4. To clean out any garbage jobs from the print queue, run "cancel -a"
Back to top
View user's profile Send_private_message 
redandwhitestripes

Joined: 02 Jan 2009
Posts: 124

PostPosted: Tue 26 Mar 2013, 09:17    Post_subject:  

Thanks rcr, here is my console text:
Code:

cat: /usr/local/bin/defaultbrowser: No such file or directory
# mpscan -p 9100 192.168.001.040
# mpscan -p 515 192.168.001.040
# mpscan -p 515 192.168.001.040
# mpscan -p 9100 192.168.001.040
# cat /etc/DISTRO_SPECS
#One or more words that identify this distribution:
DISTRO_NAME='Lucid Puppy'
#A three-digit numeric value, version number of this distribution:
DISTRO_VERSION=525
#A two-digit numeric value, minor-version number of this distribution:
DISTRO_MINOR_VERSION=00
#The distro whose binary packages were used to build this distribution:
DISTRO_BINARY_COMPAT='ubuntu'
#Prefix for some filenames: exs: lupusave.2fs, lupu-525.sfs
DISTRO_FILE_PREFIX='lupu'
#The version of the distro whose binary packages were used to build this distro:
DISTRO_COMPAT_VERSION='lucid'
#the kernel pet package used:
DISTRO_KERNEL_PET='linux_kernel-2.6.33.2-tickless_smp_patched-L3.pet'
#16-byte alpha-numeric ID-string appended to vmlinuz, lupu_525.sfs, zl525332.sfs and devx.sfs:
DISTRO_IDSTRING='l525110402100948'
#Puppy default filenames...
#Note, the 'SFS' files below are what the 'init' script in initrd.gz searches for,
#for the partition, path and actual files loaded, see PUPSFS and ZDRV in /etc/rc.d/PUPSTATE
DISTRO_PUPPYSFS='lupu_525.sfs'
DISTRO_ZDRVSFS='zl525332.sfs'
# cancel -a
#


I'll try and run a live CD with a newer puppy to see if that helps.
Back to top
View user's profile Send_private_message 
rcrsn51


Joined: 05 Sep 2006
Posts: 9207
Location: Stratford, Ontario

PostPosted: Tue 26 Mar 2013, 09:40    Post_subject:  

Quote:
# mpscan -p 9100 192.168.001.040

Run this command WITHOUT the leading zeros, ie.
Quote:
# mpscan -p 9100 192.168.1.40

Does that detect Port 9100?

Lucid 525 was one of the versions with a wonky firewall setup. I would try a different Puppy.

You didn't show me the CUPS Connection URI for your printer. You will see it in the Printers section of CUPS.

I would install the printer again and try "socket://192.168.1.40". Do NOT use leading zeros in the IP address. If that doesn't work, this is definitely a networking issue.

I would also do a test where you connect the printer directly by USB. This will confirm that you have the correct driver for your model.

Quote:
So I added a couple of varients, the latter of which is the address my browser automatically redirects to when I enter the former (though it still gives me a 404 reply).

I don't understand this comment. What is the actual IP address of the printer? Get it from the printer's physical control panel. If you need to add an entry to the hosts file, do NOT use leading zeros in the IP address.
Back to top
View user's profile Send_private_message 
Display_posts:   Sort by:   
Page 6 of 9 Posts_count   Goto page: Previous 1, 2, 3, 4, 5, 6, 7, 8, 9 Next
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » Advanced Topics » Hardware » Printers
Jump to:  

Rules_post_cannot
Rules_reply_cannot
Rules_edit_cannot
Rules_delete_cannot
Rules_vote_cannot
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.1089s ][ Queries: 13 (0.0074s) ][ GZIP on ]