An image forming apparatus is capable of forming an image on any of an
image-erasable recording medium having recording-medium identification
information and a recording medium and is capable performing image
formation according to a first mode for forming an erasable image and
according to a second mode for forming an inerasable image arbitrarily.
The apparatus includes an image-forming unit, a detecting unit, and a
control unit, feeds the image-erasable recording medium to the
image-forming unit and allows the same to carry out image formation
according to the first image-forming mode, when the first image-forming
mode is selected, the detecting unit detects a recording medium having
the recording medium-identification information, and the mode-control
unit determines that image formation on an image-erasable recording
medium can be carried out and does not prohibit image formation according
to the first image-forming mode.