BookmarkSubscribeRSS Feed
KP22122
Calcite | Level 5

Hello! I have created multiple custom reports using SAS EG. Is there a way to combine them into one PDF output? I realize I could just add all to one custom report but I need some to be landscape and some to be portrait and it seems that would get cumbersome. I'd also like to consecutively number the pages if possible or just remove the page numbers if that is not possible.  Thank you for any recommendations you can provide! 

2 REPLIES 2
ghosh
Barite | Level 11

Look into ods layout gridded (for multiple pages) or absolute (one page).  

https://support.sas.com/rnd/base/ods/Tipsheet_ods_layout.pdf

 

Or else the Report Writing Interface (RWI) but this has a steep learning curve

smantha
Lapis Lazuli | Level 10

ods listing close;
ods pdf file="<pdf file name>";
option orientation=landscape;
proc print data=sashelp.cars;
run;
option orientation=portrait;
proc print data=sashelp.cars;
run;
ods pdf close;
ods listing;

hackathon24-white-horiz.png

Join the 2025 SAS Hackathon!

Calling all data scientists and open-source enthusiasts! Want to solve real problems that impact your company or the world? Register to hack by August 31st!

Register Now

Creating Custom Steps in SAS Studio

Check out this tutorial series to learn how to build your own steps in SAS Studio.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 2 replies
  • 1073 views
  • 0 likes
  • 3 in conversation