LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-23-2014, 11:11 PM   #1
BamBen
LQ Newbie
 
Registered: Jul 2014
Posts: 5

Rep: Reputation: Disabled
Samba Config with Windows network printer problems


I have installed the main Samba configuration file, however, trying to follow the websites that address this issue has not helped this newbie. I need very simple step by step instructions on how to make my Linux (CentOS 6.5) box handshake with my Brother HL-2170W printer. From my research I believe that the older version of CentOS had configuration windows instead of having to - in a sense- program line by line in the main config file. Also, I can see the shared windows files of my other computers on my Linux box, however, I cannot see the shared files of my Linux box using my windows machine. Any help would be greatly appreciated.
BamBen
 
Old 07-24-2014, 07:15 AM   #2
michaelk
Moderator
 
Registered: Aug 2002
Posts: 15,716

Rep: Reputation: 1751Reputation: 1751Reputation: 1751Reputation: 1751Reputation: 1751Reputation: 1751Reputation: 1751Reputation: 1751Reputation: 1751Reputation: 1751Reputation: 1751
Welcome to LinuxQuestions.

Lets start with the first problem.
Is the printer connected to a windows PC via USB or networked on the LAN via ethernet.
 
Old 07-24-2014, 07:36 AM   #3
BamBen
LQ Newbie
 
Registered: Jul 2014
Posts: 5

Original Poster
Rep: Reputation: Disabled
Thank you Michael for your swift response. My printer is connected to my modem as are my two other pc boxes. One pc is a win xp sp3 and the other is a win 7.
 
Old 07-24-2014, 07:46 AM   #4
michaelk
Moderator
 
Registered: Aug 2002
Posts: 15,716

Rep: Reputation: 1751Reputation: 1751Reputation: 1751Reputation: 1751Reputation: 1751Reputation: 1751Reputation: 1751Reputation: 1751Reputation: 1751Reputation: 1751Reputation: 1751
It would be advantageous to setup the printer with a static IP address. You can do that either via a DHCP reservation from your router or the Brother's web configuration page.

You can add the printer via the add printer menu or the cups web interface (http://localhost:631). You want to add an IPP printer and its URI will be:
ipp://printer_IP_address/ipp/port1

The rest of the setup should be selecting make / model.

Edit:
This also works.
socket://ip_address:9100

Last edited by michaelk; 07-24-2014 at 05:45 PM.
 
Old 07-24-2014, 11:36 PM   #5
BamBen
LQ Newbie
 
Registered: Jul 2014
Posts: 5

Original Poster
Rep: Reputation: Disabled
Michael,

I went to the Brother properties - Ports window and checked the Standard TCP/IP Port and clicked the configure tab. Under Port settings dialog I set the Port name to the host name I found on my DHCP Server Modem for the printer client. In the Printer name of IP address I put the IP address i found on my DHCP Server Modem for the printer client.

I have tried to add the Brother printer in the Linux software with System - Administration - Printing and it will not see the printer nor will it print. I have downloaded the Brother HL-2170W-hpijs-pcl5e.ppd driver, however I do not know how to install this driver or use it somehow unless it is for a serial or usb printer?.

I have tried several things and as of yet cannot print a test page or see the printer.

How do I use the "socket://ip_address:9100"

Sorry I know so little about how to do this. I do not have a lot of computer savy I guess.

BamBen
 
Old 07-25-2014, 05:44 AM   #6
michaelk
Moderator
 
Registered: Aug 2002
Posts: 15,716

Rep: Reputation: 1751Reputation: 1751Reputation: 1751Reputation: 1751Reputation: 1751Reputation: 1751Reputation: 1751Reputation: 1751Reputation: 1751Reputation: 1751Reputation: 1751
http://www.centos.org/docs/5/html/De...-printing.html
 
Old 07-26-2014, 10:47 PM   #7
BamBen
LQ Newbie
 
Registered: Jul 2014
Posts: 5

Original Poster
Rep: Reputation: Disabled
http://www.centos.org/docs/5/html/De...-printing.html

Michael, This is the web site I was using and could not make sense of it. That was when I turned to LinuxQuestions.org for help.
 
Old 07-27-2014, 09:28 PM   #8
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Debian, Mageia, and whatever VMs I happen to be playing with
Posts: 12,140
Blog Entries: 14

Rep: Reputation: 3071Reputation: 3071Reputation: 3071Reputation: 3071Reputation: 3071Reputation: 3071Reputation: 3071Reputation: 3071Reputation: 3071Reputation: 3071Reputation: 3071
The smbclient command can be very helpful in troubleshooting these issues. It helped me when I first tried to connect to a shared Windows printer.

http://www.tldp.org/HOWTO/Debian-and...o_windows.html
 
Old 07-28-2014, 06:58 AM   #9
michaelk
Moderator
 
Registered: Aug 2002
Posts: 15,716

Rep: Reputation: 1751Reputation: 1751Reputation: 1751Reputation: 1751Reputation: 1751Reputation: 1751Reputation: 1751Reputation: 1751Reputation: 1751Reputation: 1751Reputation: 1751
The OP is trying to setup a network printer. So samba isn't an issue.

When you get to the Select Connection page click on AppSocket/HP JetDirect. Under Hostname enter the IP address of the printer. Then click on the Forward button. Select make / model i.e Brother and HL-2170W. Click forward again and try to print a test page. Hopefully everything works.
 
1 members found this post helpful.
Old 07-29-2014, 09:39 AM   #10
BamBen
LQ Newbie
 
Registered: Jul 2014
Posts: 5

Original Poster
Rep: Reputation: Disabled
Michael,

WHO would ever have thunk that using a socket from an HP jet would work on a Brother Laser??!! But it did! Thank you thank you. I guess you can mark this one "solved"

Btw - what is an OP?

Best regards,

Ben
 
Old 07-29-2014, 10:21 AM   #11
michaelk
Moderator
 
Registered: Aug 2002
Posts: 15,716

Rep: Reputation: 1751Reputation: 1751Reputation: 1751Reputation: 1751Reputation: 1751Reputation: 1751Reputation: 1751Reputation: 1751Reputation: 1751Reputation: 1751Reputation: 1751
OP - Original Poster

You can mark the thread as solved via the thread tools pull down menu at the top.
 
  


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
Samba Problem connecting to Windows network and printer robybo Linux - Networking 1 10-03-2008 09:53 AM
Printing via samba to windows network printer r11_kaede Linux - Networking 3 08-20-2008 05:48 AM
Printer problems, can't find a printer that is attached to a windows network. ahalfapint Linux - Networking 2 04-12-2006 04:29 PM
Samba config and Network printer problem z3r0star21 Linux - Networking 5 04-07-2006 01:37 PM
can't configure windows network printer with samba garyozzy Linux - Networking 3 08-18-2005 05:45 PM


All times are GMT -5. The time now is 02:54 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration