SNBC BTP-R580II Programming Manual page 16

Table of Contents

Advertisement

Horizontal starting position: x0 = [( xL + xH × 256) × (horizontal motion unit)]
Vertical starting position: y0 = [( yL + yH × 256) × (vertical motion unit) ]
Print area width: dx = [ (dxL + dxH × 256) × (horizontal motion unit) ]
Print area height: dy = [ (dyL + dyH × 256) × (vertical motion unit) ]
[Format]
ASCII
Hex
Decimal 27
[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
operation. This command does not affect printing in standard mode.
• If the horizontal or vertical starting position is set outside the print area, the printer
stops command processing and processes the following data as normal data.
• If the print 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 position + print area width) exceeds the printable area, the
printable width is automatically set to (horizontal width - horizontal starting
position).
• If (vertical starting position + print area height) exceeds the printable area, the
printing height is automatically set to (vertical printable height – vertical starting
position).
• The horizontal and vertical motion units are specified by GS P. Changing horizontal
or vertical motion unit does not affect the current print area.
• Use the horizontal motion unit (x) to set the horizontal starting position and area width,
and use the vertical motion unit (y) to set the vertical starting position and area
height.
• When the horizontal starting position, vertical starting position, print area width, and
print area height are defined as X, Y, Dx, and Dy respectively, the print area is set as
shown in the figure below.
[Default]
Decided by printer configuration
[Relative]
CAN, ESC L, ESC T, GS P
[Example]
0A
ESC
W
xL xH yL yH dxL dxH dyL dyH
1B
57
xL xH yL yH dxL dxH dyL dyH
87
xL xH yL yH dxL dxH dyL dyH
BTP-R580II Programming Manual
- 9 -

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents