I am using proc report for my rtf output and the style is printer.
Somehow the output is printed on legal paper instead of letter and I am unable to identify the problem which causes it to do so.
I am adding the code that I use.
Can anyone please help me figure out what parameter is setting it to print on a legal paper.
The code is :
Offhand, I'm not sure what's going on. First, there are a few irrelevant things you could take OUT of your code, FLOW, WRAP, HEADLINE, HEADSKIP, WIDTH are LISTING only options with PROC REPORT. They are ignored by ODS destinations such as HTML, RTF and PDF. See this Tech Support note for more information: http://support.sas.com/kb/2/549.html
Your CELLWIDTHS seems a bit odd to me. Although you can specify PT for cellwidth, usually, I've always seen cellwidth specified as either IN or CM or EM.
But I seriously doubt whether any of those things had an impact on the papersize being set to legal.
I wonder whether you've somehow issued a PAPERSIZE=LEGAL option elsewhere in your session as an option?? You could try adding PAPERSIZE=LETTER to your OPTIONS statement.
options nonumber nodate missing=' '
bottommargin = "1.in"
topmargin = "1.in"
rightmargin = "1.in"
leftmargin = "1.in" papersize=letter;
If the PAPERSIZE option doesn't fix your issue, you might consider opening a track with Tech Support.