Esc { n – CITIZEN CBM-270 User Manual

Page 68

Advertising
background image

CBM-270 User’s Manual

CITIZEN

68

ESC { n

[Function]

Specifying/Canceling Inverted Characters

[Code]

<1B> H <7B> H <n>

[Range]

0 £ n £ 255

[Outline]

Specifying/Canceling inverted characters.
· "n" is valid only for the lowest bit (n0).
· Bit n (n0) means the followings.

n0

Condition

0

Canceling inverted characters

1

Specifying inverted characters

[Caution]

· Inverted printing means printing the line at 180°turned.
· This is valid only when this is specified at the beginning of a line.

[Default]

n = 0

[Sample Program]

LPRINT CHR$ (&H1B) ; "{" ; CHR$ (0) ;
LPRINT "AAAAA" ; CHR$ (&HA) ;
LPRINT "BBBBB" ; CHR$ (&HA) ;
LPRINT CHR$ (&H1B) ; "{" ; CHR$ (1) ;
LPRINT "AAAAA" ; CHR$ (&HA) ;
LPRINT "BBBBB" ; CHR$ (&HA) ;
END

[Print Results]

Advertising