How to Install Brother Printers and Scanners
Posted: Mon 18 May 2009, 02:36
This project has been discontinued. The information was out of date and unreliable.
READ-ONLY Archive
https://oldforum.puppylinux.com/
Code: Select all
exit 0
Code: Select all
exit
Hi rcrsn51 don't be impressed! Sorry when I did stupid things.rcrsn51 wrote:It looks like some of these wrapper scripts are written for the C-shell instead of the Bourne shell used by Puppy. I'm impressed by the fact that you decided to install the tcsh shell instead!
From your error message, it appears that the only problem is with the actual "exit(0)" command. I would try replacing these lines withor maybe justCode: Select all
exit 0
Code: Select all
exit
Code: Select all
tcsh cupswrapperxxx -i
Code: Select all
#! /usr/bin/tcsh
Code: Select all
libbrcompij2.so.1
Having played with this some more, I don't think that you need to change the script. Instead do the following:
1. Go to /usr/local/Brother/.../cupswrapper and run the command
Code:
tcsh cupswrapperxxx -i
This should run the installer script without errors using the tcsh shell.
2. Go to the folder /usr/lib/cups/filter and open the file brlpdwrapperMFC210C in a text editor. Change the top line to
Code:
#! /usr/bin/tcsh
This will make the printer filter run in the correct shell.
3. Go to /usr/lib and locate the file "libbrcompij2.so.1.0.2". You need to create another file named "libbrcompij2.so.1". Right-click on this file and select "Link". Change the name to:
Code:
libbrcompij2.so.1
Just carefully delete the ".0.2" off the end.
If this works correctly, you should see the second file with an arrow on its icon. This is a symlink to the other file.
Now run CUPS and add your printer.
Code: Select all
debbi brscan2-0.2.4-0.i386.deb
Thanks for that useful piece of information!For Brother Scanners in a Network:
Execute a command like:
brsaneconfig2 -a name=scanner model=DCP-315CN ip=192.168.x.x
Start Sane, choose USB Port and Sane will find your network scanner!
hello rcrsn51,rcrsn51 wrote:Glad to help. I did a test install of your MFC7440N driver using the new "debbi" script and it worked perfectly. This should make the installation of Brother printers pretty straight forward.
The csh shell is required by a small group of printers listed here.
Code: Select all
socket://10.0.0.53:9100
Let's do some math. Brother has Linux drivers for about 200 models. When they are turned into installable PETs for Puppy, each one is about 1 MB in size. So the total Brother driver package is about 200 MB. Compare this to the 100 MB size of a Puppy ISO and you can see the problem.Why isn't Linux more straightforward.
Fair enough. I just built a PET for your HL2150N and posted it above. It took about 20 minutes. When I have some spare time, I'll start working on the other 199 modelsStrampke wrote:For simple users like me maybe a pet would do.
Go into your CUPS settings and check Printer Options. The Media Size is probably set to Letter. Change it there.aracnachid wrote: I am having a problem getting the printer to print in A4 I changed the paper size to A4 in the above fore-mentioned file and when I print a test page I reverts to Letter size paper......... any ideas anyone?