A semiconductor memory device includes a memory cell array, a plurality of latch circuits, first circuit, second circuit and third circuit. In the inkjet printer, the maintenance of the maintenance apparatus is started by a carriage. Different areas of the epitaxial structure have different optical properties.