Tally Genicom T5023 Printer User Manual


 
Additional commands (Printer) Basic commands for document processing
T5023/5023+ - Programming Guide 197
Requesting the document width
Command:
Response:
n = document width of the current form in n/ 180 inch.
Function:
Via the control command CSI " t, the printer control transmits information to the
program about the width of the document currently being processed.
If the width of the document is not known to the printer control at this point of
time, a measuring operation is carried out to determine the document width.
The response CSI n " t has the same structure as the requesting command sup-
plemented by the parameter n, which identifies the determined document width
of the form with the measurement ’n/ 180 inch’. ’n’ can lie in the range from 0 to
9999.
CSI
ESC
27
1B
[
91
5B
"
"
34
22
t
t
116
74
Name
ASCII character
Decimal
Hexadecimal
CSI
ESC
27
1B
[
91
5B
n
n
n
n
"
"
34
22
t
t
116
74
Name
ASCII character
Decimal
Hexadecimal
The parameter n transmitted via CSI " t can be used in the program, for
example, as a switch to call up the corresponding formatting and prin-
tout routines depending on the type of form.
i