Confidential BTP-R880NP Programming Manual
- 9 -
1B 54 03
(select the print area direction in page mode)
33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33
0A
(
)
50 72 69 6E 74 20 45 6E 64
0C
(
)
Results:
ESC W xL xH yL yH dxL dxH dyL dyH
[Function]
· Define the horizontal starting position, vertical starting position, printing area width, and
printing area height.
[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
[Range]
0
≤
xL, xH, yL, yH, dxL, dxH, dyL, dyH
≤
255 (except dxL= dxH=0 or dyL= dyH=0)
[Notes]
· If this command is input in standard mode, the printer executes only internal flag Each
the horizontal starting position, vertical starting position, printing area width, and printing
area height are defined as x0
、
y0
、
dx
、
dy setting for the printing area is calculated as
follows:
x0 = [( xL + xH × 256) × (horizontal motion unit)]
y0 = [( yL + yH × 256) × (vertical motion unit)]
dx = [ dxL + dxH × 256) × (horizontal motion unit)]
dy = [ dyL + dyH × 256) × (vertical motion unit)]
The printing area is set as shown in the figure below.
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 printing area width or height is set to 0, the printer stops command processing and
processes the following data as normal data.
· This command sets the position where data is buffered to the position specified by
ESC
T
within the printing area.
· If (horizontal starting po printing area width) exceeds the printable area, the