ESC `
[Function] | Returning the battery voltage and Printer Head temperature |
[Code] | <1B>H<60>H |
[Outline] | When this command is send to |
| 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 |
| 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. |
Ñ 35 Ñ