- 36 -
ESC W xL xH yL yH dxL dxH dyL dyH
[Function]
Defining the print area in PAGE MODE
[Code]
<1B>H<57>H<xL><xH><yL><yH><dxL><dxH><dyL><dyH>
[Range]
0
≤
xL, xH, yL, yH, dxL, dxH, dyL, dyH
≤
255, except for dxL = dxH = 0 or dyL = dyH = 0
[Outline]
Defines the location and size of the print area.
• Horizontal start point = [(xL + xH x 256) x basic calculation pitch] inches
• Vertical start point = [(yL + yH x 256) x basic calculation pitch] inches
• Horizontal length = [(dxL + dxH x 256) x basic calculation pitch] inches
• Vertical length = [(dyL + dyH x 256) x basic calculation pitch] inches
[Caution]
• When STANDARD MODE is selected, this command only executes the internal
flagging of the printer without affecting the printing in STANDARD MODE.
• If the horizontal start point or vertical start point is out of the printable area, this
command is canceled and the next data is handled as normal data.
• If the horizontal length or vertical length is 0, this command is canceled and the next
data is handled as normal data.
• The character mapping position will be the start point specified by ESC T in the print
area.
• If the “horizontal start point + horizontal length” is greater than the horizontal
printable area, the “horizontal printable area – horizontal start point” is taken as the
horizontal length.
• If the “vertical start point + vertical length” is greater than the vertical printable area,
the “vertical printable area – vertical start point” is taken as the vertical length.
• The basic calculation pitch is defined by GS P. Once defined, the print area is not
changed if the basic calculation pitch is changed by GS P.
• Fractions resulting from calculations are corrected with the minimum pitch of the
mechanism, and the remainder is omitted.
• The horizontal start point and horizontal length are calculated with the basic
calculation pitch (x). The vertical start point and vertical length are calculated with
the basic calculation pitch (y).
• The figure below illustrates the print area, where X = horizontal start point, Y =
vertical start point, Dx = horizontal length, and Dy = vertical length.
Paper
feed
direction
The printable area for this printer is approximately 72.070 mm (576/203 inches)
horizontally and 117 mm (938/203 inches) vertically.
[Default]
xL = xH = yL = yH = 0
dxL
=
64,
dxH
= 2, dyL = 126, dyH = 6
[See Also]
Appendix 4.1 “Explanation on PAGE MODE”
CAN, ESC L, ESC T, GS P
(X,Y) Paper
↓
Dx
Dy
↑
(X+Dx-1,Y+Dy-1)
Print Area
Содержание BD2-2220
Страница 1: ...Command Reference LINE THERMAL PRINTER MODEL BD2 2220 Rev 0 00 Issued on 2006 8 4...
Страница 2: ...REVISION Rev No Date Comment 0 00 2006 08 04 Newly issued...
Страница 71: ...69 Print Results No HRI characters Printed above Printed below Printed above and below 1 2 1 2 1 2 1 2...
Страница 126: ...124 3 1 10 Codepage 00H to 7FH PC864 Arabic...
Страница 128: ...126 3 1 12 Codepage 00H to 7FH Thai Code 18...