Esc W Xl Xh Yl Yh Dxl Dxh Dyl Dyh - Citizen CBM-820 User Manual

Terminal slip printer
Hide thumbs Also See for CBM-820:
Table of Contents

Advertisement

ESC W xL xH yL yH dxL dxH dyL dyH

[Function]
[Code]
[Range]
[Outline]
[Caution]
[Default]
[See Also]
Sets Print Area in Page Mode
ASCII
ESC W
Hexadecimal
1B
Decimal
27
0
xL
255, xH = 0, 0
0
dyL
255, 0
dyH
This command sets the position and size of the print area in the page mode.
• The upper left start point is represented by (x0, y0), y-directional(vertical) length by dy dots,
and x-directional(horizontal) length by dx dots.
x0 = [(xL + xH × 256)]
dx = [(dxL + dxH × 256)]
(0, 0)
(x0, y0)
dy
• Setting beyond the printable area on the paper is automatically adjusted to the maximum
settable area, based on the effective values from xL to dyH (i.e., xL, xH, yL, yH, dxL, dxH,
dyL and dyH).
• The maximum x-directional dot in the printable area is 210.
• The maximum y-directional dot in the printable area is 480.
• When deploying the print data in the specified area, a print area length in the character
printing direction and vertical direction must be always 8 dots or more.
• Set the print area to the size fittable within the printing paper.
• If the start point (x0, y0) is beyond the printable area, this command will be ignored.
• Only setting is valid in the standard mode.
xL = xH = yL = yH = 0, dxL = 210,
dxH = 0, dyL = 224, dyH = 1
CAN, ESC L, ESC T
xL
xH
yL
57
xL
xH
yL
87
xL
xH
yL
yL
255, 0
yH
1 (Except dxL = dxH = 0 or dyL = dyH = 0)
y0 = [(yL + yH × 256)]
dy = [(dyL + dyH × 256)]
Printable Area on Paper
dx
Print area
(x0+dx-1, y0+dy-1)
– 60 –
yH
dxL
dxH dyL
yH
dxL
dxH dyL
yH
dxL
dxH dyL
1, 0
dxL
255, dxH = 0
(209 dots, 479 dots)
dyH
dyH
dyH

Advertisement

Table of Contents
loading

Table of Contents