For sharing a printer between two linux machines, you just need to have CUPS installed on both the client and server.
Basically just allow the server's firewall to accept connections on port 631, and make sure that the line:
is in /etc/cups/cupsd.conf. Make sure that browsing is set to on on the client and servers
I hope this helps
--Ian