Chapter 5 Configuring the Proprinter III XL Emulation with Control Codes

Configuring the Proprinter III XL Emulation with Control Codes

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, a sample is shown using the control code, along with the result of running the program.

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 Control Code Header

Proprinter XL codes use only ESC as the control code introducer. For example, to enable bold print use the bold print control code character G as follows:

Ascii: ESC G

Hex: 1B 47

Dec: 27 71

Attribute Set and Reset Codes

Certain print attributes are set and reset (turned on or off) by using the appropriate ESC code sequence and the hexadecimal numbers 01, 03 (all odd) or 00, 02 (all even). Expanded Print, Superscript/Subscript Print, and Underline are attributes that are set/reset in this fashion.

116

Page 116
Image 116
IBM 4400 manual Escape Control Code Header