If I understand you correctly, the Printer is installed on the XP PC which then acts as a Network Printer for the Win98 PCs.
Once sharing is enabled for it the correct Win98 driver for the Printer has to be then installed on each Win98 PC choosing a Network Printer during the setup.
See if these links will help:
How to Troubleshoot Network Printing Problems in Windows XP
Share Your Printer Over a Home Network Using Windows XP
My shop has 4 pc's running Win98 Operating system
which are connected to a server pc running WindowsXp operating System.Server has a printer attached to Usb port(Hp Deskjet 600 Series).i installed the printer drivers properly but when i give print through my client pc's only white page is coming from the printer.(I installed the Printer drivers for the win98 O.S on the server as asked by WinXp os and i given sharing also)
any suggestions on this are welcome