Esc sp n – CITIZEN PPU-231 User Manual

Page 54

Advertising
background image

PPU-231 User’s Manual

41

CITIZEN

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) ;
LPRINT "BBB" + CHR$ (&HD) ;
LPRINT CHR$ (&HD) ;
LPRINT "CCC" + CHR$ (&HD) ;

ESC SP n

[Function]

Setting the right space amount of the character

[Code]

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

[Range]

{0

≤ n ≤ 20} Data is described in Hex code.

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

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) ;

[Print Results]

Advertising