Citizen iDP3221 manual Lprint CHR$ &H1B a CHR$

Models: iDP3221

1 201
Download 201 pages 35.91 Kb
Page 89
Image 89

iDP3221 User’s Manual

ESC

a

n

 

 

[Function]

 

Aligning the characters

 

 

[Code]

 

 

<1B> H <61> H <n>

 

 

[Range]

 

0 n 2, 48 n 50

 

 

[Outline]

 

All the printed data within one line are aligned in the specified position.

 

 

 

• Depending on "n" value, positional alignment is carried out as in the table below:

 

 

 

 

 

 

 

 

 

n

 

Position

 

 

 

 

0,48

 

Left end alignment

 

 

 

 

1,49

 

Centering

 

 

 

 

2,50

 

Right end alignment

 

[Caution]

 

• This is valid only when "n" is inputted at the beginning of line.

 

 

 

• This command does not affect the Page mode.

[Default]

 

n = 0

 

 

[Sample Program]

LPRINT CHR$ (&H1B) ; "a" ; CHR$ (0) ;

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

LPRINT CHR$ (&H1B) ; "a" ; CHR$ (1) ;

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

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

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

END

[Print Results]

73

CITIZEN

Page 89
Image 89
Citizen iDP3221 manual Lprint CHR$ &H1B a CHR$