Zebra Technologies TTP 8000 manual See CR/LF Behavior on, Ignore LF

Models: TTP 8000

1 132
Download 132 pages 5.96 Kb
Page 41
Image 41

Programming

Text Commands

 

CAN

Cancel

18

hex

24

decimal

 

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

Commands, are not cancelled.

 

CR

Carriage Return

0D

hex

13

decimal

 

41

 

LF

0A

hex

10

decimal

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

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.

ESC d n 1

Make n Linefeeds

1B 64 n1

hex

27 100 n1

decimal

 

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.

10/19/2009

TTP 8000 Technical Manual

P1003638-003

Page 41
Image 41
Zebra Technologies TTP 8000 manual See CR/LF Behavior on, Ignore LF