Chapter 6 Configuring the Epson FX-1050 Emulation with Control Codes

Configuring the Epson FX-1050 Emulation with Control Codes

The remainder of this chapter describes the Epson printer control language codes that may be sent from a host computer attached to the printer, in order to invoke and configure numerous Epson emulation functions.

Format for Control Code Descriptions

The following information is listed for each code function (where applicable):

ASCII Code The standard ASCII name for the control code.

Hex Code The control code numeric equivalent in hexadecimal.

Dec Code The control code numeric equivalent in decimal.

Purpose The function(s) of the control code.

Comment Any exceptions or limitations to use of the control code.

Example Where applicable, we present a sample using the control code, along with the result of running the program.

(“dagger”)This symbol means the code produces non-Epson behavior in your printer.

IMPORTANT If you specify any parameters for a control code other than the ones that are defined in the control code description, unpredictable results may occur.

Escape Sequences

An Epson control code consisting of more than one character is called an escape sequence because the first character in the sequence is always the ASCII ESCape character. ESC alerts the printer that a special function command-not printable characters-follows.

The format for an Epson escape sequence is:

(ESC)(parameter 1)(parameter 2)...(parameter n)

For example, to select emphasized (offset) print, send the ESC character immediately followed by the E character (do not add a space character):

ASCII: ESC E

Hex: 1B 45

Dec: 27 69

154

Page 154
Image 154
IBM 4400 manual Escape Sequences, Configuring the Epson FX-1050 Emulation with Control Codes, Hex 1B Dec 27