LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training 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 05-12-2005, 11:16 AM   #1
Sloppyunderfoot
Member
 
Registered: Nov 2004
Location: Maine, USA, North America, Western Hemisphere, Earth, Milky Way Galaxy
Distribution: SUSE10
Posts: 61

Rep: Reputation: 15
Need your help with printer networking


I am running Xandros 3.01 Deluxe desktop. Currently, I have an HP722C inkjet connected via parallel port to the linux box. I have no problem printing to it from linux. I would like to also be able to print to the same printer with Windows XP. I know that it will work because I previously was able to do so with Mandrake 10.1 Official. My XP box is connected via a broadband firewall router to my Xandros box. In terms of ease of set up is it better to connect the printer directly to the Windows XP box or to the linux box? My guess is that it doesn't matter very much. Since I have the printer connected to the linux box what do I need to do in order to print from the Windows box, too? Please be as detailed as you can.
Thanks very much.
 
Old 05-12-2005, 11:29 AM   #2
tuxrules
Senior Member
 
Registered: Jun 2004
Location: Chicago
Distribution: Slackware64 -current
Posts: 1,144

Rep: Reputation: 56
You need to install (if not installed), configure and run Samba server in order to printer from windows to a linux connected printer. I am, however, not sure how Xandros package management works so you can first find out if samba is installed.

Quote:
Please be as detailed as you can.
There are enormous how-to's available for sample samba configuration. I would recommend you google around for answer. Read some how-to's and get a feel of it. You can then return and here and ask specific config questions.
 
Old 05-12-2005, 02:27 PM   #3
Sloppyunderfoot
Member
 
Registered: Nov 2004
Location: Maine, USA, North America, Western Hemisphere, Earth, Milky Way Galaxy
Distribution: SUSE10
Posts: 61

Original Poster
Rep: Reputation: 15
Thanks very much for your response. Looks like Samba is the ticket to doing what I want. I'm not sure whether it's easier to cable the printer to the linux box or the windows box. I guess I'll try one way and if it doesn't work I'll try the other.

The reason that I posted this question was because I have read a number of tutorials and also purchased "Linux Samba Server Administration" by Roderick W. Smith. So far nothing has panned out very well.

I'll keep on keeping on and pose more specific questions as the arise. Cheers.
 
Old 05-12-2005, 04:21 PM   #4
tuxrules
Senior Member
 
Registered: Jun 2004
Location: Chicago
Distribution: Slackware64 -current
Posts: 1,144

Rep: Reputation: 56
Looks like you've done your homework . Here's a little info on my home network. I run samba server too for my home network. I have a desktop and a laptop and a printer connected to desktop. I run a samba server to connect to my desktop for file sharing and printing from a laptop via the wireless network. I suggest you look for sample samba configuration in the book you have. It should have it. Here's my smb.conf but use it as a reference as your my network parameters may not match yours.

Code:

# Global parameters
[global]
	workgroup = WORKGROUPNAME
	server string = WHAT EVER NAME YOU WANT TO PUT
	guest account = No
	log file = /var/log/samba/%m.log
	max log size = 0
	socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
	ldap ssl = no
	valid users = user1, user2
	write list = user1,user2
	hosts allow = your subnet

[homes]
	comment = Home Directories
	read only = No

[printers]
	comment = what ever you want to put
	path = /var/spool/samba
	read only = No
	guest ok = Yes
	hosts allow = your subnet
	printable = Yes
	printer name = your printer name
	share modes = No
 
  


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
Networking 3 pc + 1 printer j_carmona Linux - Networking 8 04-27-2005 07:43 PM
networking a usb printer dave37 Linux - Networking 9 02-25-2004 02:20 PM
Printer Networking Thom_Redhat Linux - Networking 1 01-16-2004 02:50 PM
Linux networking printer issue bnumark Linux - Hardware 0 07-02-2003 03:55 AM
Networking a Windows Printer Sirrvs Linux - Networking 5 08-23-2002 01:00 PM


All times are GMT -5. The time now is 08:47 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration