ods pdf file="D:\hr_projects\class.pdf" pdftoc=2   startpage=yes; 
options  nonumber  nodate    orientation = landscape ;                            
ods escapechar='^';                              
title1  j=l "项目代码:";                
title2  j=l "^S={font_size=3pt} ";       
title3  j=l "受试者:";
footnote j=c "page ^{thispage} of ^{lastpage}";
ods proclabel='class';                
    proc report data=sashelp.class  contents="test";  
    column _all_;                                   
    run;
ods proclabel='classfit';   
    proc report data=sashelp.classfit ;  
    column _all_;                      
    run;
ods pdf close;
需要注释的话,具体内容可见附件: