Patent ID: 8228532

Claim:
A computer implemented method for providing a hardware controlled one-time write for a fiscal printer, the computer implemented method comprising: receiving a signal at a memory controller in an electronic journal or fiscal memory card connected to a fiscal printer, wherein the signal comprises transaction data and an address in a memory space in the electronic journal or fiscal memory card; responsive to receiving the signal comprising the transaction data and the address at the memory controller, storing the transaction data in a memory storage area in the electronic journal or fiscal memory card; checking a marker bit corresponding to the address to determine if the marker bit is in a written state, wherein the marker bit is in a separate memory location than the address; responsive to a determination that the marker bit is not in a written state, setting the marker bit to the written state; further responsive to the determination that the marker bit is not in the written state, writing the transaction data to the address in the memory space; responsive to writing the transaction data to the address in the memory space, comparing the transaction data in the memory storage area against the transaction data stored in the memory space; if the transaction data in the memory storage area equals the transaction data stored in the memory space, setting a delimiter bit corresponding to the address in the memory space to a finished state and erasing the transaction data stored in the memory storage area, wherein the delimiter bit indicates whether writing the transaction data is completed; and if the transaction data in the memory storage area does not equal the transaction data stored in the memory space, erasing the transaction data stored in the memory storage area and obtaining a second signal comprising the transaction data and a second address in the memory space.