LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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, 03: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, 04: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 04:46 PM.
 
Old 11-26-2002, 05: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


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


All times are GMT -5. The time now is 05:18 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration