That is, the input data receiving unit 144 may retain a previous medium insertion time. Note that the previous medium insertion time is a time when the medium 201 is previously inserted to input data into the image forming apparatus 100. Upon current insertion of the medium 201 to input data into the image forming apparatus 100, the input data receiving unit 144 calculates a time difference between the previous medium insertion time and a current medium insertion time. Note that the current medium insertion time is a time when the medium 201 is currently inserted to input data into the image forming apparatus 100. When the time difference is not smaller than a given difference (e.g., 10 seconds), the input data receiving unit 144 deletes the numerical data temporarily stored in the temporary storing unit 161.
Such a configuration clears erroneous input data, allowing the image forming apparatus 100 to receive data input again. For example, when a user erroneously inserts the medium 201 and unintended data (e.g., unintended numerical data) is input into the image forming apparatus 100, the user removes the medium 201 from the medium slot 70 and waits for a certain period of time, so that the image forming apparatus 100 clears the unintended data to be ready for next data input.
The input data receiving unit 144 according to the first and second embodiments may further have the following function.