Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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.


Closed Thread
  Search this Thread
Old 11-24-2003, 12:57 PM   #1
LQ Newbie
Registered: Nov 2003
Location: Sweden
Distribution: Slackware 9.1
Posts: 19

Rep: Reputation: 0
Printing to WinXP shared printer from Linux?

I originally posted this in the newbie forum but didn't get many replies. I thought maybe I'd get more replies here. Sorry for the cross-posting. Any moderator, feel free to delete the "other" post

I would appreciate if someone could either help me with this or point me to a thread / site to get me started.

Three computers are on my home network:

One Windows 2000 SP4 box (ICS/gateway)
One Windows XP SP1 box (has a shared printer)
My computer, dualbooting WinXP SP1 and Slackware 9.1

The Win2000 box is running Internet Connection Sharing and this has worked fine with Linux from the start. I have no problem using the Internet from Slackware 9.1.
Both the Win2000 and the WinXP box have a couple of folders shared, and I can access those without problems from Slack.
The Win boxes can see my computer when it's booted into Slackware and access shared directories.

So, the network and Samba appear to be working correctly.

The Windows XP box has a HP 960c printer connected to it, and it's shared over the network. However, I have not been able to add it or print to it from Linux on my box.

In KDE, I found that a cute little program for adding and managing printers was already included in the control central. That's great! This will be easy! Except, it doesn't work...

I selected the CUPS printing system. I then right-clicked and selected Add Printer/Class. A wizzard with cute graphics and helpful text came up. I clicked next and was asked to select a device. I got to choose from Local Printer, LPD, TCP printer etc. SMB-Shared Printer (Windows) was also in the list of options. However, that particular option is greyed out. I obviously need to add *something* to be able to print from a Windows shared printer, but what, and how?


Last edited by DStar; 11-24-2003 at 12:58 PM.
Old 11-24-2003, 03:42 PM   #2
Registered: Oct 2003
Location: Oslo, Norway
Distribution: RedHat 9.0, Fedora Core 1/2/3, Debian 3.0, Smoothwall
Posts: 110

Rep: Reputation: 15
Does the command "printconf-gui" exist on your distrb.? Try to run it as root from xterm. It's a really simple program, and it lets you configure network-printers.

Hilsen kompis fra Norge.
(Greetings buddy from Norway)
Old 12-01-2003, 02:26 AM   #3
LQ Newbie
Registered: Jul 2003
Posts: 20

Rep: Reputation: 0
i have same problem with slack9.1. any help would be appreciated
Old 12-22-2003, 04:43 PM   #4
LQ Newbie
Registered: Aug 2003
Location: California
Distribution: Slackware
Posts: 17

Rep: Reputation: 0
I have the same problem as well and have not yet found a solution, any help would be appreciated!

BTW: I'm also using Slackware 9.1
Old 12-22-2003, 10:03 PM   #5
Registered: Apr 2003
Distribution: Gentoo/Mandrake 10.0
Posts: 110

Rep: Reputation: 15
I've used the "CUPS WWW Admin Tool" successfully from mdk9.1 and 9.2 to winXP. If you have it, it's available at localhost:631. I recommend starting konqueror in a console with root and accessing it that way, because it has problems staying logged in otherwise.

Once you get it running, click "Add Printer". The first screen with name, etc doesn't really matter. Next select "Windows Printer via SAMBA" for the device. The next section is the most important: the Device URI.

The form that works for me is smb://username:password@xpcomputername/xpsharename. If you don't have a password, you can just leave it blank (leaving the colon in might help, but I don't remember).

After that you can pick your drivers and you're off to the races.

Good luck!
Old 12-23-2003, 06:51 AM   #6
LQ Newbie
Registered: Jun 2003
Posts: 7

Rep: Reputation: 0
I have the same problem. Tryed running the web adminstration for CUPS. But I'm asked to login when I want to add a printer. My root login (or any other) doen't work? Where do I set the administrator login for CUPS?

I'm running SuSE 9.0 BTW.

Dr. Fresh
Old 12-25-2003, 12:24 PM   #7
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 66
Please do not post the same thread in more than one forum. Picking the most relevant forum and posting it once there makes it easier for other members to help you and keeps the discussion all in one place.

The original is:

Closed Thread

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
Unable to print from WinXP to my Linux-shared printer guarriman Linux - General 5 05-24-2005 10:45 AM
Printing to a shared XP printer nyumedic2000 Linux - Newbie 1 05-17-2005 09:46 PM
Print from a winxp shared printer on Solaris9.0 UltraSoul Solaris / OpenSolaris 4 02-18-2005 11:30 AM
Printing to WinXP printer from linux using samba darin3200 Linux - Networking 13 08-08-2004 09:48 PM
Printing to a WinXP shared printer? DStar Linux - Newbie 24 04-20-2004 03:14 AM > Forums > Linux Forums > Linux - Networking

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

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