I find these fail after a few years. Try cleaning the contacts and hope.
I am having a problem with my HP d7160 printer.
It's telling me I am out of a certain color when I have already replaced the cartridge.
I am running XP Home Edition.