Citizen Systems Model CMP-10 manual ESC a n, Hex Position

Models: Model CMP-10

1 80
Download 80 pages 40.75 Kb
Page 38
Image 38

ESC a n

[Function]

Aligning the characters

[Code]

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

[Range]

{0 =< n =< 2(Hex)}

[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 (Hex)

Position

 

 

0

Left end alignment

 

 

1

Centering

 

 

2

Right end alignment

[Caution]

¥

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

 

¥

The initial value of n is Ò0Ó.

[Sample Program]

PRINT #1, CHR$ (&H1B) + “a” + CHR$ (0);

PRINT #1, “AAAAA” + CHR$ (&HA);

PRINT #1, CHR$ (&H1B) + “a” + CHR$ (1);

PRINT #1, “AAAAA” + CHR$ (&HA);

PRINT #1, CHR$ (&H1B) + “a” + CHR$ (2);

PRINT #1, “AAAAA” + CHR$ (&HA);

[Print Results]

A A A A A

 

 

>

 

A A A A A

 

 

A A A A A

Paper Feed

 

 

 

 

Direction

Left-justified

Centered

Righ-justified

 

 

Ñ 36 Ñ

Page 38
Image 38
Citizen Systems Model CMP-10 manual ESC a n, Hex Position