Tally Genicom T5023+ Printer User Manual


 
Application examples Passbook processing with MSR
T5023/5023+ - Programming Guide 269
6. Setting absolute vertical position with reference to the top passbook
edge (depending on the next free posting line)
Command: CSI n ! p
Parameter: n = 421 (see remarks)
Remarks: – Next free posting line = 6
– Line spacing = 1/5 inch = 36/180 inch
– Distance bottom edge of posting line 1/ top
edge of passbook = 241/180 inch
n = 241 + 36 (6 - 1) = 241 + 180 = 421
Absolute vertical position = 421/180
inch from top passbook edge
7. Reaching horizontal print position for beginning of posting line
Command: ESC $ (n) (m)
Parameter: n = 150, m = 0
Remarks: The position of the right passbook edge
corresponds to position 90 of the printing
unit (with 10 characters/inch).
Position 25 = 25 positions à 6/60 inch
n=256 = 150
8. Execution of transaction- relevant program steps (for example, mo-
difying passbook file)
Editing the print data
9. Printing posting line
Print data: for example "07- 12- 99 Cash 026 "
" 200. 00 ∗∗∗ 1, 550.00"
10. Document feed = passbook ejection
Command: FF (Form Feed)