Datamax-O'Neil PrintPAD AN-14 (Line Printer and Easy Print Modes) User Manual
Page 2
 
 
 
 
 
 
 
 
 
Similar to the queries, there are some commands. These have exactly the same form as the queries, but the “?” has 
been replaced by “!” (0x21) 
 
COMMAND MEANING
ORIGINAL
MF2/MF3/2t/4t
RADIO READY
2t/3l/4t
ESC{RE!}
Reset the entire printer 
RESPONSE: {RE!} 
X X
CARD READER SPECIFIC
CR
SCR
SCR
ESC{ME!}
Enable Magnetic Card Reader 
RESPONSE: {ME!} 
X
ESC{MD!}
Disable Magnetic Card Reader 
RESPONSE: MD!} 
X
ESC{MZ!}
Zero the Magnetic Card Buffer 
RESPONSE: {MZ!} 
X X
X
ESC{SP:n}
Turn Smart Card Power ON (n=1) or OFF (n=0)
X
X
X
ESC{RG:n}
Turn Reader Green LED on/off/flash 
n = 0 
 OFF
n = 1
 ON
n = F
 Flashing
RESPONSE: {RG!n}
X
ESC{RR:n}
Turn Reader Red LED on/off/flash 
n = 0 
 OFF
n = 1
 ON
n = F
 Flashing
RESPONSE: {RR!n}
X
ESC{SR:<string>
Sends <string> to smart card - string is smart card 
command – returns data returned by card 
X X
X
ESC{SW:<string>
Sends <string> to smart card – strin includes smart card 
command and possibly data 
X X
X
 
The response to each query is similar. It consists of the command repeated, with the “?” replaced by a “!” (0x21). This is 
followed by a series of parameter and data pairs. Each parameter and data pair are separated by a semicolon “;” (0x3b). 
Each parameter is one or more letters that uniquely identify that parameter for the type of query. This parameter and data 
pair is separated by a colon. For example: 
 
Query: 
ESC{PH?}
Response: {PH!TD:0384;DD:203;M:M-T102
;T:24.0C}
 
This is a response to the printhead query as indicated by the PH!. The first parameter is TD or Total Dots (across 
printhead) – this printer is 384 dots wide. The next parameter is DD or Dot Density and is shown as 203 dpi. The M 
parameter is the mechanism type and is an M-T102. And finally the temperature of this printhead is 24.0 degrees Celsius. 
 
 
In the tables below, the VALUES/FORMAT columns will show valid values that will be returned for each parameter, or the 
format of the retuned values. The meaning of that value, as indicated by the parenthesis below, is for informational 
purposes only and is NOT returned in the query data. An X in the printer type column indicates that parameter or value is 
present.