Patent ID: 8157346

Claim:
An ink supply device comprising: a controller; a cartridge mounting portion; and an ink cartridge configured to be mounted to the cartridge mounting portion by being inserted thereinto in an insertion direction, the ink cartridge comprising: a first detection target portion positioned at an upper front side of the ink cartridge during an insertion of the ink cartridge into the cartridge mounting portion in the insertion direction; a second detection target portion positioned at a lower front side of the ink cartridge during the insertion of the ink cartridge into the cartridge mounting portion in the insertion direction; and a third detection target portion positioned at a front side of the ink cartridge during the insertion of the ink cartridge into the cartridge mounting portion in the insertion direction, wherein the third detection target portion is positioned between the first detection target portion and the second detection target portion, wherein the cartridge mounting portion comprises: a first detector configured to detect the first detection target portion and to output first detection information when the first detector detects the first detection target portion; a second detector configured to detect the second detection target portion and to output second detection information when the second detector detects the second detection target portion; and a third detector configured to detect the third detection target portion and to output third detection information when the third detector detects the third detection target portion, and wherein the controller is configured to execute a first process based on whether the first detection information and the second detection information are output when the third detection information is output during the insertion of the ink cartridge into the cartridge mounting portion, and a type of the ink cartridge is determined in the first process.