Slackware This Forum is for the discussion of Slackware Linux.
|
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
12-28-2011, 02:51 PM
|
#1
|
Member
Registered: Jun 2007
Location: Farmington, CT
Distribution: Slackware64
Posts: 208
Rep:
|
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?
|
|
|
12-28-2011, 03:40 PM
|
#2
|
Member
Registered: Sep 2010
Location: Turin (Italy)
Distribution: Slackware 14.2
Posts: 51
Rep:
|
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
|
|
|
12-28-2011, 04:01 PM
|
#4
|
Member
Registered: Jun 2007
Location: Farmington, CT
Distribution: Slackware64
Posts: 208
Original Poster
Rep:
|
Quote:
Originally Posted by jimmy_page_89
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
|
yes, it is: usb://Brother/HL-2140%20series
|
|
|
12-28-2011, 04:29 PM
|
#5
|
Senior Member
Registered: Jul 2004
Distribution: Slackware
Posts: 2,140
|
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.
|
|
|
12-28-2011, 07:49 PM
|
#6
|
Member
Registered: Mar 2011
Distribution: Slack64
Posts: 111
Rep:
|
|
|
|
12-28-2011, 08:52 PM
|
#7
|
Senior Member
Registered: Oct 2007
Distribution: Slackware
Posts: 1,378
|
Quote:
Originally Posted by metageek
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....
|
|
|
12-29-2011, 04:31 AM
|
#8
|
Member
Registered: Sep 2010
Location: Turin (Italy)
Distribution: Slackware 14.2
Posts: 51
Rep:
|
|
|
|
12-29-2011, 08:43 AM
|
#9
|
Member
Registered: Jun 2007
Location: Farmington, CT
Distribution: Slackware64
Posts: 208
Original Poster
Rep:
|
Quote:
Originally Posted by jimmy_page_89
|
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.
|
05-16-2014, 06:03 PM
|
#10
|
LQ Newbie
Registered: May 2014
Posts: 1
Rep:
|
PPD-File missing
Hi there!
I have the same problem.
unfortunately the PPD-file on mediafire is 404
Could someone upload it again?
|
|
|
05-17-2014, 12:53 AM
|
#11
|
MLED Founder
Registered: Jun 2011
Location: Montpezat (South France)
Distribution: CentOS, OpenSUSE
Posts: 3,453
|
Quote:
Originally Posted by metageek
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.
|
|
|
05-17-2014, 04:40 AM
|
#12
|
Senior Member
Registered: May 2006
Location: France
Distribution: Slackware
Posts: 1,052
|
Hello,
Quote:
Originally Posted by HenryTheApe
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
|
|
|
All times are GMT -5. The time now is 06:01 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|