If you have already performed the steps from the document HP Printer Does not Print and Error Indicates Faulty Ink Cartridge and the issue persists, it could be a hardware failure.
Please reach out to the HP Support in your region regarding the service options for your printer.
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!