Usage Note 24041: In ODS RTF, can I change the location of the page number from the top right corner?
The location of the page number can be modified by adding one of the following inline style commands to the TITLE or FOOTNOTE statement:
- THISPAGE (to display the current page number)
- PAGEOF (to display "Page X of Y" information)
In order to remove the default page number that is displayed in the top right of the file, first issue the NONUMBER system option.
The code below provides an example:
ods listing close;
options nonumber;
ods escapechar="^";
ods rtf file="file.rtf";
proc print data=sashelp.retail;
footnote1 j=r "^{thispage}";
footnote2 j=r "^{pageof}";
run;
ods rtf close;
See more information about
PROC TEMPLATE and the RTF destination.
Operating System and Release Information
*
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.
| Type: | Usage Note |
| Priority: | low |
| Topic: | SAS Reference ==> ODS (Output Delivery System) Third Party ==> Output ==> RTF
|
| Date Modified: | 2007-08-28 14:41:13 |
| Date Created: | 2004-06-28 12:45:31 |