Although more kinds of ink cartridges can be identified if an identifying member is divided into more areas, there is a limit to the number of areas because difference in voltage output from the optical sensor 19 becomes smaller as areas become narrower.