Warning messages appear after you submit code that uses the HTMLBlue style with the ODS WORD destination


The following warning messages appear after you submit code that uses the HTMLBlue style with the SAS® Output Delivery System (ODS) WORD destination:

WARNING: The HTMLBLUE style does not have a scheme definition.  Results may be unpredictable.
WARNING: Font Courier not found in registry at core\printing\freetype\fonts\<ttf> Courier\Code\104


The following code example can generate those messages:

ods listing close;
ods word file='test.docx' style=htmlblue;
proc print data=sashelp.class;
run;
ods word close;
ods listing;


The ODS WORD code is behaving as designed. HTML5 is not a measured destination and does not need to load fonts. However, the ODS WORD destination is a measured destination and has to load fonts. Therefore, the warnings are meant to alert you to this behavior.

To prevent the warnings, use the default style for the ODS WORD destination or another appropriate style, such as RTF.