You need a print server that will spool the queue for the network printer. I recommend downloading and installing JetAdmin from HP. It is a free download and the readme files will help you get it installed and configured. Once you have a print server you can point any client to it. If you only need the one machine to print you could install JetAdmin on this machine and configure its network printer to point to itself as the print server or if you have multiples you can point them all to one print server. Once JetAdmin is set up here are the step by steps for configuring your client.
vi /etc/printer.conf
Insert into the file these lines:
$PRINTER:\
bsdaddr=$SERVER,$PRINTER:
Thats it. $PRINTER1 is the name of the printeras you want it to appear to the client (localhost). $PRINTER2 is the name of the printer on the print server. They may be the same. $SERVER is the name or IP of the server. If your printer can spool itself and has its own JetAdmin config $SERVER can be the printer IP address and you won't need to install JetAdmin on any servers.
The config above can also be done through admintool, but this is probably quicker. If you don't like vi you can use any text editor.
Also to make this the default you can add these lines to the same file:
_default:\
use=$PRINTER1:
Hope this was informative.
Charles