I think you’ve been a bit unlucky, especially with just putting new ink in. But I wouldn’t waste too much of your time on it and wouldn’t throw more than say £50 at repairing it, otherwise you may as well buy a new one anyway.
I just had a fairly expensive hp printer go faulty at 5 years old. Looked briefly at repair and then bought a new Canon printer instead. Just too much hassle and I needed to print stuff off in the meantime. The hp is now sitting in my wife’s office waiting for the IT guy to take a look. If it can be repaired cheaply I will, but I’m expecting it to be uneconomic to repair. Also running low on ink, so would need new cartridges soon too.
I think home printers are now really a consumable. Even the big office machines on lease get updated every 3 years or so. Goodness knows where all the old ones end up. There must be a mountain of obsolete/broken printers somewhere.