Patent ID: 7270271

Claim:
An image forming apparatus having a plurality of operation modes, comprising: a memory unit configured to store information indicating whether or not to store an operation history, each of the information corresponding to any one of the operation modes; a designation unit configured to designate an operation mode from the plurality of operation modes; a determination unit configured to determine, based on the information stored in said memory unit, whether or not to store an operation history in accordance with an operation of the designated operation mode; and an operation history storage unit configured to store the operation history in accordance with an operation of the designated operation mode; an agreement request unit configured to, in a case where said determination unit determines to store the operation history, request an agreement about storage of the operation history; and a control unit configured to cause said operation history storage unit to store the operation history and permit execution of the designated operation mode under a condition that storage of the operation history is agreed, and to inhibit execution of the designated operation mode when storage of the operation history is not agreed.