HTML text prints when printing from web pages. However, no issues when printing word documents.
I assume you meant to say it's not printing or not printing properly? What exactly is it doing or not doing?
My first thought would be to uninstall the HP drivers/software, reboot, reinstall and then check for any updates. You may want to delete the mapped printer and perform the printer creation again.