Esc sp n – CITIZEN CBM-270 User Manual

Page 49

Advertising
background image

CBM-270 User’s Manual

CITIZEN

49

CR

[Function]

Print

[Code]

<0D>H

[Outline]

1) When DS1-2 is OFF:

This command is ignored.

2) When DS1-2 is ON:

With data held inside the internal print buffer, printing and line feed are
performed.
Without data inside the internal print buffer, however, no printing is
performed.

[See Also] LF
[Sample Program]

[Print Results]

LPRINT "AAA" ; CHR$ (&HD) ; When DS1-2 is OFF
LPRINT "BBB" ; CHR$ (&HD) ;
LPRINT CHR$ (&HD) ;
LPRINT "CCC" ; CHR$ (&HD) ; When DS1-2 is ON
END

ESC SP n

[Function]

Setting the right spacing of the character

[Code]

<1B> H <20> H <n>

[Range]

0 £ n £ 32

[Outline]

The rightward space amount is set in dot unit (1/203 inch unit). In the initial
value, it is n=0.

[Caution]

The rightward space amount in double wide mode is made double of the set
volume.

[Default] n = 0

[Sample Program]

[Print Results]

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

Advertising