A non-transitory computer-readable recording medium with an operation control program stored therein, the operation control program allowing a computer included in an image forming apparatus, the image forming apparatus comprising:
- a plurality of toner containers for each same color fitted therein;
- and, for the plurality of toner containers, respective removal restricting devices that restrict removal of the respective associated toner containers, to operate to manage an in-use container which is, among the plurality of toner containers, the toner container used for execution of printing, allow the removal restricting device for the in-use container to restrict the removal of the in-use container during the execution of printing, and lift, during the execution of printing, restriction imposed by the other removal restricting devices on the removal of the toner containers other than the in-use container.