1. An image forming apparatus, comprising:
a printing unit configured to perform a double-sided print for a plurality of pages; and
a deletion unit configured to delete data of a page that the printing unit prints;
wherein the deletion unit, in a case where a page printed last by the printing unit out of the plurality of pages is an odd
page counting from the first page in a print order, does not delete but stores data of the page printed last.