You may give this address directly to cups printer configuration. Eventually you need your windows login/password. On different distros there may be different ways for configuring the printer, but 'http://localhost:631' should always work.
Of course, samba and cups must be up (should be on most modern distros).
edit: found this on google in 10 seconds. Not flaming, just use the references that are available.
~willieray Registered Linux User #371168
Computer Science is as much about computers as astronomy is about telescopes
-- Edsger Wybe Dijkstra (1930-2002)