摘要 |
A printer controlled by a CPU in which a ROM having stored therein a control program executed by the CPU in replaceable. The ROM has stored therein identifying codes for identifying the control program stored in the ROM, and initializing data. A nonvolatile memory capable of being read out and written and having contents retained even if a power switch is turned off is provided with memory areas which can store respectively the identifying codes and the initializing data stored in the ROM in an identical array fashion. Each time the power switch is turned on, the identifying codes stored in the ROM are compared with identifying codes stored in the nonvolatile memory. If the identifying codes in the ROM and the identifying codes in the nonvolatile memory are inconsistent with each other, the identifying codes and the initializing data stored in the ROM are transferred and written respectively to the memory areas of the nonvolatile memory.
|