How do I get the XP printer on a LAN by hostname rather than by IP?

I'm wondering how I can connect to a local printer that is hooked to an XP printer on the LAN by hostname rather than by IP.

I can connect by IP and it works great. But if the computer is rebooted on the XP than the IP is reassigned by the router (Linksys BEFSR41). The XP's computer name shows up on the network from the OS X when using the Finder window.

I've attached a couple of pics for a bit of clarity on the issue.

The printer is attached to the XP which has the computer name "Omusic".
printer-browser-ip.png
network.png
Victor KimuraSEO, Web DeveloperAsked:
Who is Participating?
 
ProbityCommented:
You have two options:

1. Give the XP machine a static IP address so it will not change when the computer reboots

2. Install a local DNS server on your network and point all of your computers to it (this is not the preferred solution) -- but it would allow you to connect via hostname
0
 
strungCommented:
0
 
Victor KimuraSEO, Web DeveloperAuthor Commented:
Hi Problty an strung:

Thank you. Both solutions work. I do like adding the printers by finding them via the network (strung's link). However, I found that the shared printer name on the windows machine must only be one word (numbers accepted) with no dashes or underlines; otherwise, the mac can't view the printers on the windows machine. Most likely a bug.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.