A control method at the time of preliminary ejection of ink is changed between a recording area in which a nozzle used for recording is not switched every recording scanning and a recording area in which the nozzle for recording is switched every recording scanning, whereby the preliminary ejection is performed at an appropriate frequency in any recording area.