Tally Genicom T5023+ Printer User Manual


 
Document processing Application examples
258
T5023/5023+ - Programming Guide
Program steps (annotated)
1. Setting absolute vertical position referring to the bottom document edge
Command: CSI n " p
Parameter: n = 90
Remarks: The distance bottom edge of document/
bottom edge of OCR line = 90/180 inch
= 12.7 mm was selected in order to have a
sufficient distance to a possibly present
black bar. If such black bars are not there,
you can begin directly with step 2b (see also
the command description CSI " t,
’Requesting the document width’, in the
“Additional commands”
chapter).
2a. Requesting document width (optional)
Command: CSI " t
Remarks: Thedocumentwidthcanbeusedasa
differentiation feature to branch to different
document-dependent application programs.
CSI " t initiates a document request if a
document is not yet present or inserted. The
document request is indicated by the
flashing ’DOCUMENT’ LED on the operating
panel.
2b. Positioning on the coding line if document width measurement was
used (optional).
Command: CSI n " p
Parameter: n = 60
Remarks: Distance bottom edge of document/bottom
edge of OCR line = 60/180 inch = 8.47 mm