Specifications
Programmers Guide TH230/TH230+
50
ESC 3
Function:
Set line spacing
Code ASCII: ESC 3 n
Code HEX: 0x1B 0x33 n
Range:
0 ≤ n ≤ 255
Default: Default line spacing is 3,33 mm (n = 54)
Description:
Sets the line spacing to n × (vertical motion unit * 1/2).
Notes:
• The unit of n parameter is an half of a full step. It means, n will be
divided by 2. n=1 means 0 fullsteps and the linespacing is 0.
• The maximum line spacing is 1016 mm (40 inches). If the specified
amount exceeds 1016 mm (40 inches), the line spacing is automatically
set to 1016 mm (40 inches).
• When standard mode is selected, the vertical motion unit is used.
• When page mode is selected, the vertical or horizontal motion unit is
used for the print direction set by ESC T.
• When the starting position is set to the upper left or lower right of the
printing area using ESC T, the vertical motion unit is used.
• When the starting position is set to the upper right or lower left of the
printing area using ESC T, the horizontal motion unit is used.
• The line spacing can be set independently in standard mode and in page
mode.
• When the motion unit is changed after the line spacing is set, the line
spacing setting does not change.
• Selected line spacing is effective until ESC 2 is executed, ESC @ is
executed, the printer is reset, or the power is turned off.
• The vertical or horizontal motion unit is specified by GS P.
• In standard mode, if the character height is greater than the line spacing
specified by this command, the paper is fed the amount of the character
height. For example, if a line spacing of 34 dots is specified with this
command, but the characters used are double height (48 dots), the
paper is fed 48 dots.
• When an amount of paper feed exceeding the maximum value is
specified, the maximum paper feed is executed.
• The vertical motion unit (see GS P) will not calculate for line spacing.
Reference: SYN, GS P