BookmarkSubscribeRSS Feed
BigPete
Obsidian | Level 7

According to this thread, it seems like the pagesize= option works with a uniform page size in mind for the same PDF. But is there a way to spit out various page sizes for example like one dataset on 8.5xll pages and another dataset onto 8.5x14 pages for the same PDF file? 

 

1 REPLY 1
Reeza
Super User

I think that thread says you need to use papersize instead of pagesize option.

 

Something like this perhaps (untested):

options papersize=("15in","24in");
ods pdf file='/home/fkhurshed/demo_delete.pdf';
proc print data=sashelp.cars;
run;

options papersize=("8.5in","11in");

proc print data=sashelp.class;
run;

ods pdf close;

@BigPete wrote:

According to this thread, it seems like the pagesize= option works with a uniform page size in mind for the same PDF. But is there a way to spit out various page sizes for example like one dataset on 8.5xll pages and another dataset onto 8.5x14 pages for the same PDF file? 

 


 

SAS Innovate 2025: Call for Content

Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 16. Read more here about why you should contribute and what is in it for you!

Submit your idea!

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 1 reply
  • 612 views
  • 0 likes
  • 2 in conversation