Welcome to Justanswer.com, my name is ***** ***** I will do my best to assist you.
That model of HP has a history of Printhead issues. What makes the issue worse is the printhead isnt user replaceable, so we cant just slap a new printhead in there and fix the issue.
Whether or not this issue can be fixed will depend on a few factors..
First, whats the full and exact error message you get including any codes it may show?
Also, how long ago did you buy this printer?