There is provided an image forming apparatus that can obtain proper output
results without causing a difference in printing direction in both-sided
printing or the like, and can improve the productivity and prevent
jamming. According to control programs stored in a ROM, a CPU of the
image forming apparatus provides control such that printing of all pages
is performed in a both-sided print sequence when the total number of
pages to be printed is odd, and provides control such that the last page
is printed in a one-sided print sequence when the total number of pages
to be printed is odd, no setting is made to make uniform the printing
direction of all pages between the both-sided printing and the one-sided
printing, and a page to be printed is the last page.