LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 10-06-2016, 07:35 AM   #61
kjhambrick
Senior Member
 
Registered: Jul 2005
Location: Round Rock, TX
Distribution: Slackware64 14.2 + Multilib
Posts: 1,484

Rep: Reputation: 921Reputation: 921Reputation: 921Reputation: 921Reputation: 921Reputation: 921Reputation: 921Reputation: 921

SeB --

Does this mean that all I really need is the proper PPD File and that foomatic will do the required magic to print to a Brother GDI Printer ?

Thanks.

-- kjh
 
Old 10-06-2016, 07:46 AM   #62
vonbiber
Member
 
Registered: Apr 2009
Distribution: slackware 14.1 64-bit, slackware 14.2 64-bit, SystemRescueCD
Posts: 481

Original Poster
Rep: Reputation: 110Reputation: 110
Actually, according to the Brother web site, you can use the HL-2030 drivers
for the HL-2035 model:
http://support.brother.com/g/s/id/li...n.html#HL-2030

Direct links to download the RPMs:

http://www.brother.com/pub/bsc/linux...0.1-1.i386.rpm
http://www.brother.com/pub/bsc/linux...0.1-1.i386.rpm

There's a brcupsconfig3 there but all the binaries are 32-bit.

So I suppose it should be possible to build an HL2030 package with these archives,
and in cups select the HL-2030 for your HL-2035 printer

One thing I can't figure out is why does Brother provide source for the cupswrapper
but doesn't provide the source for the lpr...
 
1 members found this post helpful.
Old 10-06-2016, 07:49 AM   #63
vonbiber
Member
 
Registered: Apr 2009
Distribution: slackware 14.1 64-bit, slackware 14.2 64-bit, SystemRescueCD
Posts: 481

Original Poster
Rep: Reputation: 110Reputation: 110
Quote:
Originally Posted by kjhambrick View Post
Where should brcupsconfig3 be installed for CUPS ( 32 bit vs 64 bit ) ?
My guess: /usr/lib$LIBDIRSUFFIX/cups/filter
 
1 members found this post helpful.
Old 10-06-2016, 07:54 AM   #64
kjhambrick
Senior Member
 
Registered: Jul 2005
Location: Round Rock, TX
Distribution: Slackware64 14.2 + Multilib
Posts: 1,484

Rep: Reputation: 921Reputation: 921Reputation: 921Reputation: 921Reputation: 921Reputation: 921Reputation: 921Reputation: 921
“Curiouser and curiouser!” Cried Alice (she was so much surprised, that for the moment she quite forgot how to speak good English).”
 
Old 10-06-2016, 08:08 AM   #65
joenew
Member
 
Registered: Mar 2010
Distribution: slackware 14.2 64bit
Posts: 149

Rep: Reputation: 21
Thanks a lot for your speedy answers!

I've already tried openprinting "hl1250" PPD driver. But it doesn't seems to work as expected: my printer prints in a very low quality and print queue crashes too often, moreover if I launch even a single page printing the printer starts to work after too much time.. and often doesn't prints anything at all.
Also cups builtin driver "guteprint" is not able to make hl-2035 printing at all: it just makes printer fan noise, but no sheet is moved...

So I would avoid both hl1250 driver and guteprint...
The only way to make that printer working seems to install Brother drivers. As I wrote in a previous post, I have used HL-2030 RPM drivers for years with slackware 14.0 32bit... and if I well remember I was able to set also 1200 HQ printing quality.



EDIT:
Ok your replies are really too fast!
 
Old 10-06-2016, 08:21 AM   #66
phenixia2003
Member
 
Registered: May 2006
Location: France
Distribution: Slackware
Posts: 963

Rep: Reputation: 902Reputation: 902Reputation: 902Reputation: 902Reputation: 902Reputation: 902Reputation: 902Reputation: 902
Hello,

Quote:
Originally Posted by joenew View Post
Thanks a lot for your speedy answers!

I've already tried openprinting "hl1250" PPD driver. But it doesn't seems to work as expected: my printer prints in a very low quality and print queue crashes too often, moreover if I launch even a single page printing the printer starts to work after too much time.. and often doesn't prints anything at all.
Also cups builtin driver "guteprint" is not able to make hl-2035 printing at all: it just makes printer fan noise, but no sheet is moved...

So I would avoid both hl1250 driver and guteprint...
The only way to make that printer working seems to install Brother drivers. As I wrote in a previous post, I have used HL-2030 RPM drivers for years with slackware 14.0 32bit... and if I well remember I was able to set also 1200 HQ printing quality.



EDIT:
Ok your replies are really too fast!
I just read this page, and maybe you should give a try to the hl7x0 driver.

--
SeB
 
Old 10-06-2016, 08:49 AM   #67
joenew
Member
 
Registered: Mar 2010
Distribution: slackware 14.2 64bit
Posts: 149

Rep: Reputation: 21
Quote:
Originally Posted by vonbiber View Post
So I suppose it should be possible to build an HL2030 package with these archives,
and in cups select the HL-2030 for your HL-2035 printer

One thing I can't figure out is why does Brother provide source for the cupswrapper
but doesn't provide the source for the lpr...
As I reported, I have used those drivers for years even if my printer model is HL-2035 rather than HL-2030. Years ago I converted RPM packages with rpm2tgz... but I can't remember exactly all details about after installing configuration. Here the content of that tgz package found in my 2011 backups:

Code:
tar -tvf brhl2030lpr-2.0.1-i386-1.tgz
drwxr-xr-x root/root         0 2011-01-03 15:53 ./
drwxr-xr-x root/root         0 2011-01-03 15:53 usr/
drwxr-xr-x root/root         0 2011-01-03 15:53 usr/bin/
-rwxr-xr-x root/root       191 2007-04-06 01:31 usr/bin/brprintconfiglpr2
-rwxr-xr-x root/root     20872 2007-04-06 01:31 usr/bin/brprintconflsr2
drwxr-xr-x root/root         0 2011-01-03 15:53 usr/lib/
-rwxr-xr-x root/root     45104 2007-04-06 01:31 usr/lib/libbrcomplpr2.so
drwxr-xr-x root/root         0 2011-01-03 15:53 usr/local/
drwxr-xr-x root/root         0 2011-01-03 15:53 usr/local/Brother/
drwxr-xr-x root/root         0 2011-01-03 15:53 usr/local/Brother/inf/
-rw-r--r-- root/root       651 2007-04-06 01:31 usr/local/Brother/inf/brHL2030func
-rw-rw-rw- root/root       165 2007-04-06 01:31 usr/local/Brother/inf/brHL2030rc
-rwxr-xr-x root/root      5604 2007-04-06 01:31 usr/local/Brother/inf/braddprinter
-rw-r--r-- root/root       215 2007-04-06 01:31 usr/local/Brother/inf/paperinf
-rwxr-xr-x root/root      1623 2007-04-06 01:31 usr/local/Brother/inf/setupPrintcap
drwxr-xr-x root/root         0 2011-01-03 15:53 usr/local/Brother/lpd/
-rwxr-xr-x root/root      7908 2007-04-06 01:31 usr/local/Brother/lpd/filterHL2030
-rwxr-xr-x root/root      3150 2007-04-06 01:31 usr/local/Brother/lpd/psconvert2
-rwxr-xr-x root/root     15328 2007-04-06 01:31 usr/local/Brother/lpd/rawtobr2
drwxr-xr-x root/root         0 2011-01-03 15:53 var/
drwxr-xr-x root/root         0 2011-01-03 15:53 var/spool/
drwxr-xr-x root/root         0 2011-01-03 15:53 var/spool/lpd/
drw-r--r-- root/root         0 2007-04-06 01:31 var/spool/lpd/HL2030/
Anyway also I was curious about brother sources. That's why I've asked here

@phenixia
I'll look at GDI page... but under hl7x0 my brother HL-2035 is not listed... I can only generate a PPD file for the following models:
Code:
Printer list

Brother DCP-8045D
Brother HL-1020
Brother HL-1040
Brother HL-720
Brother HL-730
Brother HL-820
Brother MFC-8300
Brother MFC-8600
Brother MFC-9050
 
Old 10-06-2016, 09:11 AM   #68
kjhambrick
Senior Member
 
Registered: Jul 2005
Location: Round Rock, TX
Distribution: Slackware64 14.2 + Multilib
Posts: 1,484

Rep: Reputation: 921Reputation: 921Reputation: 921Reputation: 921Reputation: 921Reputation: 921Reputation: 921Reputation: 921
All --

