User`s manual
7–13Digital Emulation
always comes from the 3/0 through 7/14 range of the DEC multinational
character set. For example, if the intermediate character is SP (hex 20) and
the final character is G (hex 47), the resulting escape sequence is ESC SP G
(hex 1B 20 47). This particular sequence tells the printer how to process data
it sends back to the host computer: send data in 7–bit form and send
additional control characters as 7–bit escape sequences.
If the characters following the ESC code are not within the defined ranges, or
if they are within the defined ranges but not recognized as a function of this
printer, the entire sequence is ignored.
Control Sequences
Control sequences begin with the control sequence introducer, CSI (9/11), in
an 8–bit data environment. They are also escape sequences, however,
because the 8–bit CSI control character can be represented by the 7–bit
escape sequence, ESC [. Control sequences may contain variable parameters
within the command sequence. The format for control sequences is:
CSI I
2/0 to 2/15
F
3/0 to 7/14
8–Bit Control
Sequence
Introducer
Intermediate
character(s)
Final
character
9/11
P
Parameter
3/0 to 3/15
ESC [
7–Bit Escape
Code CSI
1/11 5/11
or
equivalent
character(s)
Parameter characters modify the action or interpretation of the command
sequence. There may be up to, but no more than, 16 parameters per
sequence. The ; (3/11) (semicolon) character is the delimiter that separates
parameters. This delimiter must be used whenever there are multiple
parameters in the control sequence.
Two kinds of parameters are used: numeric and selective.
A numeric parameter represents a numerical value. Numeric parameters are
represented in this manual as Pn, Pn1, Pn2, etc. A selective parameter
chooses an action associated with the parameter value. Selective parameters
are represented in this manual as Ps, Ps1, Ps2, etc.