(27) Specifying/Canceling
Code : [1B]h + [56]h + n
*{0 is less than or equal to n is less than or equal to 1} Data is described in Hex code. Specifying/canceling characters
• No underlines are attached to
• "n" means the followings.
n (Hex) | Condition |
0 | Canceling |
1 | Specifying |
•The initial value of n is "0".
(28)Specifying Absolute Positions (ESC $ n1 n2)
Code : [1B]h + [24]h + n1 + n2
*{0 is less than or equal to n1 is less than or equal to FF}
{0 is less than or equal to n2 is less than or equal to 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.
(29)Specifying Relative Positions (ESC \ n1 n2)
Code : [1B]h + [5C]h + n1 + n2
* {0 is less than or equal to n1 is less than or equal to FF}
{0 is less than or equal to n2 is less than or equal to 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.