Esc p1; pn l, Esc [ p1; p2 sp, Esc p – Compuprint 4247-L03 Programmer Manua User Manual
Page 97: Esc [ p, Resets mode (rm) (ansi), Selects emulation (emu) (ansi)

The proprietary defined parameter values are:
p
MNEMONIC MODE
FUNCTION
1
PRM0
Proportional Print Mode
3
CSI
Single Character CSI Mode
4
BLD
Bold Mode
5
CS2
Character Set 2 Mode
The ANSI defined parameter values are:
p
MNEMONIC MODE
FUNCTION
0
Ignored
20
LNM
Auto CR on LF
ESC p
1
; p
n
l
Resets mode (RM).
ASCII Code
ESC p
1
; p
n
l
Hexadecimal Value
X'1B' X'5B' p
1
X'3B' p
n
X'6C'
Decimal Value
27 91 p
1
59 p
n
108
This sequence resets the print mode(s) indicated by the p1/pn parameter(s).
ESC [ p
1
; p
2
SP~
Selects emulation (EMU).
ASCII Code
ESC [ p
1
; p
2
SP~
Hexadecimal Value
X'1B' X'5B' p
1
X'3B' p
2
X'20' X'7E'
Decimal Value
27 91 p
1
59 p
2
32 126
This sequence selects the emulation according to p values. The p
1
parameter is an emulation identifier
value while p
2
is a reset control value.
The proprietary defined parameter values are:
p
1
p
2
FUNCTION
0
ANSI
1 - 20
Reserved
21
IBM Proprinter XL 24/24E
22
EPSON LQ 1050
0
Hold values (default). The current settings remain valid after changing the printer emulation.
1
Full reset. The status of such parameters reverts to defaults dependent on the selected
emulation.
To select ANSI mode from the Proprinter XL 24 mode and maintain the parameters, the sequence would
be:
therefore should not be used by the application. Parameter p
1
& p
2
will be expressed as ASCII, not binary,
values. In the example above, “0” is “30H”, not “00H”.
Chapter 4. ANSI Emulation Commands
81