The following SAS Note explains how printer setup can influence margin settings:
https:https://support.sas.com/kb/36/590.html//support.sas.com/kb/36/590.html
What printer are you asking WORD to print the RTF file on?
Can you provide an complete working program that demonstrates the issue? All you provided was code to create a STYLE using PROC TEMPLATE. Can you provide code that then uses that style to print something to an RTF file.
There are a couple of other ways to make files that WORD understands.
https://blogs.sas.com/content/sgf/2022/06/10/ods-destinations-microsoft-word/
Do those have the same problems with margins?
Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.