<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Proc report rtf output page size problem in SAS Health and Life Sciences</title>
    <link>https://communities.sas.com/t5/SAS-Health-and-Life-Sciences/Proc-report-rtf-output-page-size-problem/m-p/61371#M1494</link>
    <description>Thanks a lot for your help.</description>
    <pubDate>Mon, 21 Sep 2009 18:30:42 GMT</pubDate>
    <dc:creator>deleted_user</dc:creator>
    <dc:date>2009-09-21T18:30:42Z</dc:date>
    <item>
      <title>Proc report rtf output page size problem</title>
      <link>https://communities.sas.com/t5/SAS-Health-and-Life-Sciences/Proc-report-rtf-output-page-size-problem/m-p/61368#M1491</link>
      <description>Hi,&lt;BR /&gt;
&lt;BR /&gt;
I am using proc report for my rtf output and the style is printer.&lt;BR /&gt;
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.&lt;BR /&gt;
I am adding the code that I use.&lt;BR /&gt;
Can anyone please help me figure out what parameter is setting it to print on a legal paper.&lt;BR /&gt;
&lt;BR /&gt;
The code is :&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
data _null_;&lt;BR /&gt;
	EXEDATE=DATE();&lt;BR /&gt;
	CALL SYMPUT('EXEDATE',PUT(datetime(),datetime15.));&lt;BR /&gt;
RUN;&lt;BR /&gt;
&lt;BR /&gt;
options orientation=portrait symbolgen mgen mprint mergenoby=warn msglevel=i replace;&lt;BR /&gt;
options nonumber nodate missing=' ' &lt;BR /&gt;
      bottommargin = "1.in"&lt;BR /&gt;
      topmargin = "1.in"&lt;BR /&gt;
      rightmargin = "1.in"&lt;BR /&gt;
      leftmargin = "1.in";&lt;BR /&gt;
&lt;BR /&gt;
ods escapechar="^"; &lt;BR /&gt;
&lt;BR /&gt;
ods listing close;&lt;BR /&gt;
&lt;BR /&gt;
ods rtf file="PATH.rtf" style=printer;&lt;BR /&gt;
proc report data=(analysis dataset name) nowindows split='*' headline headskip wrap &lt;BR /&gt;
   style(report)=[ just=center ]&lt;BR /&gt;
   style(column) = [asis=on font_size=10pt ]&lt;BR /&gt;
   style(header)=[background=white font_size=11pt vjust=center ] ;&lt;BR /&gt;
&lt;BR /&gt;
   column pgord sequence sequence2 VariableDesc G1Desc G2Desc TotalDesc ;&lt;BR /&gt;
			&lt;BR /&gt;
	define pgord         / order order=internal noprint ;&lt;BR /&gt;
    define sequence      / order order=internal noprint ;&lt;BR /&gt;
    define sequence2     / order order=internal noprint ;&lt;BR /&gt;
    define VariableDesc  / display width=60 flow left "TEXT" style(column) = [CELLWIDTH=180pt frame=box];&lt;BR /&gt;
 define G1Desc        / display width=26  center "TEXT" style(column) = CELLWIDTH=92pt frame=box];&lt;BR /&gt;
    define G2Desc        / display width=26  center "TEXT" style(column) = [CELLWIDTH=92pt frame=box];&lt;BR /&gt;
	define TotalDesc     / display width=26  center "TEXT" style(column) = [CELLWIDTH=92pt frame=box];&lt;BR /&gt;
&lt;BR /&gt;
break after pgord/ PAGE;&lt;BR /&gt;
	&lt;BR /&gt;
title1 j=l height=10pt font = times BOLD "TEXT"  j=r BOLD "Page ^{pageof}";&lt;BR /&gt;
    title2 j=l height=10pt font = times BOLD "     " j=r BOLD "Draft : &amp;amp;Draft";&lt;BR /&gt;
	title3 " " ;    &lt;BR /&gt;
	title4 j=c height=11pt font = times BOLD "&amp;amp;title1txt" ;&lt;BR /&gt;
&lt;BR /&gt;
       &lt;BR /&gt;
     footnote1 j=l height=8pt font = times &lt;BR /&gt;
		"Program: PATH"   j=r "Created on:&amp;amp;EXEDATE";  &lt;BR /&gt;
     &lt;BR /&gt;
	 footnote2 j=r height=8pt font = times "TEXT" j=r font=times; &lt;BR /&gt;
	  &lt;BR /&gt;
run; &lt;BR /&gt;
&lt;BR /&gt;
   ods rtf text="^S={font=(""times"",8pt)}  ^{super 1}&amp;amp;footnt1";&lt;BR /&gt;
   ods rtf text="^S={font=(""times"",8pt)}  ^{super 2}&amp;amp;footnt2";&lt;BR /&gt;
   ods rtf text="^S={font=(""times"",8pt)}   &amp;amp;footnt3";&lt;BR /&gt;
   ods rtf text="^S={font=(""times"",8pt)}   &amp;amp;footnt4";&lt;BR /&gt;
   ods rtf text="^S={font=(""times"",8pt)}  ^{super 3}&amp;amp;footnt5";&lt;BR /&gt;
   ods rtf text="^S={font=(""times"",8pt)}   &amp;amp;footnt6";&lt;BR /&gt;
   ods rtf text="^S={font=(""times"",8pt)}   &amp;amp;footnt7";&lt;BR /&gt;
   ods rtf text="^S={font=(""times"",8pt)}  ^{super 4}&amp;amp;footnt8";&lt;BR /&gt;
   ods rtf text="^S={font=(""times"",8pt)}  ^{super 5}&amp;amp;footnt9";&lt;BR /&gt;
    ods rtf text="^S={font=(""times"",8pt)}  ^{super 6}&amp;amp;footnt10";   &lt;BR /&gt;
