Tally Genicom T5023+ Printer User Manual


 
Document processing Application examples
256
T5023/5023+ - Programming Guide
Print positions
The following illustration shows the different print positions for text and OCR
printing:
An absolute dot position on the respective current vertical position is reached via
the command ESC $ (n) (m). The position is calculated with the formula
x = m * 256 + n and thereby the position x/60 inch (= distance from left leading
edge) is determined. The print position 0 is identical with the left edge of the do-
cument.
1 : OCR print in coding line for cheque amount
Vertical position from bottom edge = 60/180 inch
Absolute dot position = x/60 inch with x = 0 * 256 + 180
(First print character on print position 30)
OCR character sequence = "00000045000 "
2 : Amount text
Vertical position from top edge = 170/180 inch
Absolute dot position = x/60 inch with x = 0 * 256 + 60
(First print character on print position 10)
Text= "FOUR HUNDRED AND FIFTY---------"