Macro Commands; Gs : ( Starting/Ending Macro Definition ) - Citizen CT-S280 Command Reference Manual

Line thermal printer
Hide thumbs Also See for CT-S280:
Table of Contents

Advertisement

2.2.9 Macro Commands

GS :
[Function]
[Code]
[Outline]
[Caution]
2048
[Default]
[See Also]
[Sample Program]
[Print Results]
|
|
|
Starting/ending macro definition
<1D>H<3A>H
Specifying starting/ending macro definition.
Reception of this command during macro definition signifies ending the macro
definition.
• Maximum content available for macro definition is 2048 bytes. A portion exceeding
bytes is not defined.
• When GS ^ is processed in macro definition, the macro definition is stopped and the
content of definition is cleared.
• Even with ESC @ (Initialization of the printer) having been executed, defined
content is not cleared. Therefore, it is possible to include ESC @ into the content of
macro definition.
• Normal printing operation is carried out even during macro definition.
The initial value is not defined.
GS ^
LPRINT CHR$(&H1D);":";
LPRINT "+------+"; CHR$(&HA);
LPRINT "|
|"; CHR$(&HA);
LPRINT "+------+"; CHR$(&HA);
LPRINT CHR$(&H1D);":";
LPRINT CHR$(&H1D);"^";
LPRINT CHR$(2); CHR$(10);
+--------+
Normal printing during macro definition
|
+--------+
+--------+
|
Printing during macro execution
+--------+
+--------+
|
+--------+
- 67 -

Advertisement

Table of Contents
loading

Table of Contents