Is the printer connected only to the windows machine? If it's so I think u can connect to it through smb sharing protocol, but I am not sure.
If the printer is connected to your lan directly, just install the printer drivers and it will detect the printer and install it. Maybe if u specify the printer model would more helpfull.