Patent ID: 8277010

Claim:
An image forming device comprising a print head formed with a plurality of print elements for forming an image on a recording medium, the print elements including a downstream element and an upstream element positioned upstream of the downstream element in a conveying direction; a head moving mechanism for reciprocatingly moving the print head in a forward direction and a reverse direction opposite from the forward direction, wherein the print head performs a bi-directional printing including a first print for forming a first image while being moved in the forward direction and a second print for forming a second image while being moved in the reverse direction, both the forward direction and the reverse direction being orthogonal to the conveying direction; a first memory that stores a first value relating to an amount of offset in the conveying direction between a first position on the recording medium at which a first test image is formed with the downstream element in the first print when the recording medium is at a first predetermined position and a second position on the recording medium at which a second test image is formed with the downstream element in the second print when the recording medium is at the first predetermined position; a second memory that stores a second value relating to an amount of offset in the conveying direction between a third position on the recording medium at which a third test image is formed with the upstream element in the first print when the recording medium is at a second predetermined position and a fourth position on the recording medium at which a fourth test image is formed with the upstream element in the second print when the recording medium is at the second predetermined position; a first amount determining unit that determines a first amount by correcting a predetermined amount based on the first value stored in the first memory; a second amount determining unit that determines a second amount by correcting the predetermined amount based on the second value stored in the second memory; and a conveying mechanism that conveys the recording medium toward a downstream side in the conveying direction relative to the print head the first amount after one of the first print and the second print is performed and the second amount after the other of the first print and the second print is performed.