&lt;BR /&gt;
ods rtf close; &lt;BR /&gt;
ods listing;&lt;BR /&gt;
&lt;BR /&gt;
Thank you very much for your time.&lt;BR /&gt;
&lt;BR /&gt;
Regards,&lt;BR /&gt;
April.</description>
      <pubDate>Tue, 04 Aug 2009 15:03:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Health-and-Life-Sciences/Proc-report-rtf-output-page-size-problem/m-p/61368#M1491</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2009-08-04T15:03:37Z</dc:date>
    </item>
    <item>
      <title>Re: Proc report rtf output page size problem</title>
      <link>https://communities.sas.com/t5/SAS-Health-and-Life-Sciences/Proc-report-rtf-output-page-size-problem/m-p/61369#M1492</link>
      <description>Hi:&lt;BR /&gt;
  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:&lt;BR /&gt;
&lt;A href="http://support.sas.com/kb/2/549.html" target="_blank"&gt;http://support.sas.com/kb/2/549.html&lt;/A&gt; &lt;BR /&gt;
&lt;BR /&gt;
WRAP and FLOW aren't listed in this note, but they are also ignored based on these notes in the doc:&lt;BR /&gt;
&lt;A href="http://support.sas.com/documentation/cdl/en/proc/61895/HTML/default/a002473627.htm#a003072097" target="_blank"&gt;http://support.sas.com/documentation/cdl/en/proc/61895/HTML/default/a002473627.htm#a003072097&lt;/A&gt; (FLOW is "monospace" or LISTING only)&lt;BR /&gt;
and&lt;BR /&gt;
&lt;A href="http://support.sas.com/documentation/cdl/en/proc/61895/HTML/default/a002473620.htm#a003071991" target="_blank"&gt;http://support.sas.com/documentation/cdl/en/proc/61895/HTML/default/a002473620.htm#a003071991&lt;/A&gt; (WRAP is "monospace" or LISTING only)&lt;BR /&gt;
 &lt;BR /&gt;
  Also, you have FRAME=BOX on multiple DEFINE statements -- I'm surprised you didn't get an error message, but it was probably just ignored. FRAME= is a TABLE level style attribute, not a CELL level style attribute. (as described in the doc: &lt;A href="http://support.sas.com/documentation/cdl/en/odsug/61723/HTML/default/a002972093.htm#a002978399)" target="_blank"&gt;http://support.sas.com/documentation/cdl/en/odsug/61723/HTML/default/a002972093.htm#a002978399)&lt;/A&gt;&lt;BR /&gt;
&lt;BR /&gt;
  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. &lt;BR /&gt;
&lt;BR /&gt;
  But I seriously doubt whether any of those things had an impact on the papersize being set to legal.&lt;BR /&gt;
&lt;BR /&gt;
  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.&lt;BR /&gt;
[pre]&lt;BR /&gt;
options nonumber nodate missing=' ' &lt;BR /&gt;
        bottommargin = "1.in"&lt;BR /&gt;
        topmargin = "1.in"&lt;BR /&gt;
        rightmargin = "1.in"&lt;BR /&gt;
        leftmargin = "1.in" papersize=letter;&lt;BR /&gt;
                   &lt;BR /&gt;
[/pre]&lt;BR /&gt;
            &lt;BR /&gt;
If the PAPERSIZE option doesn't fix your issue, you might consider opening a track with Tech Support.&lt;BR /&gt;
 &lt;BR /&gt;
cynthia</description>
      <pubDate>Fri, 07 Aug 2009 05:15:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Health-and-Life-Sciences/Proc-report-rtf-output-page-size-problem/m-p/61369#M1492</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2009-08-07T05:15:21Z</dc:date>
    </item>
    <item>
      <title>Re: Proc report rtf output page size problem</title>
      <link>https://communities.sas.com/t5/SAS-Health-and-Life-Sciences/Proc-report-rtf-output-page-size-problem/m-p/61370#M1493</link>
      <description>You can also see the current value of PAPERSIZE via PROC OPTIONS;</description>
      <pubDate>Mon, 10 Aug 2009 16:07:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Health-and-Life-Sciences/Proc-report-rtf-output-page-size-problem/m-p/61370#M1493</guid>
      <dc:creator>Doc_Duke</dc:creator>
      <dc:date>2009-08-10T16:07:33Z</dc:date>
    </item>
    <item>
      <title>Re: Proc report rtf output page size problem</title>
      <link>https://communities.sas.com/t5/SAS-Health-and-Life-Sciences/Proc-report-rtf-output-page-size-problem/m-p/61371#M1494</link>
      <description>Thanks a lot for your help.</description>
      <pubDate>Mon, 21 Sep 2009 18:30:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Health-and-Life-Sciences/Proc-report-rtf-output-page-size-problem/m-p/61371#M1494</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2009-09-21T18:30:42Z</dc:date>
    </item>
  </channel>
</rss>

