Programming

System Related Commands

ESC ENQ P n1

Parameter-setting Data Enquiry

1B 05 50 n1

Hex

27 5 80 n1

Decimal

 

This command requests information about the setting of parameter n1, that is, the parameter value stored in flash PROM or any parameter value temporarily set by other ESC commands.

n= 1

gives the setting of parameter 1, etc. The parameter names are listed

 

under Summary of Parameter Settings on page 73.

 

 

n = 0

gives a response where the first two bytes specifies the length of data to

 

come (high-byte, low byte), and followed by a block of data for all

 

parameters in the temporary setup.

 

 

63

ESC ACK n1

 

Acknowledge Marker

1B 06 n1

hex

27 6 n1

decimal

 

n =

One-byte marker. Range 1 to 255

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.

Example •

"Print data" <LF><ESC>p<ESC><ACK><1>

Wait for <1>

<RS><ESC><ACK><2>

Wait for <2>

The printer will send <1> when <print data> has executed and <2> 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.

10/19/2009

TTP 8000 Technical Manual

P1003638-003

Page 63
Image 63
Zebra Technologies TTP 8000 manual Parameters in the temporary setup, Wait for