Chapter 5 Configuring the Proprinter III XL Emulation with Control Codes

Underline

ASCII Code ESC – n

Hex Code

1B 2D n

Dec Code

27 45 n

Purpose

Enables or disables automatic underlining of all characters.

where:

if n = 00, 02, 04... (all even) automatic underlining is disabled

 

if n = 01, 03, 05... (all odd) automatic underlining is enabled

Comment

When automatic underline is enabled, all characters, including

 

spaces, are underlined until disabled.

Example

The following sample illustrates automatic underlining and

 

underlining reset.

Unidirectional Printing

ASCII Code ESC U n

Hex Code

1B 55 n

Dec Code

27 85 n

Purpose

Sets or cancels unidirectional printing.

Discussion The printer ignores this command.

Vertical Tab

ASCII Code VT

Hex Code 0B

Dec Code 11

Purpose Prints the data in the buffer and advances the paper to the next vertical tab position.

Comment In Proprinter XL protocol, vertical tab positions are set by control code ESC B and executed by control code VT. In this mode, if vertical tabs are loaded, the paper position moves to the next vertical tab position.

If a vertical tab format is not defined, the paper position is advanced to the next line at the current line spacing. If a vertical tab format is defined but no vertical tab positions are set between the current print position and the end of the form, the paper position is advanced to the top of the next form. The VT code resets all single line print attributes. More information on vertical tabs is provided in Chapter 9, “Vertical Page Formatting.”

146

Page 146
Image 146
IBM 4400 manual Unidirectional Printing, Ascii Code ESC U n Hex Code