Tally Genicom T5023+ Printer User Manual


 
Standard commands Line feed commands
T5023/5023+ - Programming Guide 61
Determining n/60 inch line spacing
Function:
ESCA(n)sets the line spacing to n/ 60 inch for the subsequent line feed commands.
A value between 0 and 127 inclusive must be given for n (0 = no feed)
.
Example:
A demonstration of the printout using four n- values (0, 3, 5, 18) with a measuring unit
of n/ 60 inch line spacing. 6 lines are printed for each n.
ESC
27
1B
A
65
41
(n)
n
n
ASCII character
Decimal
Hexadecimal
BEGIN
SETloop=0
REPEAT
SETloop=loop+1
SETN=0
N=3
N=5
N=18
CASE OF loop
PRINT( char(27),"A", char(N)) <-- N = spacing
SET line = 0
REPEAT
SETline=line+1
PRINTLF( N,"/60 inch line spacing")
UNTIL line = 6
UNTIL loop = 4
PRINT( char(27),"@") <-Initializing the printer
PRINTLF()
END