Don’t know what model of HP printer you have, but when I bought one for my mother for Christmas, two spare ink cartridges cost more than the printer- it was just over £40 on a 'special' - the cartridges were £45 and they were own brand PC World ones. Fitted one new cartridge the other week and kept getting error messages so took them back where I was told that they were crap - got a refund, added more money and bought genuine HP ones. It would have been cheaper to have bought another printer at the time just for the cartridges - they were full size ones not the half empty ones you usually get. Genuine cartridges sorted the problem out. Is it worth trying to repair something that costs so little? I only changed my mums one because the Bluetooth connection kept failing.
Isn’t there a print head cleaning programme on the printer?