Zebra ttp2110 Software Guide

Page of 138
Programming
Software command syntax
76
P1003640-001
TTP2100 Technical Manual
10/22/2008
This command requests information about the setting of parameter n1, that is, the parameter 
value stored in EEPROM or any parameter value temporarily set by other ESC commands. 
=
The "acknowledge marker" n is placed in the command queue and when the execution of 
commands reaches the marker it is sent back to the host computer. This is an addition to the 
status commands that pass the queue and are answered immediately when received.
ESC ENQ P n1
Parameter-Setting Data Enquiry
1B 05 50 n1
Hex
27 5 80 n1
Decimal
n1= 1
 gives the setting of parameter 1, etc. The parameter names are listed under 
Summary of Parameter Settings
.
n1 = 0
 gives a response where the first two bytes specifies the length of data to 
come, and then follows a block of data for all parameters in the temporary 
setup.
ESC ACK  n1
 
Acknowledge Marker
1B 06  n1
hex
27 6  n1
decimal
n1 =
         One-byte marker. Range 1h to 255h
Example • 
"Print data" <LF><esc>p<ESC><ACK><01h>
Wait for <01h>
<RS><ESC><ACK><02h>
Wait for <02h>
The printer will send <01h> when <print data> has executed and 
<02h>
 when the ejecting 
has been performed. 
Note • 
You must wait for the acknowledge marker to return before sending any more data to 
the printer.
Note • 
Acknowledge marker cannot be used for events that write to the flash PROM, for 
instance font loading. This is because the writing procedure erases the buffer, including the 
markers, and uses all RAM in the printer.