Esc \ or st, Esc q or pu1, Esc c – Compuprint 4247-L03 Programmer Manua User Manual
Page 96: Esc k, Esc [ p1; ... pn h, Esc [ p, Sets mode (sm) (ansi), String terminator (ansi), Resets to initial state (ris) (ansi), Prints test character (ptc) (ansi)

ESC \ or ST
String terminator.
ASCII Code
ESC \ or ST
Hexadecimal Value
X'1B' X'5C' (7-bit) or X'9C' (8-bit)
Decimal Value
27 92 (7-bit) or 156 (8-bit)
This command closes the other escape sequences including the operating system and dot graphics
commands.
ESC Q or PU1
Executes Selftest.
ASCII Code
ESC Q or PU1
Hexadecimal Value
X'1B' X'51' (7-bit) or X'91' (8-bit)
Decimal Value
27 81 (7-bit) or 145 (8-bit)
In serial interface, upon receipt of this command the printer transmits 1B 50 30 1B 5C.
ESC c
Resets to initial state (RIS).
ASCII Code
ESC c
Hexadecimal Value
X'1B' X'63'
Decimal Value
27 99
This command writes the printer parameters from the stored format assigned to the current path into the
current format.
ESC k
Prints test character (PTC).
ASCII Code
ESC k
Hexadecimal Value
X'1B' X'6B'
Decimal Value
27 107
This sequence causes one line of the print head test character to be printed.
ESC [ p
1
; ... p
n
h
Sets mode (SM).
ASCII Code
ESC [ p
1
; ... p
n
h
Hexadecimal Value
X'1B' X'5B' p
1
X'3B' ... p
n
X'68'
Decimal Value
27 91 p
1
59 ... p
n
104
This command sets a specific print mode according to the parameter value. If the first parameter (p
1
) is
preceded by a “>” symbol then all parameters are interpreted as proprietary defined parameters. If the “>”
character is not specified, all parameters are interpreted as ANSI defined parameters.
80
Programmer Manual