Sample 24781: Underlining text in a printed report
Use OVERPRINT to underline text. OVERPRINT causes the values that follow the keyword OVERPRINT to print on the most recently written output line.
Note:
You must direct the output to a print file. Add N=1 to your
FILE statement. OVERPRINT has no effect on lines that are
written to a display.
These sample files and code examples are provided by SAS Institute
Inc. "as is" without warranty of any kind, either express or implied, including
but not limited to the implied warranties of merchantability and fitness for a
particular purpose. Recipients acknowledge and agree that SAS Institute shall
not be liable for any damages whatsoever arising out of their use of this material.
In addition, SAS Institute will provide no support for the materials contained herein.
/* Route output directly to printer */
filename myfile printer recfm=p;
data _null_;
file myfile n=1;
put 'this is a test' overprint @1 '_____________';
run;
These sample files and code examples are provided by SAS Institute
Inc. "as is" without warranty of any kind, either express or implied, including
but not limited to the implied warranties of merchantability and fitness for a
particular purpose. Recipients acknowledge and agree that SAS Institute shall
not be liable for any damages whatsoever arising out of their use of this material.
In addition, SAS Institute will provide no support for the materials contained herein.
Illustration of printed OUTPUT
this is a test
OVERPRINT causes the values that follow the keyword OVERPRINT
to print on the most recently written output line.
Type: | Sample |
Topic: | SAS Reference ==> DATA Step Query and Reporting ==> Creating Reports ==> Non Graphical
|
Date Modified: | 2005-12-08 11:34:33 |
Date Created: | 2004-09-30 14:09:13 |
Operating System and Release Information
SAS System | Base SAS | All | n/a | n/a |