I understand the black ink cartridges are not working. The support options for this model printer are limited due to its age.
Perform the steps mentioned in this document - HP Printer Does not Print and Error Indicates Faulty Ink Cartridge
As you have used 2 new ink cartridges and the issue persists, it could be the printer that is defective.
If the issue persists, please reach out to the HP Support in your region regarding the service options for your printer.
If the printer is out of warranty, I suggest you upgrade the printer. You may visit Hp Store to check the available printers.
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!