Define a style that imports a CSS file that includes a specific media type templates. The DEFINE STYLE statement creates a new style called MyCssStylePrinter. The IMPORT statement imports the CSS file StyleSheet.css, and converts the CSS code into ODS style elements and style attributes. The Print option specifies that the Print media block be imported along with the CSS code that is not in any media blocks. The code in the Screen media block is not imported.
define style styles.mycssstyleprinter; parent=styles.mycssstyle; import "StyleSheet.css" print; end; run;