Citizen CMP-10 Specifikace Strana 13

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 80
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 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
>
>
>
>
>
>
Zobrazit stránku 12
1 2 ... 8 9 10 11 12 13 14 15 16 17 18 ... 79 80

Komentáře k této Příručce

Žádné komentáře