Citizen Systems CBM-820 Printer User Manual


 
– 60 –
ESC W xL xH yL yH dxL dxH dyL dyH
[Function] Sets Print Area in Page Mode
[Code] ASCII ESC W xL xH yL yH dxL dxH dyL dyH
Hexadecimal 1B 57 xL xH yL yH dxL dxH dyL dyH
Decimal 27 87 xL xH yL yH dxL dxH dyL dyH
[Range] 0
Ϲ
xL
Ϲ
255, xH = 0, 0
Ϲ
yL
Ϲ
255, 0
Ϲ
yH
Ϲ
1, 0
Ϲ
dxL
Ϲ
255, dxH = 0
0
Ϲ
dyL
Ϲ
255, 0
Ϲ
dyH
Ϲ
1 (Except dxL = dxH = 0 or dyL = dyH = 0)
[Outline] 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)] y0 = [(yL + yH
×
256)]
dx = [(dxL +
dxH
×
256)] dy = [(dyL + dyH
×
256)]
[Caution] 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 specied 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 ttable 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.
[Default] xL = xH = yL = yH = 0, dxL = 210,
dxH = 0, dyL = 224, dyH = 1
[See Also] CAN, ESC L, ESC T
(209 dots, 479 dots)
Printable Area on Paper
(0, 0)
(x0, y0)
(x0+dx-1, y0+dy-1)
dx
dy
Print area