Citizen CMP-10 Dokumentacja Strona 38

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 80
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 37
— 36 —
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:
[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]
n (Hex) Position
0 Left end alignment
1 Centering
2 Right end alignment
A A A A A
A A A A A
A A A A A
Paper Feed
Direction
>
Left-justified Centered Righ-justified
Przeglądanie stron 37
1 2 ... 33 34 35 36 37 38 39 40 41 42 43 ... 79 80

Komentarze do niniejszej Instrukcji

Brak uwag