Esc d n 1 – Zebra Technologies TTP 8000 User Manual

Page 41

Advertising
background image

41

Programming

Text Commands

10/19/2009

TTP 8000 Technical Manual

P1003638-003

Cancels text and attributes sent before the <CAN> command on the same line.

Commands, are not cancelled.

By default, carriage return is ignored.

By changing the default settings, you can:

1.

Interpret it as <CR> which returns print position to beginning of line without line feed.

2.

Interpret <CR> as <CR><LF> which inserts line space as specified by the line spacing
setting (see parameter

13 on page 78

), and returns the print position to beginning of the

line.

See

CR/LF Behavior on page 79

.

Linefeed is interpreted as <CR><LF> by default. This inserts line spaces as specified by the
line spacing setting (see parameter p13), and returns the print position to beginning of the line.
LF also converts text from the input buffer to pixel lines and stores them in the line buffer,
ready to be printed.

By changing the default settings, you can:

• Interpret <LF> as Linefeed. This inserts line space as specified by the line spacing setting

(see parameter p13), without returning the print position to the beginning of the line.

• Ignore <LF>.

See

CR/LF Behavior on page 79

.

Executes the number of linefeeds as defined by variable n1. The length of each line feed is
determined by the default value for selected font (see parameter

13 on page 78

).

The print position is returned to the beginning of the line. Any text on the line is lost. To avoid
losing text, send an <LF> before sending <ESC>d.

CAN

Cancel

18

hex

24

decimal

CR

Carriage Return

0D

hex

13

decimal

LF

Linefeed

0A

hex

10

decimal

ESC d n 1

Make n Linefeeds

1B 64 n1

hex

27 100 n1

decimal

Advertising