LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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 11-26-2002, 02:32 PM   #1
oryan_dunn
Member
 
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


Hello,
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.
Ryan
 
Old 11-26-2002, 03:39 PM   #2
rioguia
Member
 
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. http://www.oreilly.de/catalog/samba/...k/ch03_02.html

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=255.255.255.0
Domain=[YOURDOMAIN] OS=[Unix] Server=[Samba 2.X.Xx]

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

Server Comment
--------- -------
LINUXBOXNAME Samba 2.X.Xx

Workgroup Master
--------- -------
YOURDOMAIN LINUXBOXNAME


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.
http://www.oreilly.de/catalog/samba/...k/ch09_02.html

Last edited by rioguia; 11-26-2002 at 03:46 PM.
 
Old 11-26-2002, 04:30 PM   #3
KevinJ
Member
 
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)
 
  


Reply



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:31 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
Open Source Consulting | Domain Registration