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 demonstrationof the difference between the standard line feed (1/ 6 inch) and the
1/8 inch line spacing. The printerbegins 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 iss et bymeans of ESC2, 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