Standard commands Notesabout command description
T5023/5023+ - Programming Guide 35
Example:
In contrast to the ESC sequences of the standard, character set and
graphics commands for the document printer- specific additionalcom-
mands (CSI sequences), the command parameters n, n1, etc. are co-
ded as ASCII values. For example, three bytes are transferred for a
three- figure parameter value n = 123 (see “Additional commands”
chapter).
Program examples
All instructions in the program examples to demonstrate the standard control
commands are represented independently of a certain programming language.
This is done by formulating the program lines in a colloquial pseudo code. In
practice,this pseudo code, depending on the programming language used, must
be converted into the appropriate program instructions.
Parameter value of n must be encrypted binarily
Note on which values the parameter n can have
Determining the document length at n inches
Function:
ESC C NUL( n) sets the document length at n inches (absolute document
lengthindependent of the line spacing). The value n must be between 1 (inch)
and 22 (inches).
ESC
27
1B
A
65
41
(n)
n
n
ASCII character
Decimal
Hexadecimal
i