Operating instructions
— 77 —
ESC $ n1 n2
[Function]
[Code]
[Range]
Specifying the absolute positions
<1B> H <24> H < n1> <n2>
0 ≤ n1 ≤ 255
0 ≤ n2 ≤ 1
The printing start position is specified in the number of dots
(1/203 inch unit) 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.
The initial value is not specified.
ESC \
LPRINT CHR$ (&H1B) ; "$" ;
LPRINT CHR$ (0) ; CHR$ (0) ; "A" ;
LPRINT CHR$ (&H1B) ; "$" ;
LPRINT CHR$ (50) ; CHR$ (0) ; "B" ;
LPRINT CHR$ (&H1B) ; "$" ;
LPRINT CHR$ (0) ; CHR$ (1) ; "C" ;
LPRINT CHR$ (&HA) ;
LPRINT CHR$ (&H1B) ; "$" ;
LPRINT CHR$ (100) ; CHR$ (0) ; "A" ;
LPRINT CHR$ (&H1B) ; "\" ;
LPRINT CHR$ (&HC2) ; CHR$ (&HFF) ; "B" ;
LPRINT CHR$ (&HA) ;
END
[Outline]
[Caution]
[Default]
[See Also]
[Sample Program]
[Print Results]
AB C
BA
Absolute Position Specified
Relative Position Specified – 62
<
0 50 100 256
<
<
<
<