Hi there and welcome
As long as the printer is connected to the same wireless network as the Galaxy Tab then you can within the HP ePrint app
Go to the play store and download the app HP ePrint and open it. It will find the printer and within this app you can print to the printer.
you can see the app here
If you have any problems, or would like any additional information or assistance, please do not hesitate to let me know.
And if you can take a second to rate my service by clicking one of the stars at the top of the screen then submit, that would be greatly appreciated.