Esc l, Data compression – Zebra Technologies TTP 8000 User Manual

Page 45

Advertising
background image

45

Programming

Text Commands

10/19/2009

TTP 8000 Technical Manual

P1003638-003

Sends one line of dot data. This command is used to build images, one dot line at a time.

Data compression

The Windows drivers use line based compression to decrease the time it takes to transfer
graphics data to the printer.

ESC l

data

Send Dot-Line, 300 dpi

1B 6C n1...n2

data

hex

27 108 n1...n2

data

decimal

n1 n2

Determines the number of bytes: n2 is the low byte and n1 is the high
byte. The value of n1+n2 must be 1 or more.
For 320 bytes n1 should be 1, and n2 should be 64.

<data>

1–320 bytes of data for a 216 mm printer

Caution • Always send the No. of bytes that you specify!

If more than the specified No. of bytes are received, the rest of the bytes will be interpreted as
text or commands. This can cause any kind of problems in the printer as graphics data can
contain any hex value.

If you specify less data then the actual printhead width, the printer will fill the rest of the dot
line with spaces.

<ESC>l<0><0><0>

or <ESC>s<0><0> disables

compression

<ESC>l<0><0><1>

or <ESC>s<0><1> enables

compression

Advertising