摘要 |
A printer includes a printing section that ejects an ink, and a spectrometer that disperses incident light. The spectrometer includes a window section that transmits the light, an optical filter device, and a light receiving section. The optical filter device includes a variable wavelength interference filter as a dispersing element that disperses light transmitted by the window section. The light receiving section receives the light which is dispersed by the variable wavelength interference filter. A dirtiness of the window section is detected based on measured values corresponding to each of a plurality of wavelengths obtained by spectrally measuring light from a reference object, and reference values corresponding to each of the plurality of wavelengths. |