(28) Specifying Absolute Positions (ESC $ n1 n2)
Code : [1B]h + [24]h + n1 + n2
*{0 ≤ n1 ≤ FF}
{0 ≤ n2 ≤ 1} The data is described with the hexadecimal code.
Specifies the printing start position in terms of the number of dots from the beginning of the line (in an increment of 1/203 inch).
•The number of dots is divided by 256, and a quotient is assumed to be n2, and the remainder to be n1. Therefore, the printing start position is n1 + n2 ⋅ 256 from the beginning of the line.
•The position specified beyond the end of the line is ignored.
(29)Specifying the relative position (ESC ¥ n1 n2)
Code : [1B]h + [5C]h + n1 + n2
* {0 | ≤ n1 ≤ FF} |
|
{0 | ≤ n2 ≤ FF} | The data is described with the hexadecimal code. |
Specifies the printing start position in terms of the number of dots from the current position (in an increment of 1/203 inch).
•The right direction is plus (+), and left direction is minus (
•When specifying N dots in the minus (left) direction, specify with a complement of N.
– N dots = 65536 – N
•The number of dots is divided by 256, and a quotient is assumed to be n2, and the remainder to be n1.
•The position specified beyond the end of the line is ignored.
44 | CITIZEN |