Chapter 2 Configuring the P-Series Emulation with Control Codes

Super-Set Commands

ASCII Code SFCC } ;

Hex Code SFCC 7C 7D 3B

Dec Code SFCC 124 125 59

Purpose Control code sequence used to introduce the super-set commands.

Comment Super-set commands affect the ASCII Emulation as a whole regardless of the printer protocol currently active. The commands are sent from the host in the data stream to the printer, and provide the following capabilities:

Select a printer protocol

Change the page orientation

Define various font attributes, including typeface and point size

Select proportional fonts

See Chapter 7, “Super-Set Programming,” beginning on page 197 for further information on the Super-set commands.

Underline

ASCII Code SFCC – n

Hex Code

SFCC 2D n

Dec Code

SFCC 45 n

Purpose

Enables or disables automatic underlining of all characters.

where:

n = 0 to disable automatic underlining (hex 00 or hex 30)

 

n = 1 to enable automatic underlining (hex 01 or hex 31)

Comment

When automatic underline is enabled, all characters, including

 

spaces, are underlined until disabled.

Example

The following sample illustrates automatic underlining.

56

Page 56
Image 56
IBM 4400 manual Super-Set Commands, Underline, Ascii Code Sfcc