On the cups server I have the following in /etc/cups/cupsd.conf

DocumentRoot /usr/share/cups/docs
LogLevel info
User lp
Group lp
Port 631
SystemGroup lp

<Location /> 
Order Deny,Allow
Deny From All
Allow From 127.0.0.1
Allow From 192.168.200.1
</Location> 

<Location /jobs> 
Order Deny,Allow
Deny From All
Allow From 127.0.0.1
Allow From 192.168.200.1
</Location> 

<Location /printers> 
Order Deny,Allow
Deny From All
Allow From 127.0.0.1
Allow From 192.168.200.1
</Location> 

<Location /admin> 
AuthType Basic
AuthClass System
Order Deny,Allow
Deny From All
Allow From 127.0.0.1
</Location> 

The address 192.168.200.1 is the gateway for the cups server. All requests will appear from that address.


On the cups server I find the name of the printer (which was previously set up and named hp_photosmart_1215) with:

$ lpstat -a
hp_photosmart_1215 accepting requests since Jan 01 00:00

Now all I have to do on each client is to browse to http://localhost:631 and add a new printer using Internet Printing Protocol (http) , and the device URL is http://my_cups_server_hostname:631/printers/hp_photosmart_1215

That's it! Good Luck!