Extracting the code from a printer cartridge chip

you mean the chip type and number or something?