Patent ID: 7455382

Claim:
A recording apparatus including a plurality of ink tanks mounted in a carriage, the plurality of ink tanks having respective light emitting portions, the recording apparatus comprising: a light receiving portion adapted to receive light from the light emitting portions; a light emission control unit adapted to control a light emitting portion of a predetermined one of the ink tanks to emit light; a first determining unit adapted to determine whether a mounting position of the predetermined ink tank is correct based on a result obtained when the light receiving portion has received the light emitted from the light emitting portion at a plurality of positions; a driving unit adapted to drive the carriage; a second determining unit adapted to, if the predetermined ink tank is determined by the first determining unit that the mounting position of the predetermined ink tank is incorrect, determine a maximum value from results obtained when the driving unit has driven the carriage to a position where the mounting position of the ink tank whose mounting position is incorrect faces the light receiving portion and, thereafter, the light emission control unit further controls the light emitting portion of the ink tank whose mounting position is incorrect to sequentially emit light at a plurality of positions; and a third determining unit adapted to determine that an abnormality has occurred in the light receiving portion if the maximum value determined by the second determining unit does not satisfy a predetermined value.