An image forming apparatus comprising: a receiving unit that is configured to receive print data transmitted from an external apparatus; a printing unit that is configured to print the print data received by the receiving unit ; a power feed unit that includes a non-power saving mode in which power is supplied to the receiving unit and a power saving mode, the power feed unit configured to change the mode to control the supply of power to the receiving unit ; an input unit that is configured to input a switching instruction to switch the mode of the power feed unit from the power saving mode to the non-power saving mode; and a switching unit that is configured to switch the mode of the power feed unit from the non-power saving mode to the power saving mode when a stop condition which stops the supply of power to the receiving unit is satisfied, the switching unit configured to switch the mode of the power feed unit from the power saving mode to the non-power saving mode when the switching instruction is input by the input unit ; wherein no power is supplied to the receiving unit in the power saving mode, and the image forming apparatus further comprises a change unit that is configured to change the stop condition from a first condition, which is used before the mode is changed to the power saving mode, to a second condition after the mode of the power feed unit has been changed from the non-power saving mode to the power saving mode and if the mode of the power feed unit is subsequently switched from the power saving mode to the non-power saving mode by the switching instruction, characterized in that the second condition is that the first condition is satisfied, and in addition that the printing unit has performed a printing operation. a receiving unit that is configured to receive print data transmitted from an external apparatus; a printing unit that is configured to print the print data received by the receiving unit ; a power feed unit that includes a non-power saving mode in which power is supplied to the receiving unit and a power saving mode, the power feed unit configured to change the mode to control the supply of power to the receiving unit ; an input unit that is configured to input a switching instruction to switch the mode of the power feed unit from the power saving mode to the non-power saving mode; and a switching unit that is configured to switch the mode of the power feed unit from the non-power saving mode to the power saving mode when a stop condition which stops the supply of power to the receiving unit is satisfied, the switching unit configured to switch the mode of the power feed unit from the power saving mode to the non-power saving mode when the switching instruction is input by the input unit ; wherein no power is supplied to the receiving unit in the power saving mode, and the image forming apparatus further comprises a change unit that is configured to change the stop condition from a first condition, which is used before the mode is changed to the power saving mode, to a second condition after the mode of the power feed unit has been changed from the non-power saving mode to the power saving mode and if the mode of the power feed unit is subsequently switched from the power saving mode to the non-power saving mode by the switching instruction, characterized in that the second condition is that the first condition is satisfied, and in addition that the printing unit has performed a printing operation. <EOS>