CHAPTER 8 ESC/POS MODE (INTERFACE COMMANDS)
B-EP
Series
8-5
8.7 EXPANSION OF PRINT DATA IN PRINT AREA
The print data is expanded in the print area as follows.
(1) The print area is defined by the Page Mode Print Area Set command ([ESC] W). The left end of
the printer as one face must be considered as the starting point of the print area (x0,y0) at the
moment when printing or feeding before the printer receives [ESC] W is completed. The print
area is formed by a rectangle that is dx pitches wide (from the starting point in the x or horizontal
direction) and dy pitches high (from the starting point in the y or vertical direction). (If the print
area is not defined by [ESC] W, a default value will be applied.)
(2) If the printer receives print data after the print area is defined by the Page Mode Print Area Set
command ([ESC] W) and the print direction is defined by the Page Mode Print Direction Set
Command ([ESC] T), characters and downloaded bit images are expanded aligning their bottom
left point to the baseline.
(3) If the print data (including space on the right of a character) deviates from the print area before a
command that includes line feed (Line Feed Command ([LF]) or Feed Length Set Command
([ESC] J) is received, line feed will be performed automatically within the print area. The position
where print data is expanded is shifted 1 line. Also, the next expantion position is the beginning
of the line. Line feed must be performed in accordance with the line feed length specified by the
30-dot Line Feed Length Set Command ([ESC] 2) or Minimum Dots for Line Feed Length Set
Command ([ESC] 3).
(4) The default line feed length is 30 dots. Therefore, if the print data for the next line includes
double-height characters or downloaded bit image, the default line feed length may be insufficient.
As a result, the higher order dots may be superimposed on the previous print data. Therefore,
the line feed length must be increased.
(5) Printing of a barcode in horizontal orientation is not allowed due to a a large reading error.
[Position where print data is expanded]
A
Baseline
24
12
Dou
ble-
hei
ght character
Bit image
([ESC] *)
Logo
([GS] *)
Extended
image
([GS] K)
Barcode
([GS]k)
HRI characters
HRI characters