You may get better information from HP's help on this than we can give you here.
When you set up the printer on the one it is attached to, did you set it up to be a network printer?
My HP printer has the ability to print from the Internet or a local area network. Is yours set up to do that?