Well this is a long answer.
First of all, you need to understand that most companies use "counting flags", "serial numbers" and "ID product types" to correctly identify the supply you plug in your printer. This is necessary to fulfill the companies business plan (i.e. you sell the equipment for less and compensate during the life cycle - selling supplies), so this answers part of the question.
But for many legitimate reasons (i.e. supply deficit, EOL support, etc) you might need to buy refurbished or "similar" supplies to serve your needs, but these suppliers are not usually trusted companies or authorized suppliers from the printer manufacturer. So, in this case you will need to change the cartridge chip firmware that do not usually is incorrectly supplied with Samsungs similar model CLP-300.
The chips are usually the 24c0x/34c0x eeproms but any version that has at least 512 bytes are fine.
The firmware to be written is only about 408 bytes long.
These eeproms are permanent and reversible software write protection for the first-half of the array. Please note that if the cartridge is used until empty status from the printer, you will not be able to rewrite it, this is because the printer sets the write disable bit to kill the chip from reuse. This also is the case for original chips from the manufacturer. Also note that the first cartridge kit that came with the printer do not have the chips! The printer is internally programmed to count the number of pages printed with the supplied toners (and predict the empty status).
Note that you will need to update a few serial numbers to make the refurbished toner cartridge work (and be identified correctly by the printer). In my case I searched for "CRUM-xxxxxxxxnnn" where x and n are numbers, change the three last numbers (increment for each time you reset/recharge the cartridge).
Example of CRUM number identification.
Also the firmware indicates the "world region" where your printer is sold, so you need the correct region firmware model.
I got the software from here http://www.lancos.com/prog.html
to be able to read and write to the chips eeprom.
You should also buy or make the serial interface from this page http://www.chiprecharge.com/hardeng.html
to be able to program the toner eeproms.
If you look at the end of one of the cartridges and hold it so that the gear is facing you and the toner dispense tube is at the 12:00 position the contacts will be towards the 3:00 position. The contacts are as follows,
Top Left = Data
Bottom Left = Clock
Top Right = +5 VDC
Bottom Right = Gnd
Check ebay or other e-commerce sites for the parts, and search engines to find the correct firmware.