Citizen CBM-270 user manual Lprint CHR$ END

Models: CBM-270

1 114
Download 114 pages 19.21 Kb
Page 80
Image 80

CBM-270 User’s Manual

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 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 while in macro definition

[Default]

· Initially, Macro is not specified.

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

LPRINT CHR$ (0) ;

END

[Print Results]

Normal Printing during

Macro Definition

Printing during Macro Execution

80

CITIZEN

Page 80
Image 80
Citizen CBM-270 user manual Lprint CHR$ END