Add management of cartridge of printer