Starting/Ending Macro Definition - Citizen Model CMP-10 Command Reference Manual

Citizen systems mobile line thermal printer user manual
Hide thumbs Also See for Model CMP-10:
Table of Contents

Advertisement

GS :
[Function]

Starting/Ending Macro Definition

[Code]
<1D>H<3A>H
[Outline]
Specifying starting/ending macro definition.
Means termination when received while defining a macro.
[Caution]
• Maximum content available for macro definition is 3328 bytes.
• A portion exceeding 3328 bytes is not defined.
• Even with ESC @ (initialization of the printer) having been executed, defined content
• Normal printing operation is carried out even while in macro definition.
[Default]
Initially, Macro is not specified.
[See Also]
GS ^
[Sample Program]
PRINT #1, CHR$ (&H1D) + ": " ;
PRINT #1, "+–––+" + CHR$ (&HA);
PRINT #1, " | | " + CHR$ (&HA);
PRINT #1, "+–––+" + CHR$ (&HA);
PRINT #1, CHR$ (&H1D) + ": ";
PRINT #1, CHR$ (&H1D) + " ^ ";
PRINT #1, CHR$ (2) + CHR$ (10);
PRINT #1, CHR$ (0);
[Print Results]
is not cleared. Therefore, it is possible to include ESC @ into the content of macro
definition.
Normal Printing during Macro Definition
Printing during Macro Execution
— 45 —

Advertisement

Table of Contents
loading

Table of Contents