Esc ack n1, Esc enq p n1 – Zebra Technologies TTP 8000 User Manual

Page 63

Advertising
background image

63

Programming

System Related Commands

10/19/2009

TTP 8000 Technical Manual

P1003638-003

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.

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

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.

ESC ACK n1

Acknowledge Marker

1B 06 n1

hex

27 6 n1

decimal

n =

One-byte marker. Range 1 to 255

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.

Advertising