Specifications

Confidential
SHEET
80
NO.
SHEET
REVISION
I
TITLE
NEXT
81
TM-H5000II
IIII
II series
Specification
(STANDARD)
3.12.4 Formatting of Print Data in the Printable Area
Formatting of print data in the printable area is performed as follows:
1) The printable area is set using ESC W. If all printing and feeding are complete before the
printer receives the ESC W command, the left side (as you face the printer) is taken as the
origin (x0, y0) of the printable area. The printable rectangular area is defined by the length
(dx dots) extending from and including the origin (x0, y0) in the x direction (perpendicular to
the paper feed direction), and by the length (dy dots) in the y direction (paper feed direction).
(If the ESC W command is not used, the printable area remains the default value.)
2) When the printer receives print data after ESC W sets the printable area and ESC T sets the
printing direction, the print data is formatted within the printable area so that point A in Figure
3.12.2 in paper roll is at the beginning of the printable area as a default value. (When a
character is printed, point B is the baseline.) In slip, point A in Figure 3.12.4 is default.
Print data containing downloaded bit images or bar codes is formatted so that the bottom
point of the left side of the image data (point B in Figure 3.12.3 in paper roll or point B in
Figure 3.12.5 in slip) is aligned with the baseline. However, any Human Readable
Interpretation (HRI) characters are printed under the baseline.
At the beginning of the printable area, if characters (such as double-height characters) higher
than normal size characters or downloaded bit image characters are received, any part of the
character higher than the normal-size character is not printed.
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 for paper roll is set to approximately 4.23 mm {1/6"} and
corresponds to 30 dots in the vertical direction and for slip to 12 dots. 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. The line spacing for
paper roll in example 1 requires 27 dots (54 pitch) or more (see Figure 3.12.4).