LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 07-30-2016, 05:38 PM   #1
offgridguy
Senior Member
 
Registered: Nov 2015
Location: Alberta Canada
Distribution: Windows10, Debian
Posts: 1,109

Rep: Reputation: 147Reputation: 147
Configure a printer in 14.2


I have read the verbiage in Slack docs on printing, http://docs.slackware.com/slackbookrinting ,but am not having much success.
I keep getting the error message, cannot connect to localhost.
My printer is a Brother DCP-7030, I have it connected via USB and
powered on, the internet connection is established.
Is there something that needs to be activated from the command line?
I have used this printer extensively with Mint and ubuntu.
Does Slackware only work with Network printers, not USB printers?
Does anyone else use a USB printer?
Do I need an adapter to connect my printer to the ethernet port?

Edit; Sorry the topic should read 14.1

Last edited by offgridguy; 07-30-2016 at 07:36 PM.
 
Old 07-30-2016, 07:42 PM   #2
allend
LQ 5k Club
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware64-15.0
Posts: 6,367

Rep: Reputation: 2747Reputation: 2747Reputation: 2747Reputation: 2747Reputation: 2747Reputation: 2747Reputation: 2747Reputation: 2747Reputation: 2747Reputation: 2747Reputation: 2747
Have you seen this page at SlackDocs?

Have you installed the Brother driver?
Are you running 64-bit Slackware64? If so, have you installed the required multilib packages?
 
Old 07-30-2016, 08:04 PM   #3
STDOUBT
Member
 
Registered: May 2010
Location: Stumptown
Distribution: Slackware64
Posts: 583

Rep: Reputation: 242Reputation: 242Reputation: 242
offgridguy,
Remember how you had to "chmod +x" to get networkmanager running?
If you haven't already done so, you need to do the same for cups.
The tutorial you linked did not indicate that methinks.
 
Old 07-30-2016, 08:49 PM   #4
offgridguy
Senior Member
 
Registered: Nov 2015
Location: Alberta Canada
Distribution: Windows10, Debian
Posts: 1,109

Original Poster
Rep: Reputation: 147Reputation: 147
Quote:
Originally Posted by allend View Post
Have you seen this page at SlackDocs?

Have you installed the Brother driver?
Are you running 64-bit Slackware64? If so, have you installed the required multilib packages?
Thank you for the reply,
Where do I find the multilib packages?

Last edited by offgridguy; 07-31-2016 at 08:52 AM.
 
Old 07-30-2016, 08:52 PM   #5
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 11,217

Rep: Reputation: 5309Reputation: 5309Reputation: 5309Reputation: 5309Reputation: 5309Reputation: 5309Reputation: 5309Reputation: 5309Reputation: 5309Reputation: 5309Reputation: 5309
I just got my Brother 7060D printer and scanner working over USB. For 14.2, yes, but I got it working in 14.1 the same way.

First, I used my SlackBuilds to package and install the Generic LPR and cupswrapper drivers, and the 64-bit scanner driver. Just those three. The "scanner settings" file isn't needed (just make sure your user account is in the scanner group), and I didn't have much luck with the "scan-key-tool" thing. The driver downloads page for my device is here:

http://support.brother.com/g/b/downl...60d_all&os=128

And my SlackBuilds are here:

https://github.com/duganchen/my_slac...ther_dcp_7060d

Then it was a matter of making sure cups was running, going to http://localhost:631, choosing "Administration->Add Printer", and following the wizard.

I'd imagine that that should be easily adaptable to your device.
 
2 members found this post helpful.
Old 07-30-2016, 09:00 PM   #6
offgridguy
Senior Member
 
Registered: Nov 2015
Location: Alberta Canada
Distribution: Windows10, Debian
Posts: 1,109

Original Poster
Rep: Reputation: 147Reputation: 147
Quote:
Originally Posted by dugan View Post
I just got my Brother 7060D printer and scanner working over USB. For 14.2, yes, but I got it working in 14.1 the same way.

First, I used my SlackBuilds to package and install the Generic LPR and cupswrapper drivers, and the 64-bit scanner driver. Just those three. The "scanner settings" file isn't needed (just make sure your user account is in the scanner group), and I didn't have much luck with the "scan-key-tool" thing. The driver downloads page for my device is here:

http://support.brother.com/g/b/downl...60d_all&os=128

And my SlackBuilds are here:

https://github.com/duganchen/my_slac...ther_dcp_7060d

Then it was a matter of making sure cups was running, going to

, choosing "Administration->Add Printer", and following the wizard.

I'd imagine that that should be easily adaptable to your device.
Thak you dugan, this looks very straightforward. However for some reason I cannot connect to
http://localhost:631

Last edited by offgridguy; 07-31-2016 at 08:48 AM.
 
Old 07-30-2016, 09:02 PM   #7
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 11,217

Rep: Reputation: 5309Reputation: 5309Reputation: 5309Reputation: 5309Reputation: 5309Reputation: 5309Reputation: 5309Reputation: 5309Reputation: 5309Reputation: 5309Reputation: 5309
Quote:
Originally Posted by offgridguy View Post
I cannot connect to http://localhost:631
As root:

