There is an HP printing app on play store you need to get. Don't use the print option on any apps. When you want to print, use the share icon and select the HP app.
I use the Epson app to print directly to my Epson printer.
Works great.
There is even an option to email to the printer if it is on your wifi.
Just email anything you want printed as an attachment.