CHAPTER 8 ESC/POS MODE (INTERFACE COMMANDS)
B-EP Series
8-49
8.10.33 RELATIVE POSITION SET COMMAND [ESC] \
Function Specifies a relative position.
Format [ESC] \nLnH
Term ASCII: ESC \
Hex: 1Bh 5Ch
[Parameter]
n: No. of dots to specify relative position (low order) 0 ≤ nL ≤ 255 (00h ≤ nL ≤ FFh)
n: No. of dots to specify relative position (high order) 0 ≤ nH ≤ 255 (00h ≤ nH ≤ FFh)
Default value Not defined.
Explanation (1) A relative position of the subsequent print starting position is specified with
reference to a current position. The next print starting position is located (nL + nH
× 256) away from the current position.
(2) A relative position out of the print area is ignored.
(3) If the right direction of the current position is specified, a positive number must be
defined. If the left direction of the current position is specified, a negative number
must be defined.
(4) A negative number is represented by a complement number of 65535.
Ex.) To specify N dots in the left (negative) direction
nL + nH × 256 = 65536 - N.
(5) Dots in the horizontal direction (x) are applied in standard mode.
(6) The printer operation varies in page mode depending on the starting position as
follows:
1 If “top left” or “bottom right” is selected as the starting point in the Page Mode
Print Direction Set Command ([ESC] T), a relative position in the direction
perpendicular to the paper feed direction (horizontal direction of a character) is
specified.
2 If “top right” or “bottom left” is selected as the starting point in the Page Mode
Print Direction Set Command ([ESC] T), a relative position in the paper feed
direction (horizontal direction of a character) is specified.
Reference Absolute Position Set Command ([ESC] $)