Try:
smbclient -L w98pcname
If you see the printer as a share, that is good. If not, then it is a little more complicated. The stuff below assumes you'll see the share.
Are you running cups? If not start it.
In cups you can setup the printer.
http://localhost:631 to get to the cups config page.
As administrator, add a new printer. Use the system name or ip address and the share name of the printer.