Esc w xl xh yl yh dxl dxh dyl dyh – CITIZEN CT-S300 User Manual

Page 40

Advertising
background image

— 35 —

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

Ч 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.

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

When paper width is 80 mm: dxL = 64, dxH = 2, dyL = 126, dyH = 6

When paper width is 58 mm: dxL = 128, dxH = 1, dyL = 126, dyH = 6

[See Also]

Appendix 4.1 “Explanation on PAGE MODE”

CAN, ESC L, ESC T, GS P

Print Area

Paper

Paper feed direction

<

Advertising