Citizen CMP-10 Dokumentacja Strona 37

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 80
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 36
— 35 —
ESC `
[Function] Returning the battery voltage and Printer Head temperature
[Code] <1B>H<60>H
[Outline] When this command is send to CMP-10, the printer will return the current value of
battery voltage and the current temperature of the printer thermal head.
Battery voltage is returned in the format: battery voltage × 10 + 20H and head
temperature is returned in the format: head temperature + 20H.
[Sample Program]
PRINT #1, CHR$ (&H1B) + “ ` ”;
[Print Results] Suppose the battery voltage is 7.8 volts and head temperature is 40°C.
Then CMP-10 will return <6C>H, <48>H to the host.
This values are calculated as follows:
Volatge: 7.8 × 10 = 78 + 32 =110 which is 6CH.
Temperaure: 40 + 32 = 72 which is 48H.
32 is equal to 20H.
Przeglądanie stron 36
1 2 ... 32 33 34 35 36 37 38 39 40 41 42 ... 79 80

Komentarze do niniejszej Instrukcji

Brak uwag