Printek MtP Series Programmer's Manual page 30

Mtp series
Table of Contents

Advertisement

Printek Emulation
Example: The following control code will return the status of the print buffer, the magnetic card reader, and the
battery voltage.
Control Code:
SYN
Hexadecimal:
16
The three sample status strings that would be returned in response to this command are as follows.
Print Buffer Status: ESC
Hexadecimal:
1B
MCR Status:
ESC
Hexadecimal:
1B
Battery Voltage:
ESC
Hexadecimal:
1B
Query Printer Firmware Version
This command returns a string containing the printer's firmware version designation as three ASCII digits. The
three digits may be interpreted by adding a decimal point between the first two digits as shown in the example
below.
Example: This following escape sequence requests the printer's firmware version.
Escape Sequence: ESC
Hexadecimal:
1B
A sample string returned in response to this command is shown below and indicates that the firmware version is
"1.00".
Firmware Version: ESC
Hexadecimal:
1B
Query Printer Model and Hardware Revision Level
This command returns a string containing three digits that represent the printer model and a single character
that represents the printer's hardware revision level. The printer models indicated by the three digits are as
follows:
Value Printer Model
300
MtP300
302
MtP300 with MCR
304
MtP300 LP
306
MtP300 LP with MCR
26
B
0
0
4
42
30
30
34
M
0
1
2
4D
30
31
32
V
7
1
2
56
37
31
32
P
(
50
28
(
1
0
0 SPACE CR
28
31
30
30
Value Printer Model
400
MtP400
401
MtP400 SL
402
MtP400 with MCR
403
MtP400 SL with MCR
404
MtP400 LP
406
MtP400 LP with MCR
2
CR
LF
1,344 bytes in input buffer.
32
0D
0A
4
CR
LF
Twelve seconds remain to read 1 & 2.
34
0D
0A
3
CR
LF
Battery Voltage is 7.123 Volts
33
0D
0A
LF
20
0D
0A
ESC P (
ESC P )

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mtp300Mtp300 lpMtp400Mtp400 lpMtp400 sl

Table of Contents