If it's an Ethernet capable printer, all you have to do is connect it to your router and have your computers find it by IP address, or your Mac will automatically find the printer if it's Bonjour-compatible. If it's a USB-only printer, you can use client based printer sharing, but that doesn't work across platforms.