Hi,
I use the following macro to print an image in the header of a pdf document wich contains a footnote too :
%Macro LogoFooterPdf(MyLogoFile, MyFooter1, MyFooter2) / store;
%let MyLogoFile=%BQUOTE(%STR(&MyLogoFile));
%let MyFooter1=%BQUOTE(%STR(&MyFooter1));
%let MyFooter2=%BQUOTE(%STR(&MyFooter2));
ods escapechar='^';
title "^S={just=left preimage='&MyLogoFile'}";
footnote1 "^S={just=left font_size=8pt font_weight=light font_style=roman} &MyFooter1";
footnote2 "^S={just=right font_size=8pt font_weight=light font_style=roman} &MyFooter2";
%Mend;
I call the macro with the following code :
dm log 'clear';
OPTION mlogic symbolgen;
OPTION nodate nonumber;
ods listing close;
ods noproctitle;
ods PDF file='H:\TestOds.pdf' startpage=never;
%LogoFooterPdf(H:\logo.jpg, PROJET, Page ^{thispage} of ^{lastpage});
proc print DATA=sashelp.class; run;
ods PDF close;
ods listing;
The footnotes appear correctly but not the picture.
If I don't make the footnotes appear then the picture can be seen.
If someone knows how to print both picture in the header and the footnotes it would be great.
Thanks !
Message was edited by: phil27