Specifications

TH230/TH230+ Programmers Guide
145
GS :
Function:
Start/end macro definition
Code ASCII: GS :
Code HEX: 0x1D 0x3A
Description:
Starts or ends macro definition.
Notes:
Macro definition starts when this command is received during normal
operation and ends when it is processed during macro definition.
While the macro is defined, the printing is also executed.
The maximum number of data is limited to 2048 bytes. All exceeded data
bytes are not stored.
If the printer processes GS : again immediately after previously processing
it, the printer clears the definition.
Macro is not defined when the power is turned on.
The defined contents of the macro are not cleared by ESC @. Defined
content of the macro is effective until the printer is reset, or the power is
turned off.
The macro is executed by GS ^.