Patent ID: 8246139

Claim:
An ink supply device comprising: a cartridge mounting portion to which an ink cartridge is 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 a second portion of the ink cartridge, the second portion being shifted from the first portion in the insertion direction; a trigger detector configured to output a first signal and a second signal during an insertion of the ink cartridge into the cartridge mounting portion; a processor; and a storing unit storing a program to be executed by the processor, wherein the program is configured to cause, when executed by the processor, the processor to function as: a type determiner configured to perform a type determination based on a first determination of whether or not the first detector detects the first portion when an output from the trigger detector changes from the first signal to the second signal, and based on a second determination of whether or not the first detector detects the second portion when the output from the trigger detector changes from the second signal to the first signal.