Three nozzle caps for sealing the surface of a recording head are provided in correspondence to an ink tank group of Y, C, and M, an ink tank group of R, G, and B, and an ink tank group of photo-K and K. Then, ink is sucked for each of the three nozzle caps by a suction pump.