Changing PROC PRINT Column Heading Style Attributes

Applying style attributes to PROC PRINT output is very simple. All you have to do is add STYLE= options to whichever part of the output you want to change.

There are a number of ways you can use STYLE= in the PRINT procedure. To keep things simple, we look at just one technique: adding a STYLE= option to the PROC PRINT statement. We start with the following code. It lists three variables.

ODS HTML FILE='listfurniture.html' STYLE=sasweb;
proc print data=furniture(obs=5) noobs label;
   var Type Material Price;
run;
ODS HTML CLOSE;

This code produces the output shown in Figure 19.41. It's a basic table formatted with the Sasweb template. The typeface used in the headings and table body is Arial. ...

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.