Hi, I'm Bhavik. Welcome to JustAnswer. I'm reviewing your question now, and will reply back ASAP.
You can first check if the drivers are up to date. For that you can download latest drivers for your computer and then try to print again :-
You can also Download and run HP Print and Scan Doctor to quickly and automatically perform several troubleshooting tasks known to resolve this issue. Please click on below link to open it :-
Let me know how it goes, I will be waiting for your reply.