beautypg.com

Battery query, Version query, Querying the printer – Datamax-O'Neil microFlash 2te Quick Reference Programming Guide User Manual

Page 53

background image

Querying the Printer

49

Datamax-O’Neil Quick Reference Programming

Battery Query

Version Query

Battery Query

Original

MF2/MF3/

2t/4t

Radio Ready

2t/3l/4t

Query Format

ESC{BT?}

Reply Format

{BT!

V

:x;

T:

x;CH:x}

Function

Returns current battery voltage and

temperature.

Reply Example

{BT!

V

:6.8;

T

:+25.8C,

CH

:C, PS:B}

Reply

Parameters

V

:Voltage of single - n.n volts

V1 and V2: Voltage of each of two

batteries- n.n volts (for V1); n.n volts (for

V2)

VE: Voltage of battery eliminator - n.n

volts

T

: Temperature of battery (depends on

battery type).

CH

:Charge - Y=Connected; N=Not

connected.

PS: Power Source - A=DC over

battery;B=Battery over DC; C=Battery

eliminator

X

X

4t Only

nn.nC

X

X

X

X

4t Only

Always

returns NA

X

X

(A/B are

same in

Thermal)

Version Query
Query Format

ESC{VR?}

Reply Format

{VR!

F

:x;

B

:x;

D

:x}

Function

Returns the version levels of firmware, boot code, and

download file number.

Reply Example

{VR!

F

:4.09;

C:5.25;B

:2.05;

D

:1.0}

Reply Example

Explanation

VR! - Reply to a version query.

F

:4:09; - The firmware (main program) version is 4.09.

C:5.25; - The communication controller version is 5.25.

B

:2.05; - The boot code version is 2.05.

D

:1.0; - The download file version is 1.0.

This manual is related to the following products: