Citizen CMP-10 Specifikace Strana 37

  • 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 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.
Zobrazit stránku 36
1 2 ... 32 33 34 35 36 37 38 39 40 41 42 ... 79 80

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

Žádné komentáře