Good advice from
Jon. Please note that ink jet printers need to actually print something about once a week, even if it's just a test pattern. The ink will dry up in the extremely small pathways in the head, even if there is still some liquid in the cartridges. At that point, you can try the cleaning functions of the printers software (if there is any!). At best, you can get the printer back to "normal" operation. At worst, you may have to replace the print head. Those are the heart of the printer and are not cheap, often nearly as much as the original machine.
<OPINION>
Printers are created to sell ink cartridges. Those contain ink that is often more costly than the same amount of Gold. That's why there are so many third-party ink cartridge company's! Many printer makers put chips in the carts that are difficult to create and they will force you to buy only OEM carts... which are nearly as expensive as the same amount of Gold. The actual amount of usable ink in standard carts is measured in milliliters!</OPINION>
If you never used the printer for "several years", I'm not sure why you want another one.
Assuming you are living in a fair-sized town, you should have a shop that will print most any kind of file for a very nominal fee.
If you mainly print
non-graphic documents, you might consider a laser printer. They are more expensive than ink jets but the "ink" is already dry, so it won't go bad that way.
We have a Canon IP8700. I use third-party inks. I don't recommend that particular model as it is designed to print extra wide paper.
We also have had several Brother laser printers. I also use third-party carts for it. The current model is a MFC-L5900DW. We bought it because we needed the two-side printing capability.