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.

 

• 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);

 

END

 

[Print Results]

<

 

 

 

 

 

Normal Printing during Macro Definition

 

<

 

 

<

 

 

 

Printing during Macro Execution

 

<

 

— 60 —

Page 62
Image 62
Citizen Systems PPU-231II manual Specifying starting/ending macro definition