If someone has Slackware 14.0 or 14.1 installed ( I don't ), what do you see for this command ?

Code:
grep -i hl7 /var/log/packages/ghostscript-[0-9]*
Seems like I read somewhere that ghostscript no longer includes hl7x0 ???

-- kjh
 
Old 10-06-2016, 09:15 AM   #69
vonbiber
Member
 
Registered: Apr 2009
Distribution: slackware 14.1 64-bit, slackware 14.2 64-bit, SystemRescueCD
Posts: 481

Original Poster
Rep: Reputation: 110Reputation: 110
Quote:
Originally Posted by kjhambrick View Post
All --

If someone has Slackware 14.0 or 14.1 installed ( I don't ), what do you see for this command ?

Code:
grep -i hl7 /var/log/packages/ghostscript-[0-9]*
Seems like I read somewhere that ghostscript no longer includes hl7x0 ???

-- kjh
Code:
$ cat /etc/slackware-version
Slackware 14.1

$ grep -i hl7 /var/log/packages/ghostscript-[0-9]*
blank result
 
Old 10-06-2016, 09:34 AM   #70
offgridguy
Senior Member
 
Registered: Nov 2015
Location: Alberta Canada
Distribution: Windows10, Debian
Posts: 1,109

Rep: Reputation: 147Reputation: 147
Just curious, but are Brother Printer drivers just harder to install in Slackware than other models?
Since Slackware, and many other distros come with hplip, does this make HP Printers easier to configure?
My Brother Printer is very easy to configure with Debian, Ubuntu and Mint but maybe for Slackware and other distro's
HP would be a better choice, just wondering.
I am just happy that my Brother does work with Slackware (with a lot of help from vonbiber).
 
Old 10-06-2016, 09:55 AM   #71
phenixia2003
Member
 
Registered: May 2006
Location: France
Distribution: Slackware
Posts: 963

Rep: Reputation: 902Reputation: 902Reputation: 902Reputation: 902Reputation: 902Reputation: 902Reputation: 902Reputation: 902
Hello,

In the HL-2035 manual (pdf), there's the following note:

Code:
For more infomation about Generic PCL Driver and Linux printer driver,please visit our web site at http://solutions.brother.com
So, I'm wondering if this printer also support PCL, in which case the generic PCL5e driver should work, as for my Brother HL-2130. Furthermore, the HL-2035 is listed in hpijs-pcl5e driver page.

[edit]
Notet that Windows driver for HL-2035 includes a PCL driver :
Code:
$ ls /home/seb/sandbox/tmp/driver/pcl/win2k_xp/english/
BH2030.PPD    be2030.da_   bh2040.da_   bh2075n.in_   brmd04.ex_    brsp304b.dl_  bw2075n.in_
BH2040.PPD    be2040.da_   bh2040.in_   brbhl04b.dl_  brohl04b.dl_  brsp404b.dl_
BH2045.PPD    be2045.da_   bh2045.da_   brbil04b.dl_  brohl04b.hl_  bruhl04b.dl_
BH2070N.PPD   be2070n.da_  bh2045.in_   brbnl04b.dl_  brqikmon.ex_  bw2030.in_
BH2075N.PPD   be2075n.da_  bh2070n.da_  brbol04b.dl_  brqikmon.hl_  bw2040.in_
BROHL04B.CAT  bh2030.da_   bh2070n.in_  brbul04b.dl_  brsp104b.dl_  bw2045.in_
BROHL04B.INF  bh2030.in_   bh2075n.da_  brlhl04b.dl_  brsp204b.dl_  bw2070n.in_
[/edit]

--
Seb
 
Old 10-06-2016, 10:47 AM   #72
joenew
Member
 
Registered: Mar 2010
Distribution: slackware 14.2 64bit
Posts: 149

Rep: Reputation: 21
Interesting...
I've tried to generate that driver:
http://www.openprinting.org/driver/hpijs-pcl5e/

Then I loaded from CUPS web interface and it seems to work.
I tried to print a page and this driver seems to be able to manage the printer.
Notes:
- Printer max quality available seems to be 600x600 dpi, not 1200.
- I tried to print page of a PDF opened with Okular. I print it on A4 format paper, expected it reduce a bit the "pdf image" to fit exactly in A4 page, but I noticed the printed document is actually reduced/scaled a little, but it is cut away on the left and right margins... May be a my mistake with margins options, I don't know which configuration option to check.
- Page elaboration is very slow. With my previous configuration (slack-14.0 + brother hl-2030 drivers) it was much faster.

Anyway I think this could be a good alternative to proprietary brother drivers. Thanks for your suggest phenixia!
 
Old 10-06-2016, 11:02 AM   #73
phenixia2003
Member
 
Registered: May 2006
Location: France
Distribution: Slackware
Posts: 963

Rep: Reputation: 902Reputation: 902Reputation: 902Reputation: 902Reputation: 902Reputation: 902Reputation: 902Reputation: 902
Hello,

Quote:
Originally Posted by joenew View Post
Interesting...
I've tried to generate that driver:
http://www.openprinting.org/driver/hpijs-pcl5e/

Then I loaded from CUPS web interface and it seems to work.
I tried to print a page and this driver seems to be able to manage the printer.
Notes:
- Printer max quality available seems to be 600x600 dpi, not 1200.
Yes that's the main drawback of this driver. In my case, I prefer to use this driver and loose the possibility to have HQ instead of having the troubles I had with proprietary driver (printer spitting a bunch of pages with codes on them instead of printing the document).

Quote:
Originally Posted by joenew View Post
- I tried to print page of a PDF opened with Okular. I print it on A4 format paper, expected it reduce a bit the "pdf image" to fit exactly in A4 page, but I noticed the printed document is actually reduced/scaled a little, but it is cut away on the left and right margins... May be a my mistake with margins options, I don't know which configuration option to check.
- Page elaboration is very slow. With my previous configuration (slack-14.0 + brother hl-2030 drivers) it was much faster.
Can't tell you how to fix that. Maybe you can try the PCL driver for HL2030 instead. In my case, the HL2130 was not listed on driver page, so I tried others and the driver for HL2140 was the right one.

--
SeB
 
Old 10-06-2016, 11:34 AM   #74
joenew
Member
 
Registered: Mar 2010
Distribution: slackware 14.2 64bit
Posts: 149

Rep: Reputation: 21
I almost solved the cut margins issue... I try to open the same pdf page by using chromium builtin PDF plugin instead of Okular. Then I tried printing it and I noticed "adapt to page" option was selected. The resulted print is ok margins included.
So I think there might be some options also in okular to "fit" the whole pdf page into the sheet format (A4) of paper source.
I also tried to print using:
Code:
lpr file.pdf
But also this time final lateral margins are cut away on the final print.
 
Old 10-06-2016, 01:00 PM   #75
FredGSanford
Senior Member
 
Registered: Nov 2005
Location: USA
Distribution: Mageia 7 - Debian 10 - Artix Linux
Posts: 1,142
Blog Entries: 5

Rep: Reputation: 207Reputation: 207Reputation: 207
Quote:
Originally Posted by vonbiber View Post
@FredGSanford
Code:
I have a Brother MFC-5440cn printer and run Salix OS (slackware based). I have gotten the printer setup through Cups webpage but nothing prints out. It did work when I used the 32 bit version OS. I've also ran into the "nothing prints" with other 64 bit distros
The binaries are probably 32-bit. To be able to use them on a 64-bit system you'll need some 32-bit compatible
libraries (see details here:
http://vonbiber.byethost17.com/slackware/SlackBuilds/)
I installed those mention using command, "installpkg filename.txz" and rebooted, I still get nothing to print. This is what the Cups web interface is showing:
PHP Code:
Brother_MFC-5440CN (IdleAccepting JobsNot Shared
I don't know what else to do. I had followed this mini HowTo on Salix website originally. It was for the 32 bit distro.
https://forum.salixos.org/viewtopic.php?f=30&t=2857

Thanks for your time.

***EDIT***
Here is what Cups Error Log have.
https://bpaste.net/show/3811ee37649d

One thing I notice it mention is these are unknown directives:
BrowseOrder allow,deny
BrowseAllow all

What should it have listed?

Last edited by FredGSanford; 10-06-2016 at 01:14 PM.
 
  


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
[SOLVED] brother printer drivers randyvh Linux - Newbie 5 10-09-2015 06:01 PM
Brother DCP-J4110DW printer-Drivers Nuffield Linux - Newbie 2 02-06-2015 06:59 PM
Drivers for Brother MFC J430 w printer jbander Linux - Hardware 1 07-26-2013 07:44 PM
Unable to install Brother printer drivers siouxzieq Linux - Hardware 8 01-04-2012 04:35 PM
Brother Printer Drivers Site Down Michael Johnson Linux - General 1 07-21-2005 01:46 AM

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

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