User`s manual
Epson FX Emulation9–6
Escape Sequences
An Epson control code consisting of more than one character is called an
escape sequence because the first charcter in the sequence is always the
ASCII ESCape character. ESC alerts the printer that a special function
command—not printable characters—follows.
The general format for an escape sequence is:
(ESC)(parameter 1)(parameter 2)...(parameter n)
For example, to select emphasized (offset) print, send the ESC character
followed by the E character (do not add a space character):
ASCII: Hex: BASIC:
CHR$(27);“E”;
1B 45ESC E
NOTE: ESC sequences must be end with a semicolon (;) in a BASIC
program or with text following the escape sequence. A paper motion
command directly following an escape sequence may result in
unwanted paper movement.
Set and Reset Codes
Set and reset mean the same thing as turn on and off, select and deselect, or
enable and disable. Some printer features are set and reset with an escape
sequence and the numbers 1 or 0. In such cases you can represent 1 and 0 as
hexadecimal codes 01 and 00, or as the ASCII codes for the numerals 1 and 0
(hexadecimal 31 and 30).