Usage Note 24183: Can I move the page number and/or date from the top right-hand corner of the ODS PDF page?
Starting in SAS® 9.1, you can move the page number and date around with PROC TEMPLATE by setting the JUST= and VJUST= attributes in the style elements that control them.
The sample code below illustrates this.
proc template;
define style move;
parent=styles.printer;
style PageNo from TitlesAndFooters /
pretext = "--"
posttext = "--"
cellpadding=0
cellspacing=0
just=c /* Center */
vjust=b /* Bottom */;
style BodyDate from Date /
just=l /* Left */
vjust=t /* Top */;
end;
run;
options number;
ods pdf file="file.pdf" style=move;
proc print data=sashelp.retail;
run;
ods pdf close;
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: | System Administration ==> Printing Third Party ==> Output ==> PDF SAS Reference ==> ODS (Output Delivery System)
|
Date Modified: | 2005-08-19 16:12:01 |
Date Created: | 2004-10-06 16:53:34 |