LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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 09-30-2019, 08:55 AM   #1
3rensho
Senior Member
 
Registered: Mar 2008
Location: Deutschland
Distribution: Slackware64-current
Posts: 1,027

Rep: Reputation: 619Reputation: 619Reputation: 619Reputation: 619Reputation: 619Reputation: 619
Debug Brother Printer install


I recently had to replace my printer and bought a Brother HL-L2375DW. I knew I would have to jump thru a couple of hoops because Brother only has 32 bit drivers and I'm on x64-current. I found this

https://docs.slackware.com/howtos:ha...r_installation and

following that installed AlienBob's -

glibc-solibs-2.30_multilib-x86_64-1alien.txz

cups-compat32-2.3.0-x86_64-2compat32.txz

cups-filters-compat32-1.25.5-x86_64-1compat32.txz

as well as the hll2375dwpdrv-4.0.0-1.i386.rpm (converted to t?z) from Brother. Also added the following to my /etc/hosts file -

192.168.1.103 BRN3C2AF4B06DEF.local

Opened localhost:631 and my printer was recognized and added it to CUPS. When trying to print a test page (or anything else) the job shows up but just sits in the queue with a "pending" status.

At this point I am at a loss as to what to do to resolve the problem. That is where/what to look for. Anyone on the forum that has added a Brother printer have a clue as to what I should do next? Thanks in advance.
 
Old 09-30-2019, 11:41 AM   #2
allend
LQ 5k Club
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware64-15.0
Posts: 6,383

Rep: Reputation: 2762Reputation: 2762Reputation: 2762Reputation: 2762Reputation: 2762Reputation: 2762Reputation: 2762Reputation: 2762Reputation: 2762Reputation: 2762Reputation: 2762
Unfortunately Brother have changed things since the SlackDocs page was put together.
With your printer, it is expected that you run the Driver Install Tool to install the LPR and CUPSwrapper. There is no support for Slackware in that tool. Looking at the tool, it may even be that it uses wget to download further files from Brother, but I am having trouble deciphering the possible links.

Quote:
Opened localhost:631 and my printer was recognized and added it to CUPS.
Did you use the suggested settings?
Code:
(for Network Connection)

    Open a web browser and go to "http://localhost:631/printers".
    Click "Modify Printer" and set following parameters.
    - "LPD/LPR Host or Printer" or "AppSocket/HP JetDirect"     for Device
    - lpd://(Your printer's IP address)/binary_p1 	     	for Device URI
    - Brother 	     	 	     	 	     	 	for Make/Manufacturer Selection
    - Your printer's name
Within the hll2375dwpdrv-4.0.0-i386-1.txz package that was created, there is a ./install/doinst.sh script. Check that the symlinks that are supposed to be created by that script are in place.

It is my sleeping time now, so I will not be back for a while.
 
Old 09-30-2019, 12:54 PM   #3
upnort
Senior Member
 
Registered: Oct 2014
Distribution: Slackware
Posts: 1,893

Rep: Reputation: 1162Reputation: 1162Reputation: 1162Reputation: 1162Reputation: 1162Reputation: 1162Reputation: 1162Reputation: 1162Reputation: 1162
Quote:
Brother only has 32 bit drivers
Really? Oh well, thanks for the warning what not to buy.
 
1 members found this post helpful.
Old 09-30-2019, 10:43 PM   #4
drumz
Member
 
Registered: Apr 2005
Location: Oklahoma, USA
Distribution: Slackware
Posts: 907

Rep: Reputation: 697Reputation: 697Reputation: 697Reputation: 697Reputation: 697Reputation: 697
I have the Brother HL-L2380DW. I remember having trouble initially setting the printer up, and honestly I don't remember everything I did but the printer (and scanner!) are working fine for me now.

I have the following packages installed, which were converted from either the *.rpm or *.deb:

