I am generating pdf file by using ods pdf destination:
ods pdf file="C:\Users\ssingh715\Desktop\E-Statements\testalign.pdf"
footnote1 color=maroon j=left height=2 wrap "DISCLAIMER:";
footnote2 color=maroon j=left height=2 wrap "Please review information provided in the file, in case of any discrepancy please inform.";
While pdf file size is more than one pages footnote appears on every page in pdf.
I want to print footnote only in last page in pdf file .not on every page.
Hi:
Taking all the defaults, this worked for me:
You can change the look of the line of text written by ODS PDF TEXT=, but I wanted to show just all the defaults.
Hope this helps,
Cynthia
Hi:
The only ways I can think of are
1) footnote (will be on EVERY page)
2) ODS PDF TEXT= (can insert "line feeds" before text using ODS ESCAPECHAR
3) ODS LAYOUT
This is method #2:
Cynthia
@ShammiKalsi wrote:
Hi Cynthia,
Your are right.. it works.. but my concern is to display at the bottom of
last page. Is there any other alternative except odf pdf = text option.
Thanks!!
Which is more important 'after the table only once' or 'at the bottom of the page'?
Exact Line positioning in PDF and RTF of specific text is not a trivial exercise.
You don't mention how you are generating any other output so I can't be sure how helpful this may be but you may be able to use Style=[Posttext="something"] in an appropriate prodedure to generate text that only appears once following a procedure like Proc Tabulate, Report or Print.
proc print data=sashelp.class style=[Posttext='some following text'] ; run; Proc tabulate data=sashelp.class; class sex age; var height; table sex, height *(min mean max) ; table age, height *(min mean max) /style=[Posttext='Some text only following the Age table']; run; proc report data=sashelp.class style=[Posttext='some text after Proc Report']; columns sex age height; define sex /group; define age/ group; define height/analysis Mean 'Meah height'; run;
I think it should work for PDF too. Here is what I did for the RTF file.
in the final dataset, add one variable called pagecounter and set its value to 1 (or whatever value you like; but the value for this variable should all be the same).
Then in the proc report section,
sorry for the typo. Corrected the subject, one way, not one day.
SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!
Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.