Asynchronous Terminals and Printer Processes Programming Manual
 PRINTER PROGRAMMING CONSIDERATIONS
 Underline
 Underline
 The model 5520 printer does a partial line feed before underlin-
 ing. This feature prevents the line from overlapping the bottom
 parts of the characters being underlined. A partial line feed
 occurs following a carriage return (%15) only if the next line
 contains only underscore (%137) and space (%40) characters.
 You can create an application program to use this underlining
 capability as follows:
 1. Turn off spacing using SETMODE 6, 
parameter-1
 = 0.
 2. Write the desired text.
 3. Turn spacing back on by calling SETMODE 6, 
parameter-1
 = 1.
 4. Write a buffer, consisting only of underscore and space
 characters, to underline the desired parts of the text
 written in step 2.
 Example
 The following calls illustrate the use of partial line feeds for
 underlining.
 INT .DATABUF1 [0:11] := ["THIS WILL BE UNDERLINED."],
 .DATABUF2 [0:11] := ["_______________________ "];
 .
 .
 ! turn off spacing
 CALL SETMODE ( FILENUM, 6, 0 );
 ! write the text
 CALL WRITE ( FILENUM, DATABUF1, 24 );
 ! turn spacing back on
 CALL SETMODE ( FILENUM, 6, 1 );
 ! underline the text
 CALL WRITE ( FILENUM, DATABUF2, 24 );
 7-11










