I installed a linux network printer for a friend and thought I post the steps here. First of all, find out the ip address of the printer. Go to http://localhost:631 to add a printer. You might need root access.
Under device, choose ipp and in Device URI, type ipp://hostname/ipp/. Then add the model and follow through the rest of the prompts. When you have finished, go to http://localhost:631/printers/ and you should see your printer listed there. do a test print. If it works, congrats. If not, click on modify printer and under Device URI try using socket://address:9100 instead of ipp. The later seems to work quite well with alot of printers. if in doubt, always telnet host 9000 to see if the port is accessible.
If you do not have access to cups via http://localhost:631, just edit the printers.conf file
the config will be something like this:
Info HP laserjet 4100
JobSheets none none
when done, do a “sudo /etc/init.d/cupsys restart”
hopefully, everything should be working.