ESC L
(n)
Code
Hex. code
Dec. code
«Format»
ESC L
(n)
Hex. data
Dec. data
14$\il!Jllij
«Sample Program»
«Printing»
Set Left Margin Position
ESC L (n)
(18), (4C), (nl n2 n3)
nl n2 n3=000-XXX
(27), (76), (nl n2 n3)
nl n2 n3=000-XXX
The ESC L (n) code sets the left margin position.
When the left margin position is set by this code, the preset left margin position
is cleared.
Left margin is cleared when the power switch is tuned OFF.
nln2n3 is a three-digit decimal number that corresponds to a character column
position in the current pitch.
To set the left margin position at 20, nln2n3 will be 0 2 0 (30Hex 32Hex 30Hex
or 48 50 48).
This code sets the left margin position in the current character pitch. So, if the
character pitch is changed after margin setting, the left margin will not be
changed.
LPRINT CHR$ (&HlB); "Lnln2n3"
LPRINT CHR$ (27); "Lnln2n3"
Print "12345678901234567890".
Set the left margin position at 10th column.
Print ''ABCDEFGHI".
Set the left margin position at 0 column.
Print "ABCDEFGHI".
l
(!
LPR I
l°'~T
II
1234~i678901234~~it':,
7890
II
20
LP!~
I NT
CHl~::i;:
( 27) ; "LO 1 or-1BCDEn:JH I"
30 L.F'F: I NT
CHR:~:
( 27) ; "LOOOABCDEFGH I
11
12345678901234567890
ABCDEFGHI
{-)BCDEFGH I
5-11