FIG. 17 is an example of the black test patterns PK1, PK2 and PK3 to control the phases of the black photosensitive drum 10K and the cyan test patterns PC1, PC2 and PC3 to control the phases of the three photosensitive drums 10C, 10M and 10Y in the embodiment of FIG. 16.