Datamax 7A300007 Rev. 2 manual Printer Status Commands, Stx, Syn

Models: 7A300007 Rev. 2

1 67
Download 67 pages 48.07 Kb
Page 36
Image 36

Printer Status Commands

Query Print Buffer & Timer-MCR Status

 

STX

This command will cause the printer to print the battery status

 

 

 

 

 

 

 

 

Printer Response

 

 

Print Buffer Status

 

ESC B <4 ASCII digits> CR LF

 

 

Timer-MCR Status

 

ESC M <4 ASCII digits> CR LF

 

 

 

 

 

 

Note that the first three digits of the Timer-MCR field correspond to the printer times. The last byte indicates that the MRC track is currently activated in the printer.

Query Print Buffer, Battery Voltage, Timer-MCR & Print Head Temperature

SYN

This command will cause the printer to send the following information to the host:

 

Printer Response

Print Buffer Status

 

ESC B <4 ASCII digits> CR LF

Battery Voltage Status

 

ESC V <4 ASCII digits> CR LF

Timer-MCR Status

 

ESC M <4 ASCII digits> CR LF

 

 

 

Print Head Temperature

 

ESC T <4 ASCII digits> CR LF

Note that the first three digits of the Timer-MCR field correspond to the printer times. The last byte indicates that the MRC track is currently activated in the printer.

Print Battery Voltage

ESC P ^

This command will enable the printer to output the battery voltage reading.

Escape Sequence:

ESC

P

^

 

Hexadecimal:

1B

50

5E

 

Decimal:

27

80

94

 

Query Printer Firmware Version

ESC P (

This command will cause the printer to send the Firmware Version to the host.

Escape Sequence:

ESC

P

(

Hexadecimal:

1B

50

28

Decimal:

27

80

40

After sending the previous command, the printer will respond with the following ASCII sequence:

ASCII Sequence:

<string>

CR LF

The <string> field represents the firmware version.

30

Page 36
Image 36
Datamax 7A300007 Rev. 2 manual Printer Status Commands, Stx, Syn