<?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: ODS PDF Landscape in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/ODS-PDF-Landscape/m-p/572550#M161577</link>
    <description>&lt;P&gt;Hi: You can change the margins for PDF and RTF in the OPTIONS statement. This worked for me:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="show_marg.png" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/30926i7B26523ABB88FCA4/image-size/large?v=v2&amp;amp;px=999" role="button" title="show_marg.png" alt="show_marg.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; Even with LANDSCAPE orientation, without any other instructions, the first PROC REPORT uses default widths that it calculates. With a style override to use 100% of the area between the margins, then the output is "stretched" to fit between the margins set in the OPTIONS statement.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Cynthia&lt;/P&gt;</description>
    <pubDate>Wed, 10 Jul 2019 22:23:49 GMT</pubDate>
    <dc:creator>Cynthia_sas</dc:creator>
    <dc:date>2019-07-10T22:23:49Z</dc:date>
    <item>
      <title>ODS PDF Landscape</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ODS-PDF-Landscape/m-p/572506#M161556</link>
      <description>&lt;P&gt;For some reason this simple call of my proc report to change the orientation to landscape is staying is portrait.&amp;nbsp; Am I missing something?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;OPTIONS orientation=landscape nodate;&lt;BR /&gt;ods pdf&lt;/P&gt;
&lt;P&gt;file="/serverpath/my.pdf"&lt;/P&gt;
&lt;P&gt;ods escapechar='~';&lt;/P&gt;
&lt;P&gt;/*proc report goes here*/&lt;/P&gt;
&lt;P&gt;ods pdf close;&lt;/P&gt;
&lt;P&gt;ods pdf(id=VCU_Report_Printing1) close;&lt;/P&gt;</description>
      <pubDate>Wed, 10 Jul 2019 20:16:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ODS-PDF-Landscape/m-p/572506#M161556</guid>
      <dc:creator>DavidPhillips2</dc:creator>
      <dc:date>2019-07-10T20:16:32Z</dc:date>
    </item>
    <item>
      <title>Re: ODS PDF Landscape</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ODS-PDF-Landscape/m-p/572510#M161557</link>
      <description>&lt;P&gt;Was there anything unexpected in the log?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 10 Jul 2019 20:28:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ODS-PDF-Landscape/m-p/572510#M161557</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2019-07-10T20:28:57Z</dc:date>
    </item>
    <item>
      <title>Re: ODS PDF Landscape</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ODS-PDF-Landscape/m-p/572520#M161560</link>
      <description>&lt;P&gt;No errors around the pdf area.&amp;nbsp; I think i need to set the margins for the proc report part somehow because this works.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;OPTIONS orientation=landscape nodate;&lt;BR /&gt;ods pdf file="/serverpath/testOrientation.pdf";&lt;/P&gt;
&lt;P&gt;ods escapechar='~';&lt;BR /&gt;proc sql;&lt;BR /&gt;select count(*), count(*), count(*),count(*), count(*), count(*), count(*), count(*), count(*), count(*),&lt;BR /&gt;count(*), count(*), count(*),count(*), count(*), count(*), count(*), count(*), count(*), count(*),&lt;BR /&gt;count(*), count(*), count(*), count(*), count(*), count(*), count(*), count(*) from sashelp.shoes&lt;BR /&gt;quit;&lt;BR /&gt;ods pdf close;&lt;/P&gt;
&lt;P&gt;ods pdf(id=VCU_Report_Printing1) close;&lt;/P&gt;</description>
      <pubDate>Wed, 10 Jul 2019 20:44:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ODS-PDF-Landscape/m-p/572520#M161560</guid>
      <dc:creator>DavidPhillips2</dc:creator>
      <dc:date>2019-07-10T20:44:24Z</dc:date>
    </item>
    <item>
      <title>Re: ODS PDF Landscape</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ODS-PDF-Landscape/m-p/572521#M161561</link>
      <description>&lt;P&gt;I also have an image in the title that spans longer than the proc report.&lt;/P&gt;</description>
      <pubDate>Wed, 10 Jul 2019 20:46:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ODS-PDF-Landscape/m-p/572521#M161561</guid>
      <dc:creator>DavidPhillips2</dc:creator>
      <dc:date>2019-07-10T20:46:45Z</dc:date>
    </item>
    <item>
      <title>Re: ODS PDF Landscape</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ODS-PDF-Landscape/m-p/572526#M161563</link>
      <description>&lt;P&gt;It was the width of the proc report.&amp;nbsp; Not sure how it got capped.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;but this worked.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;proc report data=FacultyProfileFall out=finalTable /*wid*/ style(report)={outputwidth=100%};&lt;/P&gt;</description>
      <pubDate>Wed, 10 Jul 2019 21:01:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ODS-PDF-Landscape/m-p/572526#M161563</guid>
      <dc:creator>DavidPhillips2</dc:creator>
      <dc:date>2019-07-10T21:01:31Z</dc:date>
    </item>
    <item>
      <title>Re: ODS PDF Landscape</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ODS-PDF-Landscape/m-p/572550#M161577</link>
      <description>&lt;P&gt;Hi: You can change the margins for PDF and RTF in the OPTIONS statement. This worked for me:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="show_marg.png" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/30926i7B26523ABB88FCA4/image-size/large?v=v2&amp;amp;px=999" role="button" title="show_marg.png" alt="show_marg.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; Even with LANDSCAPE orientation, without any other instructions, the first PROC REPORT uses default widths that it calculates. With a style override to use 100% of the area between the margins, then the output is "stretched" to fit between the margins set in the OPTIONS statement.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Cynthia&lt;/P&gt;</description>
      <pubDate>Wed, 10 Jul 2019 22:23:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ODS-PDF-Landscape/m-p/572550#M161577</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2019-07-10T22:23:49Z</dc:date>
    </item>
  </channel>
</rss>

