Printers need to print periodically. Ink jet printers ink will dry up and the ink heads will get gummy if they are not used. Once this happens, the print cartridges are ruined and you have to replace them. If you don’t use your printer regularly, then make a note to print a couple of pages at least weekly.
A good practice is to periodically choose Apple Menu > System Preferences > Printers & Scanners. Click on the Utility Tab and choose Clean Print Heads. Then choose Print Test Page. Doing so can lengthen the life of your printer.