Citizen CMP-10 Dokumentacja Strona 13

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 80
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 12
— 11 —
ESC $ n1 n2
[Function] Specifying the Absolute Positions
[Code] <1B>H<24>H<n1><n2>
[Range] {0 =< n1 =< FF(Hex)}
{0 =< n2 =< 1(Hex)}
[Outline] The printing start position is specified in the number of dots (1/203 inch unit) from
the beginning of line.
The number of dots is divided by 256, whose quotient is taken as n2 and the residual
as n1.
Therefore, the printing start position is equal to n1 + n2 × 256 from the beginning of
line.
[Caution] Specifying beyond the line end is ignored.
[Default] The initial value is not specified.
[See Also] ESC \
[Sample Program]
PRINT #1, CHR$ (&H1B) + “$”;
PRINT #1, CHR$ (0) + CHR$ (0) + “A”;
PRINT #1, CHR$ (&H1B) + “$”;
PRINT #1, CHR$ (50) + CHR$ (0) + “B”;
PRINT #1, CHR$ (&H1B) + “$”;
PRINT #1, CHR$ (0) + CHR$ (1) + “C”;
PRINT #1, CHR$ (&HA);
PRINT #1, CHR$ (&H1B) + “$”;
PRINT #1, CHR$ (100) + CHR$ (0) + “A”;
PRINT #1, CHR$ (&H1B) + “\”;
PRINT #1, CHR$ (&HC2) + CHR$ (&HFF) + “B”;
PRINT #1, CHR$ (&HA);
[Print Results]
050100 256
A B C
B A
>
>
>
>
>
>
Przeglądanie stron 12
1 2 ... 8 9 10 11 12 13 14 15 16 17 18 ... 79 80

Komentarze do niniejszej Instrukcji

Brak uwag