Originally Posted by pankajd
The printer is a network hp 3050 printer configured on windows xp machine and...
That seems to mean that the printer has an ethernet (or wireless, or token ring???) port as its connection.
If it really is an ethernet printer and you are on the same subnet, you shouldn't really need to get involved with windows and samba and you can just use Cups.