Specifications
SPP-R300 Command Manual
Rev. 1.00 BIXOLON
- 38 -
ESC W
Function: Set print area in page mode
Code:
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 x 256) ≤ 65535 (0 ≤ xL ≤ 255, 0 ≤ xH ≤ 255)
0 ≤ (yL + yH x 256) ≤ 65535 (0 ≤ yL ≤ 255, 0 ≤ yH ≤ 255)
1 ≤ (dxL + dxH x 256) ≤ 65535 (0 ≤ dxL ≤ 255, 0 ≤ dxH ≤ 255)
1 ≤ (dyL + dyH x 256) ≤ 65535 (0 ≤ dyL ≤ 255, 0 ≤ dyH ≤ 255)
Default:
When paper width of 72mm is selected:
(xL + xH x 256) = 0 (xL=0, xH=0)
(yL + yH x 256) = 0 (yL=0, yH=0)
(dxL + dxH x 256) = 576 (dxL=64, dxH=2)
(dyL + dyH x 256) = 840 (dyL=72, dyH=3)
Description:
■ This command set the position and the size of the printing area in page mode as following.
• Horizontal starting position = [(xL + xH x 256) x (horizontal motion units)]
• Vertical starting position = [(yL + yH x 256) x (vertical motion units)]
• Horizontal printing area width = [(dxL + dxH x 256) x (horizontal motion units)]
• Vertical printing area width = [(dyL + dyH x 256) x (vertical motion units)]
Remarks:
■ The horizontal and vertical starting positions are out of the printable area, this command is canceled and the following
data is processed as normal data.
■ If (Horizontal starting position + Horizontal printing area width) is beyond the printable area, the Horizontal printing
area width is set to (Horizontal printing area - Horizontal starting position).
■ If (Vertical starting position + Vertical printing area width) is beyond the printable area, the Vertical printing area width
is set to (Vertical printing area - Vertical starting position).
■ This command is not effective in standard mode. If this command is processed in standard mode, the setting by this
command is effective when the printer returns to page mode.










