Patent attributes
Multiple alignment patterns, each composed of first and second alignment pattern elements printed by forward and backward movements of a print head, respectively, are formed while the relative printing positions of the two elements are shifted. From optical characteristics data thereof, whether the data is influenced by a disturbance is determined. When the data is determined to be less influenced by the disturbance and therefore to be reliable, an adjusting value for aligning positions in printing in reciprocal movements is calculated by use of: data with the smallest relative printing position misalignment between the first and second alignment pattern elements; and data of optical characteristics close to the data. When the data is largely influence by the disturbance, a range of shifting of relative position is widened than that of the data less influenced by the disturbance so that more data pieces are used to obtain the adjusting value.