
49
Programming
Software Command Syntax
09/28/2009 TTP 2100 Technical Manual P1003640-002
By default, carriage return is ignored.
Parameter n33 (CR/LF Behavior) can be changed so the printer interprets CR as follows:
• Interpret it as CR, returning the print position to beginning of line without line feed.
• Interpret CR as CR/LF, inserting line space as specified by the line spacing setting (see
parameter n13), and returning the print position to beginning of the line.
See CR/LF Behavior on page 87.
Linefeed is interpreted as CR/LF by default. This inserts line spacing as specified by the line
spacing setting (see parameter n13), and returns the print position to beginning of the line. LF
also converts text from the text 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 n13), without returning the print position to the beginning of the line.
• Ignore LF.
See CR/LF Behavior on page 87.
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 or the line spacing setting specified by n13,
whichever is greater (refer to parameter Line Spacing on page 87).
If an LF has not yet been sent to convert the text buffer to the line buffer, the lines printed by
ESC d are copies of that line. Following this, the print position is returned to the beginning of
the line.
CR
Carriage Return
0D hex
13 decimal
LF
Linefeed
0A hex
10 decimal
ESC d n1
Make n Linefeeds
1B 64 n1 hex
27 100 n1 decimal
Comentarios a estos manuales