SUPPORT / SAMPLES & SAS NOTES
 

Support

Usage Note 24168: How can I modify the header and footer margins in ODS RTF?

DetailsAboutRate It

Beginning in SAS 9.1, you can modify header and footer margins by using the HEADERY= and FOOTERY= options. The values for these options are specified in twips. A twip is specified as 1/20 of a printer's point. There are about 1,440 twips to an inch. See the following link for more information: http://support.sas.com/rnd/base/ods/odsrtf/rtf901.html

Here is some example code:

  ods rtf file="test.rtf" headery=320 footery=1100 ;

  proc print data=sashelp.class;
  run;

  ods rtf close;

  ods rtf  headery=0 footery=0;

See more information about the ODS RTF destination.



Operating System and Release Information

Product FamilyProductSystemSAS Release
ReportedFixed*
SAS SystemBase SASAlln/a
* For software releases that are not yet generally available, the Fixed Release is the software release in which the problem is planned to be fixed.