From Gnome:
- Go to System->Administration->Printing
- New Printer->Type a printer name->Forward
- Select ‘Other’
- Use ‘hp:/net/Photosmart_C6100_series?ip=(ipaddress)’ as the Device URI, replacing (ipaddress) with your printer’s ipaddr
- Click Forward and select the appropriate driver (I used Photosmart 7150)