LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 12-28-2011, 02:51 PM   #1
metageek
Member
 
Registered: Jun 2007
Location: Farmington, CT
Distribution: Slackware64
Posts: 208

Rep: Reputation: 45
CUPS not working for Brother HL-2140 on 13.37 x86_64


I'm trying to get this printer to work under cups in Slackware 13.37 x86_64. I am working on a pure 64-bit system and do not want to install 32-bit libraries.

So far I tried many different CUPS+Gutenprint drivers, including HL-2060, HL-1250 MFC-8300 PCL5e PCL6. None of them work, at most what I get is that the printer starts working but then no page comes out; while CUPS thinks that the job was printed (the logs show success)...

However the printer works fine when I use ghostscript directly from the command line using a command I found on a previous thread:

Code:
gs -dNOPAUSE -dSAFER -sDEVICE=hl1250 -sOutputFile=/dev/usb/lp0 \
-dDOINTERPOLATE -dGraphicsAlphaBits=4 -r600 file.ps -c quit
(this appears to show that the HL-1250 driver should work, but the one in CUPS does not)

So the question is how to get this to work with CUPS? Surely this must be simple if gs is already working. Any ideas?
 
Old 12-28-2011, 03:40 PM   #2
jimmy_page_89
Member
 
Registered: Sep 2010
Location: Turin (Italy)
Distribution: Slackware 14.2
Posts: 51

Rep: Reputation: 4
Try to search for a ppd on openprinting.
Only in the last year they add a ppd for my hl-2030, maybe you can find one for your 2040
 
Old 12-28-2011, 03:48 PM   #3
Cedrik
Senior Member
 
Registered: Jul 2004
Distribution: Slackware
Posts: 2,140

Rep: Reputation: 244Reputation: 244Reputation: 244
Device URI is correct in Cups ?

