Esc ! n – CITIZEN CBM-270 User Manual

Page 51

Advertising
background image

CBM-270 User’s Manual

CITIZEN

51

ESC ! n

[Function]

Collective specifying the printing mode

[Code]

<1B> H <21> H <n>

[Range]

0 £ n £ 255

[Outline]

Printing mode is assigned. Each n bit indicates the following:

Value

Bit

Function

0

1

0

Character Font

Font A

Font B

1

Undefined

2

Undefined

3

High-lighting

Canceled

Specified

4

Double height

Canceled

Specified

5

Double width

Canceled

Specified

6

Undefined

7

Underline

Canceled

Specified

[Caution]

· With double height and double width being specified simultaneously, double

wide and double high characters are consisted.

· An underline is attached to the full character width, which, however, is not

attached to the part having been skipped by the horizontal tab. Neither is it

attached to 90°-right-turned characters.

· The underline width is as having been specified by <ESC - >. (The default

setting is 1 dot width. )

· Specification with this command is invalid to Kanji, except specification and

cancellation of highlighting

· In case that double wide character and normal character exist in same one line,

the layout of underline is consistent one.

[Default]

n = 0

[See Also]

ESC E, ESC -

[Sample Program]

LPRINT CHR$ (&H1B) ; " ! " ; CHR$ (&H00) ; "H" ;
LPRINT CHR$ (&H1B) ; " ! " ; CHR$ (&H01) ; "H";
LPRINT CHR$ (&H1B) ; " ! " ; CHR$ (&H08) ; "H";
LPRINT CHR$ (&H1B) ; " ! " ; CHR$ (&H10) ; "H";
LPRINT CHR$ (&H1B) ; " ! " ; CHR$ (&H20) ; "H";
LPRINT CHR$ (&H1B) ; " ! " ; CHR$ (&H80) ; "H";
LPRINT CHR$ (&H1B) ; " ! " ; CHR$ (&HB9) ; "H";
LPRINT CHR$ (&HA) ;
END

[Print Results]

Advertising