Patent ID: 8830497

Claim:
An image forming apparatus, comprising: a communication device configured to communicate with an external device through a network; an information obtaining unit configured to obtain information related to a state of power supply from said external device through said communication device; an image forming unit configured to form an image on a sheet of recording paper; an output number management unit configured to count the number of output sheets of recording paper on which images are formed by said image forming unit and to manage the number of output sheets; and a counting method switching device configured to switch a method of counting the number of outputs by said output number management unit, based on the information related to the state of power supply obtained by said information obtaining unit; wherein said counting method switching device includes a determining unit configured to determine whether current time is in a power restriction time zone requiring enforcement of power restriction, and a switching device configured to maintain, if it is determined by said determining unit that the current time is not in said power restriction time zone, a normal counting method used when power supply is sufficient as the method of counting the number of outputs, and if it is determined by said determining unit that the current time is in said power restriction time zone, to switch the method of counting the number of outputs to a method of counting with a weight added to the counting method used when the power supply is sufficient.