- Citizen Printer Command Reference

- 65 -
ESC W xL xH yL yH dxL dxH dyL dyH
CT-S280 CT-S300 CT-S2000 CT-S4000 BD2-2220 CT-S310
support model
PMU2XXX
[Function] Defining the print area in PAGE MODE
[Code] <1B>H<57>H<xL><xH><yL><yH><dxL><dxH><dyL><dyH>
[Range] 0xLxHyLyHdxLdxHdyLdyH 255
except for dxL = dxH = 0 or dyL = dyH = 0
[Outline] [The specification which is common to the model]
Defines the location and size of the print area.
• Horizontal start point = [(xL+xH×256)×basic calculation pitch] inches
• Vertical start point = [(yL+yH×256)×basic calculation pitch] inches
• Horizontal length = [(dxL+dxH×256)×basic calculation pitch] inches
• Vertical length = [(dyL+dyH×256)×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.
XY
Paper
Dx
Dy
Prin
• The printable area is approximately 117 mm (938/203 inches) vertically, and horizontal area
depends on the model. (Refer to the below Table)
t
X+Dx-1Y+Dy-1
Pa
p
er feed direction