This invention provides an environment in which, for example, even when
the operation mode shifts to a specific one after a standby state for a
predetermined time, a discharge tray corresponding to this operation mode
functions to smoothly perform the next operation. For this purpose, if
the standby state continues even upon the lapse of an auto-clear setting
time, the operation mode shifts to a set specific one, and movement of a
discharge tray corresponding to this operation mode is controlled.