Line feed commands Standard commands
60
T5023/5023+ - Programming Guide
Determining n/180 inch line spacing
Function:
ESC 3 (n) sets the line spacing to n/ 180 inch for the subsequent line feed com-
mands. A value between 0 and 255 inclusive must be given for n.
The 3 is the ASCII character for the figure three and not the ASCII code 3.
Example:
A demonstration of the printout for n = 1 to 20 with a measuring unit of
n/ 180 inch
line spacing
.
Result:
ESC
27
1B
3
51
33
(n)
n
n
ASCII character
Decimal
Hexadecimal
BEGIN
SETN=0
REPEAT
SETN=N+1
PRINT( char(27),"3", char(N))
PRINTLF( N,"/180 inch line spacing")
UNTILN=20
END