I understand that your printer is not printing black ink, If you have already performed the steps from the document Ink cartridge errors: https://support.hp.com/in-en/document/c04100778 and the issue persists, it could be a hardware failure.
Please reach out to HP Support in your region regarding the service options for your printer. HP Support can be reached by clicking on the following link: www.hp.com/contacthp/
Hope this helps!
Please click “Accepted 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!
Be alert for scammers posting fake support phone numbers and/or email addresses on the community. If you think you have received a fake HP Support message, please report it to us by clicking on "Flag Post".