Zebra Technologies TTP 8000 manual Graphics commands, Ends the string

Models: TTP 8000

1 132
Download 132 pages 5.96 Kb
Page 43
Image 43

Programming

Text Commands

43

ESC F

 

Set Horizontal Tabs

1B 46

n1...n16

hex

27 70

n1...n16

decimal

 

This command defines the desired horizontal tab positions. Variables n1...nx represent each tab position. Up to 16 tab positions are allowed. Minimum allowed value is “1”.

Tab position 255 sets a tab stop on the last position of the line. Use this if you want underline or reversed text to extend across the full paper width. Note that the tab positions are always expressed in number of 2.5-mm steps.

n = 1

Means 2.5 mm from the left-hand edge of the print window.

 

 

N = NUL

Ends the string

 

 

Example • Sets tab stops at 12.5, 25, 37.5, 50, and 62.5 mm.

Send→ ESC F 5 10 15 20 25 0

Note • Do not use value n = 0. The values must be sorted from low to high numbers.

Graphics commands

For the TTP 8200, the line length in bytes is 1 x, see parameter 48 on page 84. For the TTP 8300, the line length in bytes is 1.5 x, see parameter 48 on page 84.

In the TTP 8200, that is 210 bytes for the A4 printer and 216 bytes for the Letter size printer.

...ESC b n1 n5

data

 

Print Bitmap at XY-position

1B 62 n1

...n5

Data

hex

27 98 n1...

n5

Data

decimal

 

Prints a black & white Windows bitmap (BMP-file with 1-bit color depth) at the specified X-Y position. The bit-map must be a complete uncompressed Windows bitmap where the data starts with BM. Max size is limited to the free RAM printed on the self-test printout.

n1

n2n3

n4n5

data

Always 0

Two byte definition of the X print position (in pixels).

Two byte definition of the Y print position (in pixels).

Bitmap data.

After the bitmap has been printed, the cursor will return to the X-position that it had before the bitmap command was issued.

Selecting horizontal mode (with <ESC>o<0>) prints the image in portrait orientation, while selecting the vertical mode (with <ESC>o<1>) prints the image in landscape orientation.

Note • The Y print-position and horizontal/vertical orientation only works if fixed page length is used.

10/19/2009

TTP 8000 Technical Manual

P1003638-003

Page 43
Image 43
Zebra Technologies TTP 8000 manual Graphics commands, Ends the string