It makes life a lot easier if you give the printer a static ip address. You should be able to do that through the printer menus, if the printer is ip-capable.
Also, install HPLIP on your computer, if you do not already have it installed; it's in the repos; HPLIP is the go-to tool for managing HP printers on Linux. Note that the HPLIP GUI and base program are often two different packages.
You can set up the printer from the command line with the command
Code:
sudo hp-setup -i [printer ip address]
and then answer the questions. I normally just accept the defaults and do not set up a fax header because I send maybe two faxes a year.
You can also install the printer with the GUI tool (hp-toolbox on the command line). The GUI tool does not want to be run by root.
Here's an article from HP:
http://hplipopensource.com/hplip-web...setup/net.html