M-S Cash Drawer A794 Manuel D’Utilisation
Chapter 6: Programming Information
A794 Owner’s Guide
December 1999
132
User Data Storage Commands
Write to User Data Storage
ASCII
ESC ‘ m a0 a1 a2 d1 ... dm
Hexadecimal
1B 27 m a0 a1 a2 d1 ... dm
Decimal
27 39 m a0 a1 a2 d1 ... dm
Value of m:
0 – 255
Writes m bytes of data to the User Data Storage Flash Page at the address specified. The
printer waits for m bytes of data following the 3-byte address, addr.
printer waits for m bytes of data following the 3-byte address, addr.
If any of the memory locations addressed by this command are not currently erased, the
command is not executed.
command is not executed.
Read from User Data Storage
ASCII
ESC 4 m a0 a1 a2
Hexadecimal
1B 34 m a0 a1 a2
Decimal
27 52 m a0 a1 a2
Value of m:
0 – 255
Reads m bytes of data from the User Data Storage Flash Page at the address specified.
Read from Non-Volatile Memory
ASCII
ESC j k
Hexadecimal
1B 6A k
Decimal
27 106 k
Range of k
:
20 – 63 (decimal)
Reads a two-byte word from location k in the history EEROM. The printer returns the
word at the next available opportunity.
word at the next available opportunity.
Related Information:
This is ignored in TM-T88 Emulation and the parameter byte goes into the print buffer.
Write to Non-Volatile Memory (NVRAM)
ASCI
ESC s
n1 n2 k
Hexadecimal
1B 73
n1 n2 k
Decimal
27 115 n1 n2 k
Value of n1 :
1
st
Byte
Value of n2 :
2
nd
Byte
Range of k :
20 - 63 (decimal locations)
Writes the two-byte word, n1 n2, to location k in history EEROM.
Related Information:
This is ignored in TM-T88 Emulation and the parameter bytes go into the print buffer.