Line feed commands Standard commands
58
T5023/5023+ - Programming Guide
Determining 1/8 inch line spacing
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
..
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.
Result:
ESC
27
1B
0
48
30
ASCII character
Decimal
Hexadecimal
The line spacing set by ESC 0 is cancelled, if
– 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)
.
BEGIN
PRINTLF("This is the first print line")
PRINTLF("This is the second print line")
PRINTLF()
PRINT(char(27),"0") <-- 1/8 inch
PRINTLF("This is the first print line")
PRINTLF("This is the second print line")
END
i