Patent ID: 8831458

Claim:
An image forming apparatus comprising: a storage section configured to store data; a printing section configured to perform duplex printing of the data stored in the storage section; and a control device configured to: control the printing section to perform duplex printing based on the data, which prints N sheets on first sides thereof and subsequently prints M sheets among the printed N sheets on second sides thereof, wherein M is equal to or smaller than N; detect a request for storing data in the storage section; change a value of N into N′ which is smaller than N, during the duplex printing, in response to the detection of the request for storing data based on a function which uses the storage section concurrently with an operation of the duplex printing; and control the printing section to continue the duplex printing based on the data, which prints N′ sheets on first side thereof and subsequently prints M′ sheets among the printed N′ sheets on second sides thereof, wherein M′ is equal to or smaller than N′.