LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 12-02-2007, 08:23 AM   #1
Mark01450
LQ Newbie
 
Registered: Dec 2007
Posts: 2

Rep: Reputation: 0
MFC5840CN installation - one last ditch attempt!


Dear Linux users,

I am a new user running PCLinuxOS, which I really like.
However, I have not yet found a way of getting the software to install the drivers for my Brother MFC5840CN – which is rather limiting in using the OS!!

Any assistance would be much appreciated.

Thus far I have downloaded the rpm files from Brother and installed them using Konsole: “rpm -ivh xxxx.rpm”

One helpful forum member pointed me in the direction of “usr/local/Brother” to locate the downloaded files.

In this directory there are 3 folders: cupswrapper, inf and lpd
The cupswrapper folder has just one file: cupswrapperMFC5840CN-1.0.0 shell script.

The inf folder has several files: brio04aa.bcm, brio04ab.bcm, brio04ac.bcm, bMFC5840CNfunc (plain text doc), brMFC5840CNrc (plain text doc), brPrintListij2 (plain text doc), paperinfij2 (plain text doc), setupPrintcapij (Shell Script)

The lpd folder has 3 files: filterNFC5840CN (Shell Script), psconvertij2 (plain text doc), rastertobrij2 (executable file).

I have attempted to install the printer using CUPS and LPD options on the configuration manager but the printer does not appear on the list. If I attempt to install manually none of the above files are recognised as driver formats.

If anyone can point me in the direction of a driver file (I have the rpm files from the Brother website) I would be grateful. There may be some command or instruction that I have omitted or typed in wrong – please advise. I have attempted most of the instructions I've located from various forums but obviously I'm missing something! (Probably so basic I'll be really embarrassed when I find out!).

I would really like to adopt PCLinuxOS in preference to Windows. If I can't get it to print it is of no use to me at all.

Any advice would be appreciated. My e-mail address is mjkempson.hotmail.com

Regards,

Mark

Last edited by Mark01450; 12-04-2007 at 03:31 AM.
 
Old 12-02-2007, 08:55 AM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,332
Blog Entries: 55

Rep: Reputation: 3533Reputation: 3533Reputation: 3533Reputation: 3533Reputation: 3533Reputation: 3533Reputation: 3533Reputation: 3533Reputation: 3533Reputation: 3533Reputation: 3533
Quote:
Originally Posted by Mark01450 View Post
The cupswrapper folder has just one file: cupswrapperMFC5840CN-1.0.0 shell script.
According to this page the script should be run to produce the PPD profile and a brlpdwrapper (though that could be for the MFC3820CN only). Read the first lines of the script to find out if it's a regular BASH script or a C-shell one. Read the bottom of the page too, it's got some stuff to try (dunno if necessary) like copying files to a location CUPS recognises (/usr/share/cups, makes sense). BTW, posting your e-mail address isn't necessary: ask a question here, get replies here.
 
Old 12-04-2007, 03:44 AM   #3
Mark01450
LQ Newbie
 
Registered: Dec 2007
Posts: 2

Original Poster
Rep: Reputation: 0
META_CLASS undefined variable

I attempted to reinstall the drivers using the "--force" command.
The lpd driver appears to have loaded properly but the cupswrapper came back with the following:
META_CLASS: undefined variable
error: %post (cupswrapperMFC5840CN-1.0.0-1.i386.rpm) scriplet failed, exit status 1

I was advised by another forum member to edit file "etc/profile.d/10pclinuxos-release.csh" so that the line "setenv META_CLASS $META_CLASS" reads "setenv META_CLASS"

I have attempted reinstallation with the the line in both scripts but with the same result.

Any clues?

Regards,

Mark
 
Old 12-04-2007, 07:56 PM   #4
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,332
Blog Entries: 55

Rep: Reputation: 3533Reputation: 3533Reputation: 3533Reputation: 3533Reputation: 3533Reputation: 3533Reputation: 3533Reputation: 3533Reputation: 3533Reputation: 3533Reputation: 3533
The only caveat wrt "META_CLASS: undefined variable" I can remember is that setenv stuff in 10pclinuxos-release.csh will only be read in if you open up a *new* csh shell. If you open a terminal with csh and you type 'setenv', does it show a line "META_CLASS="? What happens if you type 'csh -x /usr/local/Brother/cupswrapper/cupswrapperMFC5840CN-1.0.0 -i'?
 
  


Reply


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
Ditch the CDs bonito SUSE / openSUSE 7 08-07-2006 10:32 AM
No CDROM device found upon installation attempt Osiris22 Linux - Hardware 6 01-14-2006 07:41 PM
Help me ditch Windoze XP Marbles SUSE / openSUSE 15 10-19-2004 03:13 PM
!!URGENT!! Need help, about to attempt a dual boot installation!!! Ausar Linux - Newbie 3 10-03-2004 08:17 PM
last ditch effort at debian race Debian 11 03-22-2004 11:20 PM


All times are GMT -5. The time now is 02:41 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration