Creating Multiple Columns on a Page
Just as you can for the RTF destination, it is possible to create multi-column reports for the PRINTER destinations. When you realize that you have a tall skinny table, one thing you can do is display it in multiple columns so that you can get more data on a given page. The syntax is simple; just add the COLUMNS= option. Note that the COLUMNS= option works for all the ODS PRINTER family destinations, including ODS PDF.
ODS PDF FILE='Use_Columns.pdf' COLUMNS=3; ODS PRINTER COLUMNS=3; proc print data=gallery label; var gallery artist price; run; ODS _ALL_ CLOSE;
By setting COLUMNS=3, we get the table shown in Figure 5.33. Now the page is being used effectively to fit the output. Also, notice that the table headers ...
Get Output Delivery System: The Basics and Beyond now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.