The printer setup has a strong influence over fonts and margins in RTF files that are created by ODS. This means that if margins are small for the default printer, an RTF file might generate the following dialog box when it is printed from Microsoft Word:
The margins of section 1 are outside the printable area of the page. Do you want to continue?
There are two possible workarounds to re-create the RTF file without the problematic margin settings:
proc template;
define style styles.test;
parent=styles.rtf;
style body from document /
leftmargin=.25in
rightmargin=.25in
topmargin=.25in
bottommargin=.25in;
end;
run;
The style is then applied to the RTF file FILE.RTF using the STYLE= option in the ODS RTF statement:
ods rtf file="file.rtf" style=styles.test;
proc options group=odsprint;
run;
If the SAS Log shows NOUNIVERSALPRINT, then set the following at invocation, either on a command line or in your SAS config file (SASV9.CFG):
-uprint -uprintmenuswitch