Esc − n, Esc 2 – CITIZEN PPU-231 User Manual

Page 62

Advertising
background image

PPU-231 User’s Manual

49

CITIZEN

ESC

− n

[Function]

Specifying/Canceling Underline

[Code]

<1B>H<2D>H<n>

[Range]

{0

≤ n ≤ 02} data is described in Hex code.

[Outline]

Specifying/canceling an underline.

•Types of underlines by n value are shown below:

n (Hex)

Type

0

Canceling an underline.

1

Specifying an underline for 1-dot width.

2

Specifying an underline for 2-dots width.

[Caution]

• An underline is attached to the full character width. It is, however, not attached to

the part having been skipped by horizontal tab command.

• An underline is not attached to a 90 °- right-turned characters.
• Specification/cancellation with this command is invalid to Kanji.

[See Also]

ESC !, FS

[Sample Program]

LPRINT CHR$ (&H1B) + "

−" + CHR$ (0) ;

LPRINT "AAAAA" ;

LPRINT CHR$ (&H1B) + "

−" + CHR$ (1) ;

LPRINT "AAAAA" + CHR$ (&HA) ;

[Print Results]

ESC 2

[Function]

Specifying 1/6-inch Line Feed Rate

[Code]

<1B>H<32>H

[Outline]

The line feed rate per line is specified by 1/6 inch.

[Sample Program]

[Print Results]

LPRINT "AAAAA" + CHR$ (&HA) ;

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

LPRINT "AAAAA" + CHR$ (&HA) ;

LPRINT CHR$ (&H1B) + "3" + CHR$ (50) ;

LPRINT "AAAAA" + CHR$ (&HA) ;

LPRINT CHR$ (&H1B) + "2" ;

LPRINT "AAAAA" + CHR$ (&HA) ;

LPRINT "AAAAA" ;

LPRINT CHR$ (&H1B) + "J" + CHR$ (100) ;

LPRINT "AAAAA" + CHR$ (&HA) ;
LPRINT "AAAAA" + CHR$ (&HA) ;

Advertising