LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Setting up Redhat 7.3 to print to a WinXP printer (https://www.linuxquestions.org/questions/linux-newbie-8/setting-up-redhat-7-3-to-print-to-a-winxp-printer-36540/)

oryan_dunn 11-26-2002 02:32 PM

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

rioguia 11-26-2002 03:39 PM

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

KevinJ 11-26-2002 04:30 PM

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)


All times are GMT -5. The time now is 01:00 PM.