Data visualization with SAS programming

ODS PDF - Footnote logo Image not appearing on all pages

Reply
New Contributor
Posts: 2

ODS PDF - Footnote logo Image not appearing on all pages

Hi,

 

I am trying to insert a image file (*.jpg) using ODS PDF and in Proc sgrender. The images are logo which i am expecting to appear on all the pages of the output PDF file, one on the header and another on the footnote. The issue is the header image is appearing to be fine on all pages, but the footnote image is only appearing on the 1st page of the output PDF file. Below is the code that i am using, i am not very sure what i am missing, any help would be greatly appreciated.

 

This code generates 16 pages of PDF file with bar charts. Header image is appearing in all pages, but Footnote image is appearing only on 1st page.

 

ods pdf file="&outfile\Final_report.pdf" bookmarkgen=no dpi=144 compress=9;

 

title ; footnote ;

 

title1 j=l font=arial

        j=r "^{style[fontsize=.5pt padding=0pt borderspacing=0pt preimage='C:\Windows\headerimg.jpg'}";

 

footnote1 " Footnote1";

footnote2 "Footnote2";

footnote3 "Footnote3";

footnote4 j=l "^{style[fontsize=.5pt preimage='C:\Windows\footerimg.jpg'}";

 

ods graphics/ noborder;

 

proc sgrender data=repo_data_all template = data_lattice;

      dynamic NCOL=3 NMIN=0.10 NMAX=1;

      format statvalue percent10.2;

run;

 

ods pdf close;

 

Super User
Posts: 11,343

Re: ODS PDF - Footnote logo Image not appearing on all pages

Posted in reply to akkivishal

Try

 

footnote4 j=l "^{style[fontsize=.5pt postimage='C:\Windows\footerimg.jpg'}";

 

See if that works better.

New Contributor
Posts: 2

Re: ODS PDF - Footnote logo Image not appearing on all pages

Hi,

 

I tried to change the option to Postimage, but it still doesn't work. I do not see the footnote image appearing on all the pages.

 

Thanks,

Vishal

Ask a Question
Discussion stats
  • 2 replies
  • 323 views
  • 0 likes
  • 2 in conversation