7197 Series II Owner’s Guide Chapter 6: Commands
August 2011
175
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.
If any of the memory locations addressed by this command are not currently erased, the
command is not executed.
Example:
MSComm1.Output = Chr$(&H1B) & Chr$(&H27) & Chr$(&H5) & Chr$(&H0) &
Chr$(&H0) & Chr$(&H0) & "Hello"
The above command writes the word ‘Hello’ to the User Data Storage Flash Page.
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.
Example:
MSComm1.Output = Chr$(&H1B) & Chr$(&H34) & Chr$(&H5) & Chr$(&H0) &
Chr$(&H0) & Chr$(&H0)