An image forming apparatus, which is capable of printing images on two sides of a recording sheet according to a print job, comprising: an image forming unit configured to print an image on either side of the recording sheet; a sheet feeding path, in which the recording sheet is conveyed to have the image printed thereon, the sheet feeding path including a regular feeding path and a return-feeding path and capable of accommodating a plurality of recording sheets; a sheet-ejection controller configured to eject the recording sheet out of the sheet feeding path through a sheet outlet; wherein the regular feeding path directs the recording sheet to pass by the image forming unit and to the sheet outlet; wherein the return-feeding path is branched off from the regular feeding path at a branch point in a lower-stream position with respect to the image forming unit in a direction of sheet-conveyance and merged into the regular feeding path at a meeting point in an upper-stream position with respect to the image forming unit in the direction of sheet-conveyance; and wherein the sheet-ejection controller controls a recording sheet closer to the sheet outlet in the direction of sheet-conveyance along the sheet feeding path to be ejected prior to a recording sheet further from the sheet outlet in the direction of sheet-conveyance along the sheet feeding path when cancellation of the print job is entered during a double-face printing operation, in which the images are formed on one side of N pieces of recording sheets continuously and the other side of M pieces of recording sheets thereafter, whilst M is smaller than or equal to N, characterized in that the image forming apparatus further comprises: a judging unit configured to judge as to whether the cancellation request requires urgent ejection of the recording sheets out of the sheet feeding path, wherein the sheet-ejection controller controls the recording sheet in the sheet feeding path closer to the sheet outlet to be ejected prior to the recording sheet further from the sheet outlet when the judging unit judges that the cancellation request requires urgent ejection; and wherein the sheet-ejection controller ejects the recording sheets in the order of page numbers by conveying a part of the recording sheets through the return-feeding path when the judging unit judges that the cancellation request requires lower urgency in ejecting the recording sheets. an image forming unit configured to print an image on either side of the recording sheet; a sheet feeding path, in which the recording sheet is conveyed to have the image printed thereon, the sheet feeding path including a regular feeding path and a return-feeding path and capable of accommodating a plurality of recording sheets; a sheet-ejection controller configured to eject the recording sheet out of the sheet feeding path through a sheet outlet; wherein the regular feeding path directs the recording sheet to pass by the image forming unit and to the sheet outlet; wherein the return-feeding path is branched off from the regular feeding path at a branch point in a lower-stream position with respect to the image forming unit in a direction of sheet-conveyance and merged into the regular feeding path at a meeting point in an upper-stream position with respect to the image forming unit in the direction of sheet-conveyance; and wherein the sheet-ejection controller controls a recording sheet closer to the sheet outlet in the direction of sheet-conveyance along the sheet feeding path to be ejected prior to a recording sheet further from the sheet outlet in the direction of sheet-conveyance along the sheet feeding path when cancellation of the print job is entered during a double-face printing operation, in which the images are formed on one side of N pieces of recording sheets continuously and the other side of M pieces of recording sheets thereafter, whilst M is smaller than or equal to N, characterized in that the image forming apparatus further comprises: a judging unit configured to judge as to whether the cancellation request requires urgent ejection of the recording sheets out of the sheet feeding path, wherein the sheet-ejection controller controls the recording sheet in the sheet feeding path closer to the sheet outlet to be ejected prior to the recording sheet further from the sheet outlet when the judging unit judges that the cancellation request requires urgent ejection; and wherein the sheet-ejection controller ejects the recording sheets in the order of page numbers by conveying a part of the recording sheets through the return-feeding path when the judging unit judges that the cancellation request requires lower urgency in ejecting the recording sheets.