User's Guide
Code Sets D-21
Epson JX, Epson LQ-2550 and IBM XL24 Code Set
The second part of this appendix describes the Epson and IBM code set.
The printer responds to this code set when an Epson or IBM emulation
is active.
Character Codes
Most of the 256 codes that a computer can send to the printer are assigned
a printable character (see table D-4). When the printer receives a charac-
ter code, it prints the assigned character at the current print position and
then moves the current print position one character space to the right.
Some codes are assigned control functions that override the printable
characters. These codes are called control codes. To print the characters
assigned to control codes, it is necessary to use a special code sequence
that tells the printer to ignore control functions and print the assigned
characters.
One code that is assigned a control function is especially important to
the printer––code 27 decimal––which is the ASCII ESCape code. This
code tells the printer that an escape sequence is beginning. An escape
sequence is a series of codes that performs a specific printer function.
When a code is sent as part of an escape sequence, the assigned char-
acter does not print.
Printing Characters Assigned to Control Codes
There are several control codes and escape sequences in the code set
that enable the printing of characters assigned to control codes.
The ESC 6 and ESC 7 sequences enable and disable the characters
assigned control codes from 128 to 159. The ESC I sequence in the
Epson JX and LQ-2550 printer emulations enables and disables the char-
acters assigned control codes below 32. The ESC [ sequence in the
Epson JX and LQ-2550 emulations and the ESC ^ sequence in the IBM
XL24 emulation print the character assigned to any code––even one
assigned to a control code. The ESC \ sequence in the IBM XL24 emu-
lation prints a series of characters while ignoring the control functions.
These sequences and others affecting character codes are described later
in this appendix.
User's Guide
Code Sets D-21
Epson JX, Epson LQ-2550 and IBM XL24 Code Set
The second part of this appendix describes the Epson and IBM code set.
The printer responds to this code set when an Epson or IBM emulation
is active.
Character Codes
Most of the 256 codes that a computer can send to the printer are assigned
a printable character (see table D-4). When the printer receives a charac-
ter code, it prints the assigned character at the current print position and
then moves the current print position one character space to the right.
Some codes are assigned control functions that override the printable
characters. These codes are called control codes. To print the characters
assigned to control codes, it is necessary to use a special code sequence
that tells the printer to ignore control functions and print the assigned
characters.
One code that is assigned a control function is especially important to
the printer––code 27 decimal––which is the ASCII ESCape code. This
code tells the printer that an escape sequence is beginning. An escape
sequence is a series of codes that performs a specific printer function.
When a code is sent as part of an escape sequence, the assigned char-
acter does not print.
Printing Characters Assigned to Control Codes
There are several control codes and escape sequences in the code set
that enable the printing of characters assigned to control codes.
The ESC 6 and ESC 7 sequences enable and disable the characters
assigned control codes from 128 to 159. The ESC I sequence in the
Epson JX and LQ-2550 printer emulations enables and disables the char-
acters assigned control codes below 32. The ESC [ sequence in the
Epson JX and LQ-2550 emulations and the ESC ^ sequence in the IBM
XL24 emulation print the character assigned to any code––even one
assigned to a control code. The ESC \ sequence in the IBM XL24 emu-
lation prints a series of characters while ignoring the control functions.
These sequences and others affecting character codes are described later
in this appendix.