- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
Hi.....I am using ods pdf to create a report and trying to insert a Page X of Y in the footnote. The output isn't correct. Any suggestions to correct this? Thanks.
Code:
ods pdf file="%sysfunc(pathname(project))\&filename Report (&rundate).pdf" style=journal notoc bookmarkgen=no bookmarklist=none;
footnote height=7pt font="Arial" justify=center "Report Generated On: &rundate" justify=right 'Page ^{thispage} of ^{lastpage}';
Output:
<R Page 1 of @ >
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
If this is something you can reliably duplicate using EG, then you should open a track with Tech Support. If there's an existing defect, they will let you know and if there is a defect, there might be workaround. Sending them a sample program will help. So you can point them to this track for an example of code that works in SAS 9.4 and then send them an example of the same code that does not work in EG.
cynthia
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
Hi:
I do not observe that behavior. I am running SAS 9.4 M3. When I use a slightly modified version of your code, I get the expected results. BTW, I never just use the font Arial with ODS PDF -- one of the developers explained that the only "Arial" font that Adobe "likes" is Arial Unicode MS and so, that is the one I always use.
cynthia
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
If this is something you can reliably duplicate using EG, then you should open a track with Tech Support. If there's an existing defect, they will let you know and if there is a defect, there might be workaround. Sending them a sample program will help. So you can point them to this track for an example of code that works in SAS 9.4 and then send them an example of the same code that does not work in EG.
cynthia
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
Hi Cynthia....I did contact Tech Support and the work around is to include the following statement:
options printerpath=pdf;
before the ODS pdf file=
TYhanks for your help.