Patent ID: 8210639

Claim:
An ink supply device comprising: a cartridge mounting portion to which an ink cartridge is configured to be mounted by being inserted thereinto in an insertion direction, wherein the cartridge mounting portion comprises: a first detector configured to detect a first portion of the ink cartridge and to output first detection information when the first detector detects the first portion of the ink cartridge, and a second detector configured to detect a second portion of the ink cartridge and to output second detection information when the second detector detects the second portion of the ink cartridge; a controller configured to store, in a storing unit, first determination information of whether or not the second detection information is output by the second detector when the first detector begins outputting the first detection information, and second determination information of whether or not the second detection information is output by the second detector when the first detector stops outputting the first detection information; and the controller is further configured to determine a type of the ink cartridge based on the first determination information initially stored during an insertion of the ink cartridge into the cartridge mounting portion and the second determination information finally stored during the insertion of the ink cartridge into the cartridge mounting portion.