<?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 Is it possible to use both landscape and portrait in a proc report document? in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Is-it-possible-to-use-both-landscape-and-portrait-in-a-proc/m-p/147671#M297496</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;I am making a report, where it is necessary for the document to be both in landscape and portrait.&lt;/P&gt;&lt;P&gt;Is it possible in the document to do something like say: Page 1-5 should be portrait and the rest should be landscape? If yes, then how would it be done? &lt;/P&gt;&lt;P&gt;When making the tables in proc report I fliter the work.file with the "where" function, so, as far as I am aware, I cannot just use the proc print function. &lt;/P&gt;&lt;P&gt;The destination is rtf. &lt;/P&gt;&lt;P&gt;All help will be greatly appreciated.&lt;/P&gt;&lt;P&gt;Best Regards&lt;/P&gt;&lt;P&gt;Bruce&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 19 Jun 2014 08:52:47 GMT</pubDate>
    <dc:creator>Bruce123</dc:creator>
    <dc:date>2014-06-19T08:52:47Z</dc:date>
    <item>
      <title>Is it possible to use both landscape and portrait in a proc report document?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Is-it-possible-to-use-both-landscape-and-portrait-in-a-proc/m-p/147671#M297496</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;I am making a report, where it is necessary for the document to be both in landscape and portrait.&lt;/P&gt;&lt;P&gt;Is it possible in the document to do something like say: Page 1-5 should be portrait and the rest should be landscape? If yes, then how would it be done? &lt;/P&gt;&lt;P&gt;When making the tables in proc report I fliter the work.file with the "where" function, so, as far as I am aware, I cannot just use the proc print function. &lt;/P&gt;&lt;P&gt;The destination is rtf. &lt;/P&gt;&lt;P&gt;All help will be greatly appreciated.&lt;/P&gt;&lt;P&gt;Best Regards&lt;/P&gt;&lt;P&gt;Bruce&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jun 2014 08:52:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Is-it-possible-to-use-both-landscape-and-portrait-in-a-proc/m-p/147671#M297496</guid>
      <dc:creator>Bruce123</dc:creator>
      <dc:date>2014-06-19T08:52:47Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to use both landscape and portrait in a proc report document?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Is-it-possible-to-use-both-landscape-and-portrait-in-a-proc/m-p/147672#M297497</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Should just be a matter of putting the ods orientation= statement between your procs. &lt;/P&gt;&lt;P&gt;ods rtf file="...";&lt;/P&gt;&lt;P&gt;ods orientation=landscape;&lt;/P&gt;&lt;P&gt;proc print...&lt;/P&gt;&lt;P&gt;ods orientation=portrait;&lt;/P&gt;&lt;P&gt;proc..&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jun 2014 09:02:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Is-it-possible-to-use-both-landscape-and-portrait-in-a-proc/m-p/147672#M297497</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2014-06-19T09:02:22Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to use both landscape and portrait in a proc report document?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Is-it-possible-to-use-both-landscape-and-portrait-in-a-proc/m-p/147673#M297498</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;I tried the "ods orientation" but for some reason it does not work. In the log it says that the statement is used out of order.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Currently I have the following code for the orientation and file:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OPTIONS ORIENTATION=PORTRAIT NODATE ;&lt;/P&gt;&lt;P&gt;ODS OUTPUT CLOSE;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;ODS LISTING CLOSE;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ODS RTF File = "Name.rtf "&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried copying the above between the proc reports statements, but it doesn't work, even though Sas does not state an error i the log.&lt;/P&gt;&lt;P&gt;Do you have any suggestions to my problem? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards&lt;/P&gt;&lt;P&gt;Bruce&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jun 2014 09:35:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Is-it-possible-to-use-both-landscape-and-portrait-in-a-proc/m-p/147673#M297498</guid>
      <dc:creator>Bruce123</dc:creator>
      <dc:date>2014-06-19T09:35:16Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to use both landscape and portrait in a proc report document?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Is-it-possible-to-use-both-landscape-and-portrait-in-a-proc/m-p/147674#M297499</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ah yes, you need to add in ods rtf; after the orientation change.&amp;nbsp; Also make sure to specify a style= in your procs e.g:&lt;/P&gt;&lt;P&gt;ODS rtf File = "s:\temp\rob\Name.rtf";&lt;/P&gt;&lt;P&gt;ods listing close;&lt;/P&gt;&lt;P&gt;ods noresults;&lt;/P&gt;&lt;P&gt;ods output close;&lt;/P&gt;&lt;P&gt;options orientation=portrait;&lt;/P&gt;&lt;P&gt;ods rtf;&lt;/P&gt;&lt;P&gt;proc report data=sashelp.class nowd style=your_style_here;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;options orientation=landscape;&lt;/P&gt;&lt;P&gt;ods rtf;&lt;/P&gt;&lt;P&gt;proc report data=sashelp.class nowd style=your_style_here;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;ods rtf close;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jun 2014 10:54:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Is-it-possible-to-use-both-landscape-and-portrait-in-a-proc/m-p/147674#M297499</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2014-06-19T10:54:40Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to use both landscape and portrait in a proc report document?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Is-it-possible-to-use-both-landscape-and-portrait-in-a-proc/m-p/147675#M297500</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey&lt;/P&gt;&lt;P&gt;Thanks for your help. That solved it &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://communities.sas.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;/P&gt;&lt;P&gt;Have a nice day&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jun 2014 11:25:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Is-it-possible-to-use-both-landscape-and-portrait-in-a-proc/m-p/147675#M297500</guid>
      <dc:creator>Bruce123</dc:creator>
      <dc:date>2014-06-19T11:25:26Z</dc:date>
    </item>
  </channel>
</rss>