Code:
chmod +x /etc/rc.d/rc.cups
/etc/rc.d/rc.cups start
Now try connecting again.

Last edited by dugan; 07-30-2016 at 09:05 PM.
 
3 members found this post helpful.
Old 07-30-2016, 11:38 PM   #8
allend
LQ 5k Club
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware64-15.0
Posts: 6,367

Rep: Reputation: 2747Reputation: 2747Reputation: 2747Reputation: 2747Reputation: 2747Reputation: 2747Reputation: 2747Reputation: 2747Reputation: 2747Reputation: 2747Reputation: 2747
Quote:
Where do I find the multilib packages?
You can get the glibc-solibs package from
http://bear.alienbase.nl/mirrors/peo...64-11alien.txz
and the cups package from
http://bear.alienbase.nl/mirrors/peo....1compat32.txz
 
1 members found this post helpful.
Old 07-31-2016, 08:28 AM   #9
offgridguy
Senior Member
 
Registered: Nov 2015
Location: Alberta Canada
Distribution: Windows10, Debian
Posts: 1,109

Original Poster
Rep: Reputation: 147Reputation: 147
Quote:
Originally Posted by dugan View Post
As root:

Code:
chmod +x /etc/rc.d/rc.cups
/etc/rc.d/rc.cups start
Now try connecting again.
Thank you dugan, thats what I needed
 
Old 07-31-2016, 08:29 AM   #10
offgridguy
Senior Member
 
Registered: Nov 2015
Location: Alberta Canada
Distribution: Windows10, Debian
Posts: 1,109

Original Poster
Rep: Reputation: 147Reputation: 147
Quote:
Originally Posted by allend View Post
Thanks for the links.
 
Old 07-31-2016, 08:30 AM   #11
offgridguy
Senior Member
 
Registered: Nov 2015
Location: Alberta Canada
Distribution: Windows10, Debian
Posts: 1,109

Original Poster
Rep: Reputation: 147Reputation: 147
Quote:
Originally Posted by STDOUBT View Post
offgridguy,
Remember how you had to "chmod +x" to get networkmanager running?
If you haven't already done so, you need to do the same for cups.
The tutorial you linked did not indicate that methinks.
You were right, thanks.
 
Old 07-31-2016, 10:40 AM   #12
offgridguy
Senior Member
 
Registered: Nov 2015
Location: Alberta Canada
Distribution: Windows10, Debian
Posts: 1,109

Original Poster
Rep: Reputation: 147Reputation: 147
I have a problem with the Brother site. The brother site has always been very, very difficult,
and not helpful at solving issues. I have encountered this before, but got around it by using
instructions from a tutorial, but that was for Ubuntu, so it won't work here.
I download the driver, but can't confirm the model name. See screenshot.
I use the model name, the same as the Brother site lists it.
I tried copy and paste as it appears in my Downloads directory, still no
success.
Edit; afterthought, is there away to execute the install script apart
from the instructions on the Brother site?
Attached Thumbnails
Click image for larger version

Name:	Screenshot - 07312016 - 08:32:29 AM.png
Views:	34
Size:	68.4 KB
ID:	22613  

Last edited by offgridguy; 07-31-2016 at 12:20 PM. Reason: afterthought
 
Old 07-31-2016, 03:25 PM   #13
STDOUBT
Member
 
Registered: May 2010
Location: Stumptown
Distribution: Slackware64
Posts: 583

Rep: Reputation: 242Reputation: 242Reputation: 242
Try this:
Download the LPR printer driver (rpm package) brdcp7030lpr-2.0.2-1.i386.rpm

Then as root, run:
Code:
rpm2txz brdcp7030lpr-2.0.2-1.i386.rpm
This will create an (hopefully) installable package Slackware-style that you can install with:
Code:
installpkg brdcp7030lpr-2.0.2-1.i386.txz
That would be the way I'd try it first off.
This all assumes that your Slackware just is not seeing the printer after you have verified cups is running and tested adding the printer in http://localhost:631

Last edited by STDOUBT; 07-31-2016 at 08:23 PM. Reason: FIXED: rmp2txz to rpm2txz !!!
 
1 members found this post helpful.
Old 07-31-2016, 06:19 PM   #14
offgridguy
Senior Member
 
Registered: Nov 2015
Location: Alberta Canada
Distribution: Windows10, Debian
Posts: 1,109

Original Poster
Rep: Reputation: 147Reputation: 147
Thank you, unfortunately the command produced this argument.
Code:
bash-4.2$ rmp2txz brdcp7030lpr-2.0.2-1.i386.rpm
bash: rmp2txz: command not found
bash-4.2$
 
Old 07-31-2016, 06:47 PM   #15
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656
It should be rpm2txz, not rmp2txz.
 
  


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] hanging printer and "udev-configure-printer" 4Strings Slackware 12 08-07-2012 05:40 PM
configure printer yclif Linux - Newbie 2 03-28-2012 11:21 AM
configure printer how?? lhrt Linux - Newbie 1 06-20-2006 09:02 AM
printer configure k1ll3r_x Linux - Hardware 1 04-24-2005 06:32 AM
how to configure a printer abd_bela Debian 9 11-17-2003 02:50 AM

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

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