Register a domain and help support LQ
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 07-26-2009, 07:11 PM   #1
Registered: Oct 2007
Distribution: Slackware
Posts: 672

Rep: Reputation: 97
Slackware vs Brother HL-2140


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:

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,

Old 07-26-2009, 07:58 PM   #2
Senior Member
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware-current
Posts: 3,978

Rep: Reputation: 1098Reputation: 1098Reputation: 1098Reputation: 1098Reputation: 1098Reputation: 1098Reputation: 1098Reputation: 1098
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
Registered: Oct 2007
Distribution: Slackware
Posts: 672

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

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

Rep: Reputation: 57
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
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
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
Registered: Oct 2007
Distribution: Slackware
Posts: 672

Original Poster
Rep: Reputation: 97
Hi Jbone,

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:

All the best,



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
[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

All times are GMT -5. The time now is 01:38 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration