Patent ID: 8746685

Claim:
An image forming apparatus comprising: a printing section that first forms an image on one side of a recording medium and then forms an image on another side of the recording medium; a determination section that determines a medium length of the recording medium; and a control section that causes the recording medium to be ejected to a sheet ejection port after the image is formed on the one side of the recording medium, when the determined medium length is outside of a preset threshold range, wherein: the printing section includes: a first sheet passing path along which the recording medium is transported from a sheet ejection roller placed behind a fixing section to an ejection roller placed in proximity to the sheet ejection port; and a second sheet passing path along which the recording medium is transported from the sheet ejection roller to a reversal roller placed in proximity to the sheet ejection port; the first sheet passing path includes a length shorter than a length of the second sheet passing path; and the control section transports the recording medium including the image formed on the one side of the recording medium to the second sheet passing path and returns the recording medium to the printing section by reversing the transport direction of the recording medium by the reversal roller, when the determined medium length is within the threshold range, and the control section causes the recording medium including the image formed on the one side of the recording medium to be ejected from the first sheet passing path to the sheet ejection port, when the determined medium length is shorter than a lower limit threshold of the threshold range.