Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 03-31-2003, 08:47 PM   #1
LQ Newbie
Registered: Nov 2002
Location: New England
Distribution: Slackware 9.0
Posts: 18

Rep: Reputation: 0
How can I print to a printer connected to a Windows XP machine? Other nebie questions

Hello All,
Okay here is the story. I have a Linux Slackware 9.0 box and a Windows Xp machine that I would like to share files and printers with. I have tried to configure the smb.conf file to suite my needs but it doesn't seem to work. Windows doesn't see me and I can't see it. The windows machine has a new HP PCS 750 Printer on it and I would like to print to it. I would also like to be able to play music files off of it and vise versa, I am going to post the smb.conf below

I am able to ping back and forth. This is the basic veiw from SWAT:

# Samba config file created using SWAT
# from (
# Date: 2003/03/31 20:45:50

# Global parameters
workgroup = MSHOME
server string = Samba Server
encrypt passwords = Yes
ssl CA certDir = /etc/ssl/certs
log file = /var/log/samba.%m
max log size = 50
dns proxy = No
hosts allow = ; ;

comment = Home Directories
read only = No

comment = Adam And Amanda's Music Link
path = /music
valid users = kids
read only = No

comment = All Printers
path = /var/spool/samba
printable = Yes
browseable = No

path = /music
guest ok = Yes

If anyone needs any more information just let me know.
Old 04-01-2003, 07:34 AM   #2
LQ Newbie
Registered: Mar 2003
Location: Milwaukee, WI
Distribution: Debian unstable
Posts: 2

Rep: Reputation: 0
I think I've got a similar setup to yours, and I can print from my Linux box from the command line or KDE.

Here's how I did it:

I've got a original Epson Stylus Color on my WinXP Pro box, connected to the parallel port. I wanted to use this printer for output from my Linux box, running Debian Unstable. For printing purposes I have CUPS installed as my printing subsystem. Also, I used KDE's print management tool to set up the Linux side.

To set up the Windows side of this:

Right click My Network Places and click on Properties. Right click on Local Area Connection and click on Properties.

I have the following three drivers installed:
Client for Microsoft Networks
File and Printer Sharing for Microsoft Networks
Internet Protocol (TCP/IP)

If you don't have the File and Printer sharing installed, click the Install button and then click Service, and then click on File and Printer Sharing and then OK to add it to the list.

You then need to know the identification for this machine, so right click My Computer and click Properties. Click on the Computer Name tab and note the "Full Computer Name" and "Workgroup" entries.

Now open the Printers and Faxes folder (in the Start menu or by going through the Control Panel) and right click on the printer. Select "Sharing..." from the menu. On the Sharing tab select the "Share this printer" radio button, and then type in the share name.

Now for the Linux side:

I did this with KDE's printing management dialogs. Log into KDE as root. Open up the Control Center and then click on Peripherals and then Printers.

Click on the ADD icon and choose Add Printer/Class... and then click Next.

On the Backend Selection screen choose SMB shared printer (Windows) and click next. If you have the guest account enabled on the Windows box, click on the "guest account" checkbox, otherwise fill in the login name and password on this screen and click Next.

The next dialog is SMB Printer Settings. I have never gotten the "Scan" button to show me anything other than the workgroup name, so manually fill in the Workgroup and Server boxes using the info you recorded about the Windows box, and then put the share name for the printer in the Printer box, and click next.

Under "Printer Model Selection" choose your manufacturer and model number, and check off the "Postscript printer" button if that applies, and click Next.

On the next screen you may be able to choose between several drivers. Choose one for now, you can experiment later... and click Next.

This gets you to the Printer Test dialog. Run the test, change the driver settings, etc. until you like it.

The next dialog is Banner options, I don't print banners (only one user on this printer...)

The next dialog is Printer Quota settings -- I don't use those.

The next dialog is User Access Settings -- I don't use those.

The next dialog is General Information -- give this instance a name, fill in the location if you want, and change the description.

The last dialog just displays all your choices, and gives you the Finish button.

That's what worked for me!
Old 04-01-2003, 11:54 AM   #3
LQ Newbie
Registered: Nov 2002
Location: New England
Distribution: Slackware 9.0
Posts: 18

Original Poster
Rep: Reputation: 0
Still Not Workin

Okay I have 2 issues. The driver I need for the printer isn't listed. Also I can see the XP Machine (Gill) in the smb:///workgroup , but when I click on it I only get:

Couldn't display "smb://gill/", because no host "gill" could be found. Check that the spelling is correct and that your proxy settings are correct.

I am not sure what the deal is with that but it is p%^sin me off.

I am still not able to my Linux machine from the XP's network.

Help Please

I am able to see my files when I look under smb://rich/
Old 04-01-2003, 11:54 AM   #4
LQ Newbie
Registered: Nov 2002
Location: New England
Distribution: Slackware 9.0
Posts: 18

Original Poster
Rep: Reputation: 0
Still Not Workin\

I know the windows side of things and the network settings should be fine. But ya never know.

Last edited by powerismine; 04-01-2003 at 11:56 AM.
Old 04-02-2003, 08:42 PM   #5
Registered: Mar 2003
Location: canada
Distribution: slackware 9.0 knoppix
Posts: 81

Rep: Reputation: 15
Gnome is great their is a network server tab just click it and everything is their. I can share files with all the different windows machines in class.

You just have to make sure you have shared the files on the xp machine

if it asks for a password just put anything

Last edited by monkeymartin; 04-02-2003 at 08:43 PM.


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
How to print from SLES 9 to an HP 1100a connected in Windows network. reycapoy Linux - Networking 2 11-25-2005 08:37 PM
print to a network printer from win98 machine tulip4heaven Linux - Networking 3 04-07-2005 09:49 PM
Cannot print from Windows-network-connected printers milleron Linux - Networking 9 07-19-2004 08:02 AM
need my WinXP to be able to print to the printer connected to man9.2 machine krome Mandriva 1 03-02-2004 04:53 AM
printing to a printer connected to windows machine arrao18 Linux - Networking 0 07-16-2003 01:25 AM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 12:33 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration