- 63 -
2.2.9 Macro Commands
GS :
[Function]
Starting/ending macro definition
[Code]
<1D>H<3A>H
[Outline]
Specifying starting/ending macro definition.
Reception of this command during macro definition signifies ending the macro
definition.
[Caution]
• 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.
[See Also]
GS ^
[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);
[Print Results]
+--------+
| |
Normal printing during macro definition
+--------+
+--------+
| |
+--------+
Printing during macro execution
+--------+
| |
+--------+
Содержание BD2-2220
Страница 1: ...Command Reference LINE THERMAL PRINTER MODEL BD2 2220 Rev 0 00 Issued on 2006 8 4...
Страница 2: ...REVISION Rev No Date Comment 0 00 2006 08 04 Newly issued...
Страница 71: ...69 Print Results No HRI characters Printed above Printed below Printed above and below 1 2 1 2 1 2 1 2...
Страница 126: ...124 3 1 10 Codepage 00H to 7FH PC864 Arabic...
Страница 128: ...126 3 1 12 Codepage 00H to 7FH Thai Code 18...