beautypg.com

Esc sp n – Citizen Systems CBM-270 User Manual

Page 48

background image

CBM-270 User’s Manual

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.

W it hout da t a inside the i nte rna l pr i nt buff er , howe ve r, no pr inti ng is pe rf orm ed.

[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

[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