Patent ID: 7933032

Claim:
An image forming apparatus comprising: a printing unit configured to perform a printing operation for printing an image on a recording medium according to a printing mode; a printing possibility determination unit configured to determine whether printing of an image is possible, at the time of starting the printing operation; a printing stop unit configured to stop the printing operation, when the printing possibility determination unit determines that printing of an image is impossible; a notification unit configured to create an error notification when the printing operation is stopped by the printing stop unit; a notification time counting unit configured to count a period in which the error is notified by the notification unit; a notification release unit configured to release the error notification of the notification unit, when the period in which an error is notified by the notification unit is counted for a first predetermined time; a stopped state reset unit configured to return from a stopped state of the printing unit whose printing operation is stopped, to a standby state before the printing unit performs the printing operation, when the error notification is released by the notification release unit; an operation unit configured to allow a user to set the printing mode for the printing unit in the standby state before the printing unit performs the printing operation; a no-operation state determination unit configured to determine whether the operation unit is operated to set the printing mode; a no-operation time counting unit configured to count a period in which the operation unit is not operated to set the printing mode; and a set value reset unit configured to return a set value of the printing mode to a predetermined value when the period in which the operation unit is not operated is counted for a second predetermined time and when there has been no error.