Macro Commands - Citizen CT-D150 Command Reference Manual

Hide thumbs Also See for CT-D150:
Table of Contents

Advertisement

Support
model
CT-D151/E651

2.2.10 Macro Commands

GS :
[Function]
Starting/ending macro definition
[Code]
<1D>H<3A>H
[Outline]
[The specification which is common to the model]
• Specifying starting/ending macro definition.
• Reception of this command during macro definition signifies ending the macro definition.
[Caution]
[The specification which is common to the model]
• Maximum content available for macro definition is 2048 bytes. A portion exceeding 2048 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.
[Default]
The initial value is not defined.
GS ^
[See Also]
[Sample Program]
LPRINT CHR$(&H1D);":";
LPRINT "+------+";CHR$(&HA);
LPRINT "|
|"; CHR$(&HA);
LPRINT "+------+"; CHR$(&HA);
LPRINT CHR$(&H1D);":";
LPRINT CHR$(&H1D);"^";
LPRINT CHR$(2); CHR$(10); CHR$(0);
CT-S280
CT-S300
CT-S281
CT-S310
+------+
+------+
CT-S2000
CT-S4000
CT-S801/851
CT-S601/651
[Print Results]
+------+
Normal printing during macro definition
|
|
+------+
|
|
+------+
|
|
+------+
- 149 -
CT-S251
CT-D150/E351
CT-P29x series
CT-S310II
Printing during macro execution

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents