Tally Genicom T5023+ Printer User Manual


 
Standard commands Notes about command description
T5023/5023+ - Programming Guide 37
1 When defining subprograms, after BEGIN and END the subprogram
name is specified (for example, BEGIN LINE PRINT ... END LINE
PRINT).
2
The instruction within REPEAT ... UNTIL (loop body) are executed until the
abort criterion specified after UNTIL is fulfilled (for example, REPEAT ...
UNTIL N = 6). This pseudo code instruction is defined here in such a way
that the loop body is not executed if the abort criterion is already fulfilled
before the first loop run.
3 (for example, IF N = 50 THEN BEGIN ... END or IF n = 50 THEN CALL
NEWPAGEELSEN=N+1)
4
(for example, SET N=0)
5
(for example, SET N=N+1)
6
(for example, CALL LINE PRINT)
7 The data transmission from the program to the document printer is to
be symbolized by means of the procedures PRINT and PRINTLF.
Depending on the arguments, these are control commands
(character(...)) or alphanumeric or numeric user data.
No carriage return (CR) is executed via the procedure PRINT. A line feed
(LF) and also a carriage return (CR) are defined via the procedure
PRINTLF. Depending on whether the printer parameter ’AUTO- CR + LF’
(= CR- HANDLING in the document printer menu) is activated or not, the
real conversion of the PRINTLF procedure must be programmed
accordingly.