Additional commands (Printer) Basic commands for document processing
Requesting the document width
Command:
CSI
ESC
[
27
91
1B
5B
Response:
CSI
ESC
[
27
91
1B
5B
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.
The parameter n transmitted via CSI " t can be used in the program, for
i
example, as a switch to call up the corresponding formatting and prin-
tout routines depending on the type of form.
"
"
34
116
22
n
"
n
"
n
34
116
n
22
74
T5023/5023+ - Programming Guide
t
Name
t
ASCII character
Decimal
74
Hexadecimal
t
Name
t
ASCII character
Decimal
Hexadecimal
197