Line feed commands
Determining 1/8 inch line spacing
ESC
27
1B
Function:
ESC 0 sets the line spacing to 1/8 inch for the subsequent line feed commands.
The 0 is the ASCII character for the figure zero and not the ASCII code 0
The line spacing set by ESC 0 is cancelled, if
i
–
the printer is initialized a new (ESC @)
–
a different line spacing is set by means of ESC 2, ESC 3 (n) or ESC
A (n)
Example:
A demonstration of the difference between the standard line feed (1/ 6 inch) and the
1/8 inch line spacing. The printer begins with the standard line feed.
BEGIN
PRINTLF("This is the first print line")
PRINTLF("This is the second print line")
PRINTLF()
PRINT(char(27),"0")
PRINTLF("This is the first print line")
PRINTLF("This is the second print line")
END
Result:
58
0
48
30
.
T5023/5023+ - Programming Guide
ASCII character
Decimal
Hexadecimal
Standard commands
.
.
<-- 1/8 inch