Hi,
I think you can try and use the _webout for printing your required report.
First thing In your STP uncheck the option "Stored Process Macros" under "Include Code For"
select Stored Process Sever ---and Streaming Output as your execution Options
Then as per the below code whatever staments you write between you ods html should only be displayed in your output.
proc print data=sashelp.shoes;
run;
ods html body=_webout;
proc print data=sashelp.class;
run;
ods html close;
Hope this helps...