A method of controlling an image forming apparatus comprising a fixing device configured to fix, by adding heat and pressure to a toner image formed on a sheet, the toner image to the sheet, a temperature sensor configured to detect a temperature of an end of the fixing device in a direction perpendicular to a sheet conveyance direction, a cooling fan configured to supply air to the end of the fixing device to cool the end of the fixing device, and a shutter provided at an exit of the cooling fan, the shutter being configured to be opened and closed, the method comprising:
- controlling a cooling level by the cooling fan in accordance with the temperature of the end of the fixing device detected by the temperature sensor;
- predicting, based on at least one parameter depending on the cooling level, a discharge amount of ultra fine particles that are discharged from the image forming apparatus, thereby producing a predicted discharge amount;
- and
- controlling an image forming operation by the image forming apparatus such that the discharge amount of ultra fine particles is reduced in accordance with the predicted discharge amount,
- wherein the predicting comprises predicting the discharge amount of ultra fine particles by using an air flow amount of the cooling fan and an opening amount of the shutter as parameters depending on the cooling level.