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)]

(0, 0)

Printable Area on Paper

(x0, y0)

dx

dy

Print area

 

 

 

(x0+dx-1, y0+dy-1)

 

 

 

 

(209 dots, 479 dots)

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

[Default]

xL = xH = yL = yH = 0, dxL = 210,

 

dxH = 0, dyL = 224, dyH = 1

[See Also]

CAN, ESC L, ESC T

– 60 –

Page 71
Image 71
Star Micronics CBM-820 manual ESC W xL xH yL yH dxL dxH dyL dyH