You will have to read up on this. You establish a network with My Network Places, then with the printer attached to one computer, the other should be able to "see" it in networks places.
If not, you will have to buy a print server device from HP.
You are better off using a much better printer that comes with an ethernet socket.