Hi
Welcome to the HP Support Community. I'd be happy to assist you.
I understand you are not able to print due to this error. Kindly perform step 2 from this document.
If you have tried the steps mentioned in this document and the issue persists, I'm afraid the issue is with the printhead of the printer.
Please reach out to the HP Support in your region regarding the service options for your printer.
Keep me posted for any other assistance.
Please click “Accept as Solution” if you feel my post solved your issue, it will help others find the solution.
Click the “Kudos, Thumbs Up" on the bottom right to say “Thanks” for helping!
Have a great day!