Hi:
Page X of Y is easier to achieve in earlier versions of SAS, especially since you want PDF. Since you are already using ODS ESCAPECHAR, this should work, but only if you do not have the logo in the title:
[pre]
footnote j=r 'Page ^{thispage} of ^{lastpage}';
[/pre]
The reason I said that about the logo in your title is that per this Tech Support note, you can't have a PREIMAGE and a ^{lastpage} used:
http://support.sas.com/kb/34/573.html
Alternately, you could split the file for PROC PRINT into "chunks" and change the footnote statement accordingly as shown below. Pages 1 and 2 get 28 obs each, with the logo (on my system, with the current size of Kermit.GIF image. so the first PROC PRINT will create a report for obs 1-56 with the footnote of (Continued) and then the last bit, obs 57-70 will get done with a report that has a "blank" footnote.
cynthia
[pre]
title; footnote;
options nodate number pageno=1 center;
ods pdf file='c:\temp\img_and_continued.pdf' notoc;
ods escapechar='^';
title j=l "^S={preimage='c:\temp\kermit.gif'} " j=c "Kermit";
footnote j=l '(Continued)';
** You could write a macro program to generate the first proc print;
** with the appropriate firstobs= and obs= values;
proc print data=sashelp.shoes(firstobs=1 obs=56);
run;
** then your last proc print would be with a "blank" footnote;
proc print data=sashelp.shoes(firstobs=57 obs=70);
footnote ' ';
run;
ods _all_ close;
[/pre]