3. PRINTER FUNCTIONS
TPTCM
33
3-
n
n
o
i
t
c
n
u
F
1
1
o
g
o
l
k
n
a
b
h
s
a
l
f
o
t
n
i
k
n
a
b
m
a
r
s
r
e
f
s
n
a
r
T
2
2
o
g
o
l
k
n
a
b
h
s
a
l
f
o
t
n
i
k
n
a
b
m
a
r
s
r
e
f
s
n
a
r
T
3
3
o
g
o
l
k
n
a
b
h
s
a
l
f
o
t
n
i
k
n
a
b
m
a
r
s
r
e
f
s
n
a
r
T
[Notes]
[Default]
[Reference]
ESC ·, ESC ², ESC ³
Example
:
S
G :
S
G :
S
G :
S
G
:
S
G
[Name]
Start/end macro definition
[Format]
ASCII
GS
:
Hex
1D
3A
Decimal
29
58
[Description]
Starts or ends macro definition.
[Notes]
• Macro definition starts when this command is received dur-
ing normal operation.
• When GS ^ is received during macro definition, the printer
ends macro definition and clears all definitions.
• Macros are not defined when power is turned on to the ma-
chine.
• Macro content is not cancelled by the ESC @ command.
Therefore, ESC @ may be included in the content of macro
definitions.
• If the printer receives GS : a second time after previously
receiving GS :, the printer remains in macro undefined status.
• The contents of the macro can be defined up to 2048
bytes. If the macro definition exceeds 2048 bytes, excess
data is not stored.
[Default]
[Reference]
GS ^
[Example]