Patent ID: 8599426

Claim:
A data storage processing apparatus in a printing apparatus, comprising: a printing control unit which controls the printing unit and acquires printing-associated information updated through an operation of the printing unit; a first storage unit which is a non-volatile storage unit including a first storage area and a second storage area in which data including the printing-associated information are stored; a second storage unit in which the data of one of the first storage area and the second storage area are written; a writing unit which writes the data of one of the first storage area and the second storage area to the second storage unit; a first counting unit and a second counting unit which are disposed to correspond to the first storage area and the second storage area; and a writing-back unit which performs a writing-back process for writing the data of the second storage unit back to one of the first storage area and the second storage area and performs counting processes of the counting units corresponding to the first storage area and the second storage area which are writing-back sites on which the writing-back process is performed to set a count value according to an amount of the written-back data, wherein the writing unit writes the data of one of the first storage area and the second storage area corresponding to the counting unit, of which the count value becomes a writing-back completion value to the second storage unit.