Esc t n – CITIZEN PPU-231 User Manual

Page 76

Advertising
background image

PPU-231 User’s Manual

63

CITIZEN

ESC t n

[Function]

Selecting Character Code Table

[Code]

<1B>H<74>H<n>

[Range]

{0

≤ n ≤ 1} Data is described in Hex code.

[Outline]

Selecting Page n on the character code table:

The character code table is selected depending on the value of n.

"n" means the followings.

n (Hex)

Condition

0

Page0(IBM Character #2)

1 Page1(Japanese

Characters)

[Default]

The initial value of n are shown below

• When Japan is selected

: 1(Japanese characters)

• When non Japan is selected

: 0(IBM characters #2)

[See Also]

Character Code Table

[Sample Program]

LPRINT CHR$ (&H1B) + "t" + CHR$ (0) ;

LPRINT " n=0 " ;

FOR C=&HB1 TO &HB5

LPRINT CHR$ (C) ;

NEXT C

LPRINT CHR$ (&HA) ;

LPRINT CHR$ (&H1B) + "t" + CHR$ (1) ;

LPRINT " n=1 " ;

FOR C=&HB1 TO &HB5

LPRINT CHR$ (C) ;

NEXT C

LPRINT CHR$ (&HA) ;

[Print Results]

Advertising