<?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 ODS PDF with option startpage=no/new, generates a BLANK page, how can we avoid blank page? in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-PDF-with-option-startpage-no-new-generates-a-BLANK-page-how/m-p/369963#M18855</link>
    <description>&lt;P&gt;Hi I have been trying to produce two reports with PROC tabulate on two seperate pages of PDF report, using startpage option. However, in the final pdf output, there is a BLANK page appearing on first page. Can you please guide how can we avoid the blank page from appearing on first page of report? Below is the sample code being used:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000FF"&gt;ods noproctitle;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000FF"&gt;ods pdf file = '...path/filename.pdf' startpage=never style=printer pdftoc=1;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000FF"&gt;title1 'title1';&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000FF"&gt;proc tabulate data=xyx contents=' ';&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000FF"&gt;&amp;nbsp;......&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000FF"&gt;run;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000FF"&gt;ods pdf startpage=now;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000FF"&gt;ods proclable = 'ABC'; &amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000FF"&gt;title1 'title2';&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000FF"&gt;proc tabulate data=xyx contents=' ';&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000FF"&gt;&amp;nbsp;......&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000FF"&gt;run;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000FF"&gt;ods pdf close;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000FF"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 23 Jun 2017 15:50:30 GMT</pubDate>
    <dc:creator>Dips1</dc:creator>
    <dc:date>2017-06-23T15:50:30Z</dc:date>
    <item>
      <title>ODS PDF with option startpage=no/new, generates a BLANK page, how can we avoid blank page?</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-PDF-with-option-startpage-no-new-generates-a-BLANK-page-how/m-p/369963#M18855</link>
      <description>&lt;P&gt;Hi I have been trying to produce two reports with PROC tabulate on two seperate pages of PDF report, using startpage option. However, in the final pdf output, there is a BLANK page appearing on first page. Can you please guide how can we avoid the blank page from appearing on first page of report? Below is the sample code being used:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000FF"&gt;ods noproctitle;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000FF"&gt;ods pdf file = '...path/filename.pdf' startpage=never style=printer pdftoc=1;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000FF"&gt;title1 'title1';&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000FF"&gt;proc tabulate data=xyx contents=' ';&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000FF"&gt;&amp;nbsp;......&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000FF"&gt;run;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000FF"&gt;ods pdf startpage=now;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000FF"&gt;ods proclable = 'ABC'; &amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000FF"&gt;title1 'title2';&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000FF"&gt;proc tabulate data=xyx contents=' ';&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000FF"&gt;&amp;nbsp;......&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000FF"&gt;run;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000FF"&gt;ods pdf close;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000FF"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 23 Jun 2017 15:50:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-PDF-with-option-startpage-no-new-generates-a-BLANK-page-how/m-p/369963#M18855</guid>
      <dc:creator>Dips1</dc:creator>
      <dc:date>2017-06-23T15:50:30Z</dc:date>
    </item>
    <item>
      <title>Re: ODS PDF with option startpage=no/new, generates a BLANK page, how can we avoid blank page?</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-PDF-with-option-startpage-no-new-generates-a-BLANK-page-how/m-p/370197#M18856</link>
      <description>&lt;P&gt;Hi:&lt;/P&gt;
&lt;P&gt;&amp;nbsp; Given the code you've posted, and given that you did not post full code or data, it is hard to replicate what you say you see. When I tried code the way I usually get 2 page output, I do not get a blank page, as you describe. Here are two tests that I ran:&lt;/P&gt;
&lt;P&gt;1: NOT using STARTPAGE, as it does not seem needed for the situation you describe&lt;/P&gt;
&lt;P&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/9818i8A55B709A0138CB2/image-size/original?v=1.0&amp;amp;px=-1" alt="not_use_startpage_get_two_pages.png" title="not_use_startpage_get_two_pages.png" border="0" /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;2: Using STARTPAGE=NO at the beginning, have 2 procs on page 1 and then using STARTPAGE=NOW for page 2:&lt;/P&gt;
&lt;P&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/9819i71474430041C75EC/image-size/original?v=1.0&amp;amp;px=-1" alt="using_startpage.png" title="using_startpage.png" border="0" /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If I use STARTPAGE=NEVER instead of STARTPAGE=NO for the 2nd example, I still get the same results.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You might want to open a track with Tech Support if you can't figure it out. It might come down to your version of SAS and your other settings.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;cynthia&lt;/P&gt;</description>
      <pubDate>Fri, 23 Jun 2017 23:14:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-PDF-with-option-startpage-no-new-generates-a-BLANK-page-how/m-p/370197#M18856</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2017-06-23T23:14:14Z</dc:date>
    </item>
    <item>
      <title>Re: ODS PDF with option startpage=no/new, generates a BLANK page, how can we avoid blank page?</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-PDF-with-option-startpage-no-new-generates-a-BLANK-page-how/m-p/376062#M18951</link>
      <description>&lt;P&gt;Thank you for the detailed reply Cynthia, Actually when I too generated a second report with lesser variables in the proc tabulate, no blank page was generated. However, when my report had a lot of variables (~20) a blank page was showing up in front(as first page) of the pdf report. I am using SAS version 9 on UNIX plateform.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 14 Jul 2017 15:24:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-PDF-with-option-startpage-no-new-generates-a-BLANK-page-how/m-p/376062#M18951</guid>
      <dc:creator>Dips1</dc:creator>
      <dc:date>2017-07-14T15:24:28Z</dc:date>
    </item>
    <item>
      <title>Re: ODS PDF with option startpage=no/new, generates a BLANK page, how can we avoid blank page?</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-PDF-with-option-startpage-no-new-generates-a-BLANK-page-how/m-p/502777#M21873</link>
      <description>&lt;P&gt;Did you ever find a solution to this problem? I am having the same problem with my PDF output.&lt;/P&gt;</description>
      <pubDate>Tue, 09 Oct 2018 16:09:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-PDF-with-option-startpage-no-new-generates-a-BLANK-page-how/m-p/502777#M21873</guid>
      <dc:creator>ChristineKraft</dc:creator>
      <dc:date>2018-10-09T16:09:16Z</dc:date>
    </item>
  </channel>
</rss>

