Varying Fonts on a Page
This example illustrates a simple font variation within a printout. The task is to print a line-data file having the first line of each page in bold-faced type and the rest in standard type. This requires controls for two fonts in the page definition.
The commands to select a single font for the page, as shown in Figure Data File Printed Using a Single Font, are as follows:
The FONT command contains two names: the local (STANDARD) name and the user-access (M101) name for the selected font.
PAGEDEF ABCD ; FONT STANDARD M101; FONT BOLDFACE M102; LAYOUT 'abc' FONT BOLDFACE NEWPAGE; LAYOUT 'def' FONT STANDARD NEWPAGE; LAYOUT 'ghi' FONT STANDARD;
Note: Fonts cannot be an FGID (Font Typeface Global Identifier). Also, all page definitions
require a LAYOUT command.
The following example shows line data using a single font:
Line Data for Single Font Example
def Record 1 ghi Record 2 ghi Record 3 ghi Record 4 ghi Record 5 ghi Record 6 def Record 7 ghi Record 8 ghi Record 9 def Record 10 ghi Record 11 ghi Record 12 ghi Record 13
Data File Printed Using a Single Font
This command stream works on the principle that each line of output wh