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]. |
| • Vertical start point = [(yL + yH × 256) × basic calculation pitch]. |
| • Horizontal length = [(dxL + dxH × 256) × basic calculation pitch]. |
| • Vertical length = [(dyL + dyH × 256) × basic calculation pitch]. |
[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). |
— 84 —