The present invention discloses an ink cartridge, detachablely connected to the printer, for supplying ink stored in the ink storage room to the printer, comprises a storage element(80)for storing the data correlative with the ink cartridge or the ink inside of the ink cartridge in a non-volatile fashion; an input/output connecting element which is connected with the storage element and is electrical connected to the printer when the ink cartridge is connected to the printer. The printer writes data in or read data from the storage element by the input/output connecting element. The storage element comprises an address counter(83)which is connected with the input/output connecting element and is used for counting the pulsing signals from the printer, so as to obtain the addresses of the access data of the storage element. |