http://www.woosim.com
68
6
6
.
.
9
9
.
.
M
M
a
a
c
c
r
r
o
o
F
F
u
u
n
n
c
c
t
t
i
i
o
o
n
n
C
C
o
o
m
m
m
m
a
a
n
n
d
d
s
s
The
PORTI-W40
supports the following macro function commands;
C
C
o
o
m
m
m
m
a
a
n
n
d
d
N
N
a
a
m
m
e
e
GS :
Start/end
macro
definition
GS ^
Execute
macro
GS :
[Name]
Start/End
macro
definition
[Format]
ASCII
GS
:
HEX
1D
3A
Decimal
29
58
[Description]
Starts ends macro definition.
[Notes]
1) Macro definition starts when this command is received during normal
operation.
Macro definition ends when this command is received during macro
definition.
2) When GS ^ is received during macro definition, the printer ends macro
definition and clears the definition.
3) Macro is not defined when the power is turned on.
4) The defined contents of the macro are not cleared by ESC @.
Therefore, ESC @ can be included in the contents of the macro definition.
5) If the printer receives GS : again immediately after previously receiving
GS : the printer remains in the macro undefined state.
6) The contents of the macro can be defined up to 2048 bytes. If the macro
definition exceed 2048 bytes, excess data is not stored.
[Reference]
GS ^