Usage Note 24438: Customizing page numbers in the ODS PDF destination
Beginning with SAS® 9.1, page numbers can be customized in PDF output by using an escape character and the {thispage} function, {lastpage} function, or both. For example:
ods escapechar='^';
ods listing close;
ods pdf file='test.pdf';
data test;
do i=1 to 50;
output;
end;
run;
proc print data=test noobs;
title 'Page ^{thispage} of ^{lastpage}';
run;
ods listing;
ods pdf close;
Page numbering is not available with SAS/Graph output routed to the PDF destination until SAS® 9.2.
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.
Page numbers in the ODS PDF destination can be customized.
Type: | Usage Note |
Priority: | low |
Topic: | System Administration ==> Printing Third Party ==> Output ==> PDF SAS Reference ==> ODS (Output Delivery System)
|
Date Modified: | 2009-09-16 11:10:57 |
Date Created: | 2005-08-30 11:25:26 |