To avoid as far as possible the accumulated error positions of adjacent nozzle groups coinciding in the sub-scanning direction, it is desirable to use a selection of working nozzles that results in the spacing between adjacent groups of working nozzles being M times the nozzle pitch k, where M is an integer of 2 or more.