Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 11-26-2002, 02:32 PM   #1
Registered: Sep 2002
Location: Auburn, IN
Distribution: Fedora/Red Hat/CentOS
Posts: 68

Rep: Reputation: 15
Setting up Redhat 7.3 to print to a WinXP printer

I am new to linux and I am trying to set up my computer which runs Red Hat 7.3 to be able to print to my dad's HP Deskjet 722c which is on a Windows XP machine. The share name is hpdj722c and I was wondering how i would get it to print? I had mandrake 8.? for a while and during the setup it configured the printer and it worked great, but i can't get it to work under red hat.
Thanks for any help.
Old 11-26-2002, 03:39 PM   #2
Registered: Jun 2002
Posts: 411

Rep: Reputation: 30
a couple of suggestions.

let's assume:
1. you configured samba and its running
2. you configured your windows box to match. right click your windows "network" desktop icon and explore the tabs marked tcp/ip and protocols.

remembering what you see in windows, you should see very similar information when you type:
# smbclient -U% -L localhost

you should get something back like:
Added interface ip=123.456.789.123 bcast=123.456.789.255 nmask=
Domain=[YOURDOMAIN] OS=[Unix] Server=[Samba 2.X.Xx]

Sharename Type Comment
--------- ---- -------
IPC$ IPC IPC Service (Samba 2.x.Xx)

Server Comment
--------- -------

Workgroup Master
--------- -------

If you don't get this response, why don't you try the troubleshooting steps suggested by O'Reilly, "Using Samba" and post back here when you run into a stopping point. These simple steps are great for diagnosing any network problem.

Last edited by rioguia; 11-26-2002 at 03:46 PM.
Old 11-26-2002, 04:30 PM   #3
Registered: Feb 2001
Location: Colorado Springs, CO
Distribution: Redhat v8.0 (soon to be Fedora? or maybe I will just go back to Slackware)
Posts: 857

Rep: Reputation: 30
Step 1. Share the Windows printer out as you would normally.

Step 2. You will need samba and samba-client and printing packages installed on your Linux box.

Step 3. In 'printconf-gui' :

queue name = lp0
driver = whatever_printer_you_have

Share = \\servername\printername
User = valid_windows_username
Password = that_user's_password
Workgroup = workgroup_or_domain
HostIP= blank
Queue Type = Windows Printer (SMB Share)


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
Print from a winxp shared printer on Solaris9.0 UltraSoul Solaris / OpenSolaris 4 02-18-2005 11:30 AM
Unable to print to Samba printer from WinXP TSloth Linux - Networking 3 02-06-2005 05:13 PM
Print to Printer con to Mandk from WinXP nat2k4us Mandriva 0 08-18-2004 11:46 AM
Print from Linux to WinXP printer MattOlz Linux - Networking 1 07-12-2004 03:52 PM > Forums > Linux Forums > Linux - Newbie

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