Code:
hll2380dwcupswrapper-3.2.0-i386-1
hll2380dwlpr-3.2.0-i386-1
brscan-skey-0.2.4-x86_64-1
brscan4-0.4.4-x86_64-4
The CUPS web interface has the following information for my printer:
Code:
Description:	Brother HL-L2380DW
Location:	Den
Driver:		Brother HL-L2380DW for CUPS (grayscale, 2-sided printing)
Connection:	lpd://192.168.1.48/binary_p1
Defaults:	job-sheets=none, none media=na_letter_8.5x11in sides=two-sided-short-edge
I think the important thing is the DeviceURI (lpd://192.168.1.48/binary_p1) - I seem to remember once I finally got that right, the printer started working.
 
Old 10-01-2019, 01:41 AM   #5
3rensho
Senior Member
 
Registered: Mar 2008
Location: Deutschland
Distribution: Slackware64-current
Posts: 1,027

Original Poster
Rep: Reputation: 619Reputation: 619Reputation: 619Reputation: 619Reputation: 619Reputation: 619
Thanks to all for your responses. @allend - I checked the links that were to be created by the doinst.sh script. Two were missing. I created them but alas that didn't fix the situation.

@drumz - The print jobs, after sitting in a pending state for a while then change to "Unable to locate printer "BRN3C2AF4B06DEF".". In my /etc/hosts I have 192.168.1.103 BRN3C2AF4B06DEF.local.

I can ping the .103 address and BRN3C2AF4B06DEF.local so it seems that the printer is known to the system. In your case you had "Connection: lpd://192.168.1.48/binary_p1" whereas I have

"Connection: lpd://BRN3C2AF4B06DEF/BINARY_P1". How did you set the IP address in place of BRN3C2AF4B06DE/BINARY_P1 ?? Shouldn't make a difference but am willing to try anything.
 
Old 10-01-2019, 01:55 AM   #6
3rensho
Senior Member
 
Registered: Mar 2008
Location: Deutschland
Distribution: Slackware64-current
Posts: 1,027

Original Poster
Rep: Reputation: 619Reputation: 619Reputation: 619Reputation: 619Reputation: 619Reputation: 619
Well, I ran grep on all the files in /etc and found that two files under the cups directory contained BRN3C2AF4B06DEF. Replaced that string in the two printer.conf files with the IP, 192.168.1.103 and voila, it prints just fine. Whewwwww. Thanks again everyone and to you drumz for your interface info.

The /etc/cups/printers.conf and /etc/cups/printers.conf.0 files need to be edited to contain the actual IP address of the printer. Having the equivalence defined in the /etc/hosts file is not sufficient.

Note: Stopped CUPS scheduler prior to editing the .conf files and started scheduler after.

Last edited by 3rensho; 10-01-2019 at 02:42 AM.
 
Old 10-01-2019, 02:37 PM   #7
drumz
Member
 
Registered: Apr 2005
Location: Oklahoma, USA
Distribution: Slackware
Posts: 907

Rep: Reputation: 697Reputation: 697Reputation: 697Reputation: 697Reputation: 697Reputation: 697
Quote:
Originally Posted by 3rensho View Post
How did you set the IP address in place of BRN3C2AF4B06DE/BINARY_P1 ??
My memory is foggy, but I believe I used the CUPS web interface to add my printer. When typing in the URI, I typed in an IP address instead of a host name.
 
Old 10-02-2019, 04:29 AM   #8
3rensho
Senior Member
 
Registered: Mar 2008
Location: Deutschland
Distribution: Slackware64-current
Posts: 1,027

Original Poster
Rep: Reputation: 619Reputation: 619Reputation: 619Reputation: 619Reputation: 619Reputation: 619
On my CUPS (2.3.0) it just presented the printer with the lpd:// string without a way to change it (that I saw). So I just edited the .conf files. Thanks again for sharing your config. That sent me in the right direction.
 
Old 09-12-2020, 04:55 PM   #9
reclusivewriter
Member
 
Registered: Jun 2014
Location: Midwest, USA
Distribution: Slackware
Posts: 80

Rep: Reputation: 55
Lightbulb Brother HL-L6200DW on 14.2

Hey, I know this thread is kinda old, but I saw the posts about changing config files, and those pointed the way for the install I just did today.

Instead of changing config files, what I did (after getting the multilib files and converting the rpms) was select the generic LPD option when asked for the printer, then used the line lpd://[ip_address]/binary_p1, set the options, and the test page printed right up. I didn't have to download any extra files or do anything special.

I hope this helps someone else setting up newer Brother printers on Slack.
 
  


Reply



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 HL-2270DW driver - Brother solutions offer four - which one? juneymoon Linux - Software 9 06-15-2013 04:52 PM
libc6-debug or glibc-debug fibreoptique Linux - Newbie 2 01-20-2011 07:52 AM
how debug kernel with ddd? how debug the kernel with ddd? mjalalynia Linux - Kernel 2 08-25-2008 06:50 AM
How to debug without having debug section in an executable ? unclesam Linux - Newbie 0 02-02-2006 06:23 AM
[debug]what does the following debug information mean icoming Programming 21 06-08-2004 02:13 AM

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

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