Citizen Systems PPU-231II manual 100

Page 22

[Sample Program]

LPRINT CHR$(&H1B) + “$” ;

LPRINT CHR$(0) + CHR$(0) + “A” ;

LPRINT CHR$(&H1B) + “$” ;

LPRINT CHR$(50) + CHR$(0) + “B” ;

LPRINT CHR$(&H1B) + “$” ;

LPRINT CHR$(0) + CHR$(1) + “C” ;

LPRINT CHR$(&HA) ;

LPRINT CHR$(&H1B) + “$” ;

LPRINT CHR$(100) + CHR$(0) + “A” ;

LPRINT CHR$(&H1B) + “\” ;

LPRINT CHR$(&HC2) + CHR$(&HFF) + “B” ;

LPRINT CHR$(&HA);

END

[Print Results]

Absolute Position Specified

0

<

A

50

100

<

 

B

<

B

A

<

–62

256

<

C

Relative Position Specified

— 20 —

Image 22
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 Mode Standard ModePrint Result Can Range Outline DLE EOT nExample 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 Definition value ESC M nDetails 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 Horizontal Magnification GS ! nVertical 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