PRINTER: Sharing a printer over WAN

On a mac, sharing printers over LAN is easy, and only involves a single checkbox. Sharing over WAN is more difficult...

1. Under Utilities > Print & Fax, remove the printer from the "server" (the machine physically connected to the printer)

2. In terminal, type the following lines:
cupsctl --remote-any
cupsctl --remote-printers
cupsctl --share-printers

3. Now go into the terminal on the "client" Mac

4. In terminal, type the following lines:
cupsctl --share-printers
cupsctl --no-remote-printers
cupsctl BrowsePoll=SERVERIP:631
cupsctl 'BrowseLocalProtocols="CUPS"'
cupsctl 'BrowseRemoteProtocols="CUPS"'

Edit... if this works, but then fails again, try the following (in this order):
A. Turn off the printer, and back on again (the QUEUE may be backed up)
B. Remove the printer from the Printer & Fax setup screen, and add it back again
C. Clear the Printer & Fax settings by holding OPTION while clicking the MINUS sign
D. Repeat step C for both Client & Server machines
E. Repeat steps 1-4 above and make sure all attributes are correct by using cupsctl