beautypg.com

Esc { n – Citizen Systems Model CMP-10 User Manual

Page 43

background image

— 41 —

ESC { n

[Function]

Specifying/Canceling the Inverted Characters

[Code]

<1B>H<7B>H

[Range]

{0 =< n =< FF(Hex)}

[Outline]

Specifying/canceling inverted characters.

• “n” is valid only for the lowest bit (n0).

[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]

• The initial value of n is “0”.

[Sample Program]

PRINT #1, CHR$ (&H1B) + “{“ + CHR$ (0);
PRINT #1, “AAAAA” + CHR$ (&HA);
PRINT #1, “BBBBB” + CHR$ (&HA);
PRINT #1, CHR$ (&H1B) + “{“ + CHR$ (1);
PRINT #1, “AAAAA” + CHR$ (&HA);
PRINT #1, “BBBBB” + CHR$ (&HA);

[Print Results]

n (Hex)

Condition

0

Canceling inverted characters.

1

Specifying inverted characters.

A A A A A
B B B B B

A A A A A

B B B B B

Inversion Specified

Inversion Canceled

Paper Feed

Direction