Programming 67
Software Command Syntax
ESC ENQ 7 |
| |
1B 05 07 | Hex | |
27 5 7 | decimal |
|
Results in a
The first byte represents major versions, and the second byte minor versions.
If no firmware is loaded, the printer will answer with 0.
Example •
Send→ <ESC><ENQ><7>
Read← 02 29 (hex)
That is, a response with the value 02 29 (hex) indicates version 2.41.
ESC ENQ 9 |
| Control Board Serial Number Enquiry |
1B 05 09 | hex | |
27 5 9 | decimal |
|
Results in a
Example •
Send→ <ESC><ENQ><9>
Read← 00 00 02 2B C6 28 (hex), or 0 2 43 198 40 (dec)
ESC ENQ 10 |
| Control Board Revision Enquiry |
1B 05 0A | hex | |
27 5 10 | decimal |
|
Results in a
Example •
Send→<ESC><ENQ><10>
Read←n Where n can be ‘A’ (ASCII) or 41 (hex) or 65 (dec)
ESC ENQ 11 |
| Head Temperature Enquiry |
1B 05 0B | hex | |
27 5 11 | decimal |
|
Results in a
Example •
Send→<ESC><ENQ><11>
Read←n Where n is a value representing the approximate temperature in Celsius.
The answer is a signed byte (two's complement). If bit 7 is 1 than it’s a negative value, invert all bits and add 1 to get the value.
09/14/2009 | TTP 2000 Technical Manual |