Hi, PROC PRINTTO is NOT making an RTF file. You are making an ASCII text file that you are opening with Microsoft Word. A true RTF file is created with ODS RTF. You do not have ODS RTF statements in the code you show here. If you open a true ODS RTF file with Notepad, you see RTF control strings at the top of the file, as shown if I run this code and then open the resulting RTF file with Notepad: ods rtf file='c:\temp\class.rtf'; proc print data=sashelp.class; run; ods rtf close; as opposed to using PROC PRINTTO like this: proc printto print='c:\temp\classreport.txt'; run; proc print data=sashelp.class; run; proc printto; run; You can compare the 2 outputs by opening each file with Notepad.
ODS RTF file opened with Notepad:
PROC PRINTTO file opened with Notepad:
If you actually used ODS RTF, then the file would be rendered correctly whether you were using Word 97, Word 2000 or Word 2013. ODS RTF has been using RTF control syntax ever since Word 97. When you make an ASCII text file with PROC PRINTTO and then open the text file with Word, you generally have to adjust the orientation and the font for the entire document to have the output look as it does in the LISTING window.
cynthia
... View more