Chapter Contents |
Previous |
Next |
The FORMS Procedure |
Form Layout |
The values of the variables specified in LINE statements are formatted into a form unit that is WIDTH= columns wide and LINES= lines long. Values that do not fit into WIDTH= columns are truncated. ACROSS= form units are printed across the page, with BETWEEN= spaces between adjacent form units. The forms are indented INDENT= spaces from the left margin. SKIP= blank lines are printed between form units down the page.
Modes of Operation |
By default, PROC FORMS uses page mode. To select continuous mode, you
must specify FILE= and must not specify NDOWN= or PAGESIZE=.
By default, in continuous mode the first eight form
units are dummy
form units that consist solely of Xs. These forms give the printer operator
a chance to align the printer before real form units begin to print. Use
ALIGN= to alter the number of dummy form units. Once the dummy form units
are aligned to the physical forms, the file prints correctly. Carriage control
characters are unnecessary.
When PROC FORMS has written as many form units as you specified, either it writes a blank line for each line remaining on the page (as determined by the PAGESIZE= option) or it writes a page-eject character. If you are writing to the procedure output file, PROC FORMS always writes the page-eject characters. If you have specified FILE=, PROC FORMS by default writes blank lines, but if you specify the CC option, it writes page eject characters instead.
In page mode, the easiest way to ensure proper alignment is to specify the number of form units to print down the page with the NDOWN= option and to use CC to write a page-eject character at the beginning of each page. If you omit CC, be sure that the page size is set correctly. If it isn't, the number of blank lines that PROC FORMS writes will not take you to the top of the next page.
Note: We recommend that you always use CC when you use page mode with
the FILE= option.
Chapter Contents |
Previous |
Next |
Top of Page |
Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.