Tally Genicom T5023+ Printer User Manual


 
Standard commands Notes about command description
T5023/5023+ - Programming Guide 39
Setting the document length (for example, 6 inches = ESC C NULL 6):
Initializing the printer after printing with line feed:
Printing variable values:
Enlarging the line spacing successively (n/ 180 inch by means of ESC 3 (n)):
Printing a blank
line:
PRINT( char(27,67,0,6))
or
PRINT( char(27),"C", char(0), char(6))
PRINT("text", char(10), char(27),"@")
or
PRINT("text")
PRINT(char( 10))
PRINT(char( 27),"@")
or
PRINTLF("text")
PRINT(char(27),"@")
SET counter = 0
REPEAT
SET counter = counter + 1
PRINTLF("This is the line",counter)
UNTIL counter = 10
SETN=0
REPEAT
SETN=N+1
PRINT(char(27),"3",char(N))
PRINT
(" Line spacing", N,"/180 inch")
UNTIL N = 20
PRINTLF()