LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Slackware vs Brother HL-2140 (https://www.linuxquestions.org/questions/slackware-14/slackware-vs-brother-hl-2140-a-742981/)

andrew.46 07-26-2009 07:11 PM

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

allend 07-26-2009 07:58 PM

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.

andrew.46 07-26-2009 08:12 PM

Thanks allend! Your advice has completely resolved the issue and the printer is now running beautifully.

Andrew

arubin 07-27-2009 09:18 AM

I have found that using a program called alien gives better results for converting the Brother rpm packages to tgz

C-Sniper 07-27-2009 02:30 PM

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.

Jbone2007 09-17-2009 07:17 PM

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?

andrew.46 09-17-2009 08:37 PM

Hi Jbone,

Quote:

Originally Posted by Jbone2007 (Post 3687819)
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


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