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

Page 62

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 —

Image 62
Contents Command Reference Revision Command Function Mode Code Print Control FunctionsFunction Mode Code ESC \Command relative to NV memory Outline DefaultRange ReferenceCommand Details See AlsoPrint Results See Also Sample Program Print Result Standard ModeMode Can Example DLE EOT nRange Outline Page See Also DLE ENQ n ESC FF Default See Also ESC SP nLprint Aaaaa + CHR$&HA ESC ! n Lprint CHR$&HA END ESC $ n1 n2 100 ESC % n Gosub SetchrESC & s n m a p s⋅ a m-n+1 Font a ESC * m n1 n2 d k IMG1 ESC n ESC ESC 3 n ESC = n ESC ? n ESC @ Function Code Outline Sample Program Print ResultsESC D n k NUL ESC E n ESC G n ESC J n ESC L Details ESC M nDefinition value ESC R n ESC S ESC T n Default Sample Program ESC V nESC W xL xH yL yH dxL dxH dyL dyH CAN, ESC L, ESC T, GS P ESC \ nL nH ESC a n ESC c 3 n ESC c 4 n ESC c 5 n ESC d n ESC n n ’ ∝ ← n = Default Sample Program Print Results Vertical Magnification GS ! nHorizontal Magnification Default See Also GS $ nL nH See Also ESC $, ESC T, ESC W, ESC \, GS P, GS \GS * n1 n2 d n1⋅ n2⋅ Next I Next J Return GS a pL pH n m DefinitionGS / m Specifying starting/ending macro definition GS a m n GS B n GS H n Print Results GS I n GS L nL nH GS P, GS W GS P x y GS R 0 n GS R 1 n GS S 1DH56Hm 1DH56Hmn GS W nL nH GS L, GS P GS \ nL nH GS n1 n2 n3 GS a n Paper feed state triggered by Feed switch DLE EOT, GS r GS f n Selecting bar code height D1 ..... dk NUL D1 ...... dnFor Standard Mode ForFor page Mode Default Initial value is not definedDescription of Bar Codes For print examples, refer to UPC-AAscii This bar code consists of 103 bar code characters Special characters FNC4Description of Bar Codes GS r n See Also DLE EOT, GS aGS v 0 m xL xH yL yH d1...dk When xL+xH ⋅ 256= GS w n FS g3 m a1 a2 a3 a4 nL nH d1…dk RangeReference FS g4 m a1 a2 a3 a4 nL nH FS g3 P n m Page Q n xL xH yL yH d1…dk 1… xL xH yL yH d1…dk n Page Related Commands FS p