Tally Genicom T5023 Printer User Manual


 
Passbook processing with MSR Application examples
270
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 MSR
CALL POSTING
PRINT (char(12))
END
BEGIN PROGRAM START ROUTINE
PRINT(char(27),"[")
PRINT("0;0;0;99;1!r")
PRINT(char(27),"[1%t")
END PROGRAM START ROUTINE
BEGIN MSR
PRINT(char(27),"["r")
GET(char(27),"[")
GET(char(n1,59,n2,59,n3,59,n4)
GET(""r")
GET(char(2)"... MSR data...",
char(3))
.
.
Updating/ processing MSR data
.
.
PRINT(char(27),"[#r")
PRINT(char(2),"...new MSR
data...", char(3))
END MSR
11: FF
1: CSI n1;...; n5 ! r
1:
2: CSI n % t
3: CSI " r
4: CSI(...)"r
STX...ETX
4:
4:
4:
5: CSI # r STX... ETX
5: