LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   CUPS not working for Brother HL-2140 on 13.37 x86_64 (https://www.linuxquestions.org/questions/slackware-14/cups-not-working-for-brother-hl-2140-on-13-37-x86_64-a-920939/)

metageek 12-28-2011 02:51 PM

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?

jimmy_page_89 12-28-2011 03:40 PM

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

Cedrik 12-28-2011 03:48 PM

Device URI is correct in Cups ?

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

http://welcome.solutions.brother.com...ion_prn1c.html

metageek 12-28-2011 04:01 PM

Quote:

Originally Posted by jimmy_page_89 (Post 4560367)
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 (Post 4560374)
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

Cedrik 12-28-2011 04:29 PM

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

hf2046 12-28-2011 07:49 PM

Brother's Linux drivers page:

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


Hope this helps!

andrew.46 12-28-2011 08:52 PM

Quote:

Originally Posted by metageek (Post 4560334)
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....

jimmy_page_89 12-29-2011 04:31 AM

Hi,
try this ppd on cups:
http://www.mediafire.com/?5locvw2bbik2q57

metageek 12-29-2011 08:43 AM

Quote:

Originally Posted by jimmy_page_89 (Post 4560729)

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.

HenryTheApe 05-16-2014 06:03 PM

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

Could someone upload it again?

kikinovak 05-17-2014 12:53 AM

Quote:

Originally Posted by metageek (Post 4560334)
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

phenixia2003 05-17-2014 04:40 AM

Hello,

Quote:

Originally Posted by HenryTheApe (Post 5172376)
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 07:32 AM.