beautypg.com

10 macro commands – Citizen Systems BD2-2220 User Manual

Page 98

background image

- 98 -

2.2.10 Macro Commands

GS :

CT-S280

CT-S300

CT-S2000

CT-S4000

BD2-2220

CT-S310

support model

PMU2XXX

[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]

• 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]

[Print Results]

LPRINT CHR$(&H1D);":";

+------+

Normal printing during macro definition

Printing during macro execution

LPRINT "+------+";CHR$(&HA);

| |

LPRINT "| |"; CHR$(&HA);

+------+

LPRINT "+------+"; CHR$(&HA);

+------+

LPRINT CHR$(&H1D);":";

| |

LPRINT CHR$(&H1D);"^";

+------+

LPRINT CHR$(2); CHR$(10);

+------+

| |

+------+

This manual is related to the following products: