Tally Genicom T5023 Printer User Manual


 
Processing of a blank form Application examples
250
T5023/5023+ - Programming Guide
Program (pseudo code)
The corresponding numbering refers to the annotated program steps in the pre-
vious section.
BEGIN
CALL PROGRAM START ROUTINE
CALL LETTER HEAD
CALL REFERENCE
CALL INTRODUCTION
CALL SKETCH
CALL SENDER
PRINT(char(12))
END
BEGIN PROGRAM START ROUTINE
PRINT(char(27),"x",char(1))
PRINT(char(27),"p",char(1))
PRINT(char(27),"2")
PRINT(char(27),"C",char(72))
PRINT(char(27),"l",char(12))
PRINT(char(27),"Q",char(72))
PRINT(char(27),"B")
PRINT(char(8,16,20,42,46),
char(0))
PRINT(char(27),"D",char(0))
PRINT(char(27),"D")
PRINT(char(35,40),char(0))
END PROGRAM START ROUTINE
45: FF
1: ESC x (n)
2: ESC p (n)
3: ESC 2
4: ESC C (n)
5: ESC I (n)
6: ESC Q (n)
7: ESC B (n1...) NUL
8:ESCDNUL
9: ESC D (n1...) NUL