BT-T080 Programming Manual
- 9 -
ESC W xL xH yL yH dxL dxH dyL dyH Set printing area in page mode
[Function]
Set printing area in page mode
[Format]
ASCII
ESC
W
xL xH yL yH dxL dxH dyL dyH
Hex
1B
57 xL xH yL yH dxL dxH dyL dyH
Decimal 27
87 xL xH yL yH dxL dxH dyL dyH
[Value range]
0 ≤ xL, xH, yL, yH, dxL, dxH, dyL, dyH ≤ 255 (except dxL= dxH=0 or dyL= dyH=0)
[Notes]
• Define the horizontal starting position, vertical starting position, printing area width,
and printing area height as follows:
Horizontal starting position: x0 = [( xL + xH × 256) × horizontal motion unit]
Vertical starting posirion: y0 = [( yL + yH × 256) × vertical motion unit]
Printing area width: dx = [ (dxL + dxH × 256) × horizontal motion unit]
Printing area width: dy = [ (dyL + dyH × 256) × vertical motion unit]
• If this command is input in standard mode, the printer executes only internal flag
operation. This command does not affect printing in standard mode.
• If the horizontal or vertical starting position is set outside the printable area, the
printer stops command processing and processes the following data as normal data.
• If the printable area width or height is set to 0, the printer stops command processing
and processes the following data as normal data.
• This command and
ESC T
together set the current print position.
• If (horizontal starting po printing area width) exceeds the printable area, the
printing area width is automatically set to (horizontal printable area - horizontal
starting position).
• If (vertical starting position + printing area height) exceeds the printable area, the
printing area height is automatically set to (vertical printable area
– vertical starting
position).
• Use the horizontal motion unit (x) to set the horizontal starting position and printable
area width, and use the vertical motion unit (y) to set the vertical starting position and
printable area height.