User`s manual
Confidential
RS-T80 Programming Manual
146
3) If the print data (including the space to the right of a character) exceeds the printable
area before the printer receives a command (e.g., LF or ESC J) that includes line feeding,
a line feed is executed automatically within the printable area. The print position, therefore,
moves to the beginning of the next line. The line feed amount depends on the values set
by commands (such as ESC 2 and ESC 3).
4) The default value of the line spacing is set to 1/6 inch and corresponds to 31 dots in the
vertical direction. If print data for the next line contains extended characters that are higher
than double-height characters, bit images taking up two or more lines, or bar codes higher
than normal characters, the amount of line feeding may be insufficient, resulting in
overlapping of the characters' higher-order dots with the previous line. To avoid this,
increase the amount of line spacing.
Example
When printing a downloaded bit image of six bytes in the vertical direction, use the
following formula:
{number of vertical dots (8×6) - number of dots for feeding at the beginning of the printable
area (24)} × vertical motion unit conversions (180/180) = 24
Therefore, 24 dots are required for feeding.
Use the following commands:
ESC W xL, xH, yL, yH, dxL, dxH, dyL, dyH
ESC T n
ESC 3 24 ¬ Set line spacing to be added.
LF
GS / 1
ESC 2 ¬ Reset the line spacing to 1/6 inch.
NOTE: Vertical and horizontal motion units are 1/180 in the vertical direction and 1/203 in
the horizontal direction; therefore, the position you specify varies depending on the
printing direction. Setting the vertical motion unit to 1/180 using the GS P command does
not change the current print position.