According to the present invention, light is emitted by a light source at
different emission intensities, and sensor output values are compared
with threshold values at the individual emission intensities, so that the
types of recording media having various reflection characteristics can be
correctly determined.