(usb://Brother/(your printer's model name)

http://welcome.solutions.brother.com...ion_prn1c.html
 
Old 12-28-2011, 04:01 PM   #4
metageek
Member
 
Registered: Jun 2007
Location: Farmington, CT
Distribution: Slackware64
Posts: 208

Original Poster
Rep: Reputation: 45
Quote:
Originally Posted by jimmy_page_89 View Post
Try to search for a ppd on openprinting.
Only in the last year they add a ppd for my hl-2030, maybe you can find one for your 2040
openprinting.org has been unreachable all day.

---------- Post added 12-28-11 at 10:01 PM ----------

Quote:
Originally Posted by Cedrik View Post
Device URI is correct in Cups ?

(usb://Brother/(your printer's model name)

http://welcome.solutions.brother.com...ion_prn1c.html
yes, it is: usb://Brother/HL-2140%20series
 
Old 12-28-2011, 04:29 PM   #5
Cedrik
Senior Member
 
Registered: Jul 2004
Distribution: Slackware
Posts: 2,140

Rep: Reputation: 244Reputation: 244Reputation: 244
I would try a valid name, I mean a name present in
/usr/share/gutenprint/5.2/xml/printers.xml
Maybe use another number, like : usb://Brother/HL-1250

or use this:
http://www.profv.de/brother/

Then: usb://Brother/HL-2140

Last edited by Cedrik; 12-28-2011 at 04:30 PM.
 
Old 12-28-2011, 07:49 PM   #6
hf2046
Member
 
Registered: Mar 2011
Distribution: Slack64
Posts: 111

Rep: Reputation: 20
Brother's Linux drivers page:

http://welcome.solutions.brother.com.../en/index.html


Hope this helps!
 
Old 12-28-2011, 08:52 PM   #7
andrew.46
Senior Member
 
Registered: Oct 2007
Distribution: Slackware
Posts: 1,378

Rep: Reputation: 494Reputation: 494Reputation: 494Reputation: 494Reputation: 494
Quote:
Originally Posted by metageek View Post
I'm trying to get this printer to work under cups in Slackware 13.37 x86_64. I am working on a pure 64-bit system and do not want to install 32-bit libraries.
Hmmm... so these are no good for you?

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

Mine works nicely with these on 32bit....
 
Old 12-29-2011, 04:31 AM   #8
jimmy_page_89
Member
 
Registered: Sep 2010
Location: Turin (Italy)
Distribution: Slackware 14.2
Posts: 51

Rep: Reputation: 4
Hi,
try this ppd on cups:
http://www.mediafire.com/?5locvw2bbik2q57
 
Old 12-29-2011, 08:43 AM   #9
metageek
Member
 
Registered: Jun 2007
Location: Farmington, CT
Distribution: Slackware64
Posts: 208

Original Poster
Rep: Reputation: 45
Quote:
Originally Posted by jimmy_page_89 View Post
That did it! This PPD works like a charm, now I have the printer working under 64 bits without any 32-bit library. Just one correction from the instructions you have on that web page: for Slackware this PPD goes into /usr/share/cups/model/Brother (you may have to create the last folder "../Brother")

Did not try the PPD from Cedrik since this one works, perhaps his would work too. Thanks for all the suggestions, this was a quick resolution. Will mark this as solved.
 
1 members found this post helpful.
Old 05-16-2014, 06:03 PM   #10
HenryTheApe
LQ Newbie
 
Registered: May 2014
Posts: 1

Rep: Reputation: Disabled
PPD-File missing

Hi there!
I have the same problem.
unfortunately the PPD-file on mediafire is 404

Could someone upload it again?
 
Old 05-17-2014, 12:53 AM   #11
kikinovak
MLED Founder
 
Registered: Jun 2011
Location: Montpezat (South France)
Distribution: CentOS, OpenSUSE
Posts: 3,453

Rep: Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154
Quote:
Originally Posted by metageek View Post
I'm trying to get this printer to work under cups in Slackware 13.37 x86_64. I am working on a pure 64-bit system and do not want to install 32-bit libraries.
I've setup several Brother HL-2030, HL-2035 and the likes for clients, since this is a very popular printer here. For these printers to work correctly, you have to use the drivers provided by Brother. For these to work, you'll need the basic Multilib packages on a 64-bit system.

Code:
# cd /usr/local/Brother/cupswrapper
# ldd brcupsconfig3
  linux-gate.so.1 =>  (0xffffe000)                                                               
  libc.so.6 => /lib/libc.so.6 
  (0xf75dc000)
  /lib/ld-linux.so.2 (0xf7759000)
Cheers,

Niki

Last edited by kikinovak; 05-17-2014 at 12:55 AM.
 
Old 05-17-2014, 04:40 AM   #12
phenixia2003
Senior Member
 
Registered: May 2006
Location: France
Distribution: Slackware
Posts: 1,052

Rep: Reputation: 1008Reputation: 1008Reputation: 1008Reputation: 1008Reputation: 1008Reputation: 1008Reputation: 1008Reputation: 1008
Hello,

Quote:
Originally Posted by HenryTheApe View Post
Hi there!
I have the same problem.
unfortunately the PPD-file on mediafire is 404

Could someone upload it again?
I have a brother HL-2130 and since I had troubles with the proprietary driver, I choosed to use the hpijs-pcl5e (for HL-2140) from openprinting.org. The only drawback is the limited resolution to 600x600dpi. To get this PPD, go here, select Brother HL-2140 in the printers list, then generate ppd file.

--
SeB
 
  


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
Printer Brother HL-2140 thedoctor Linux - Newbie 1 03-18-2010 11:37 AM
[SOLVED] Brother HL-2140 & Slackware 13.0 xomz Slackware 3 12-15-2009 04:05 AM
[SOLVED] Brother HL-2140 will not print on Slack64 13.0... fedoralinuxjunkie Slackware 7 10-22-2009 09:56 PM
[SOLVED] Slackware vs Brother HL-2140 andrew.46 Slackware 6 09-17-2009 08:37 PM
kubuntu 7.04, not installing brother 2140 b/w laser printer rwobbs Linux - Newbie 4 05-17-2009 10:54 PM

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

All times are GMT -5. The time now is 06:01 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