Programming 67

Software Command Syntax

ESC ENQ 7

 

Firmware-Version Enquiry

1B 05 07

Hex

27 5 7

decimal

 

Results in a 2-byte response representing the version of the installed firmware.

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 6-byte response representing the serial number of the printer’s control board.

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 1-byte response representing the control board revision. A minus sign indicates that no revision has been made, while A indicates the first revision, and so on.

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 1-byte response representing the temperature of the Print Head.

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

P1002902-002