LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 07-26-2009, 07:11 PM   #1
andrew.46
Senior Member
 
Registered: Oct 2007
Distribution: Slackware
Posts: 1,365

Rep: Reputation: 493Reputation: 493Reputation: 493Reputation: 493Reputation: 493
Slackware vs Brother HL-2140


Hi,

I am having some trouble setting up a Brother HL-2140 printer under Slackware 12.2 using cups.

As the printer does not have a specific setting under cups (and none of the close model numbers work) I downloaded the 2 rpms here:

http://solutions.brother.com/linux/e...n.html#HL-2140

and converted them both with rpm2tgz + installed the resulting packages. However HL-2140 does not subsequently appear as cups option. Can anybody guide me a little here?

Thanks for your trouble,

Andrew
 
Old 07-26-2009, 07:58 PM   #2
allend
LQ 5k Club
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware64-15.0
Posts: 6,377

Rep: Reputation: 2757Reputation: 2757Reputation: 2757Reputation: 2757Reputation: 2757Reputation: 2757Reputation: 2757Reputation: 2757Reputation: 2757Reputation: 2757Reputation: 2757
Slackware has /etc/init.d symlinked to /etc/rc.d/init.d. Before running the Brother scripts, it may help to create a symlink in /etc/rc.d/init.d which points to the Slackware cups start/stop/restart script.
i.e ln -s /etc/rc.d/rc.cups /etc/rc.d/init.d/cups

Also, Brother scripts are written for cshell, so when you run the scripts, switch to a cshell first. i.e Type 'csh' at the bash prompt.
 
1 members found this post helpful.
Old 07-26-2009, 08:12 PM   #3
andrew.46
Senior Member
 
Registered: Oct 2007
Distribution: Slackware
Posts: 1,365

Original Poster
Rep: Reputation: 493Reputation: 493Reputation: 493Reputation: 493Reputation: 493
Thanks allend! Your advice has completely resolved the issue and the printer is now running beautifully.

Andrew
 
Old 07-27-2009, 09:18 AM   #4
arubin
Senior Member
 
Registered: Mar 2004
Location: Middx UK
Distribution: Slackware64 15.0 (multilib)
Posts: 1,350

Rep: Reputation: 75
I have found that using a program called alien gives better results for converting the Brother rpm packages to tgz
 
Old 07-27-2009, 02:30 PM   #5
C-Sniper
Member
 
Registered: Dec 2006
Distribution: Slackware
Posts: 507

Rep: Reputation: 33
I have the HL-2170W and i just use the HL-1270 drivers. It all works for me. Try looking at some of the otherdrivers or see what CUPS recommends.
 
Old 09-17-2009, 07:17 PM   #6
Jbone2007
LQ Newbie
 
Registered: Jan 2008
Posts: 4

Rep: Reputation: 0
I am trying to get my brother hl-2140 working with slack 12.1
I created the link as stated above and used pkgtool to install both lpr and wrapper
after converting from rpm to tgz.
The printer does not show up on the cups add printer list.
I searched around and found some files under /usr/local/Brother.
Still I could not get a test page to print.
Any ideas?
 
Old 09-17-2009, 08:37 PM   #7
andrew.46
Senior Member
 
Registered: Oct 2007
Distribution: Slackware
Posts: 1,365

Original Poster
Rep: Reputation: 493Reputation: 493Reputation: 493Reputation: 493Reputation: 493
Hi Jbone,

Quote:
Originally Posted by Jbone2007 View Post
I searched around and found some files under /usr/local/Brother.
I believe you will need to run the script found here:

Code:
/usr/local/Brother/cupswrapper/cupswrapperHL2140-2.0.2
All the best,

Andrew
 
  


Reply



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] HP Mini 2140 kernel config jelezarov Linux - Laptop and Netbook 8 07-11-2009 08:31 AM
HP Mini 2140 on CentOS or RHEL 5.2 bentz Linux - Hardware 0 06-01-2009 11:09 PM
kubuntu 7.04, not installing brother 2140 b/w laser printer rwobbs Linux - Newbie 4 05-17-2009 10:54 PM
Brother scanner in Slackware Mig21 Slackware 12 10-20-2007 01:24 PM
Brother HL-2040 and Slackware 11.0 conflict DragonM15 Linux - Hardware 3 11-18-2006 02:41 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 03:03 PM.

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
Open Source Consulting | Domain Registration