05-21-2015 08:47 AM
In SAS 9.4 TS1M2 I try to set margins on a RTF document generated by an "ODS RTF" statement. Through the "OPTIONS" statement I can set these margins (MARGINLEFT etc...) but they apply to all pages of RTF file. What I want is to specify theses margins from page to page.
I read in this paper that you have to use STYLES :
However any method described in this document that I try (set margins with precise values or set margins to _undef_ special value) does not work. The only way I can do it is through styles but then I lose the papersize on the second page of my report.
Do I use the goog approach?
How to get wanted margins ?
Thanks and best regards.
05-22-2015 11:43 AM
Try this one :
option topmargin=1cm orientation=portrait; ods rtf file='c:\temp\xxx.rtf'; proc print data=sashelp.class ;run; option topmargin=10cm orientation=landscape; ods rtf ; proc print data=sashelp.class ;run; ods rtf close;