(26) Specifying/Canceling
Code : [1B]h + [56]h + n
*{0 ≤ n ≤ 1} Data is described in Hex code. Specifying/canceling characters
•No underlines are attached to
•"n" means the followings.
n (Hex) | Condition |
0 | Canceling 90° |
1 | Specifying 90° |
• The initial value of n is "0".
(27)Specifying Absolute Positions (ESC $ n1 n2)
Code : [1B]h + [24]h + n1 + n2
* {0 ≤ n1 ≤ FF}
{0 ≤ n2 ≤ 1} Data is described in Hex code.
The printing start position is specified in the number of dots from the beginning of line.
•The number of dots is divided by 256, whose quotient is taken as n2 and the residual as n1. Therefore, the printing start position is equal to n1 + n2 x 256 from the beginning of line..
•Specifying beyond the line end is ignored.
(28)Specifying Relative Positions (ESC ¥ n1 n2)
Code : [1B]h + [5C]h + n1 + n2 * {0 ≤ n1 ≤ FF}
{0 ≤ n2 ≤ FF} Data is described in Hex code.
The printing start position is specified in the number of dots from the current position.
•Rightward direction is taken as plus and leftward direction as minus.
•To specify N dot in minus (left) direction, use a complement of N for assignment.
-N dots = 65536 - N
•The number of dots is divided by 256, whose quotient is taken as n2 and the residual as n1.
•Specifying exceeding the end of line is ignored.
CITIZEN | 56 |
|