<?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 SAS RTF blank page in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/SAS-RTF-blank-page/m-p/280003#M56520</link>
    <description>&lt;P&gt;HI,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there&amp;nbsp;a way to insert a blank page in my report? I tried using the pagebreaks but does not seem to work. Also, is there a way I can customize page numbers? eg. I want the page number as Page1-Comments.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
    <pubDate>Fri, 24 Jun 2016 14:37:39 GMT</pubDate>
    <dc:creator>analyst_work</dc:creator>
    <dc:date>2016-06-24T14:37:39Z</dc:date>
    <item>
      <title>SAS RTF blank page</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-RTF-blank-page/m-p/280003#M56520</link>
      <description>&lt;P&gt;HI,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there&amp;nbsp;a way to insert a blank page in my report? I tried using the pagebreaks but does not seem to work. Also, is there a way I can customize page numbers? eg. I want the page number as Page1-Comments.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Fri, 24 Jun 2016 14:37:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-RTF-blank-page/m-p/280003#M56520</guid>
      <dc:creator>analyst_work</dc:creator>
      <dc:date>2016-06-24T14:37:39Z</dc:date>
    </item>
    <item>
      <title>Re: SAS RTF blank page</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-RTF-blank-page/m-p/280012#M56522</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can use the option STARTPAGE= with your ODS RTF statement to control when new pages are created.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;There is a way to create empty pages using the Report Writing Interface.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;To add text to the page numbering, you need to define your own style.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;See code below for an example:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ods path
  (prepend) work.mytemplates (update)
;

proc template;
  define style myrtf;
    parent=styles.rtf;
    class PageNo / 
      pretext="Page "
      posttext=" Comments"
    ;
  end;
run;

ods rtf file="c:\temp\sample.rtf" startpage=never style=myrtf ;
title "page1";

proc print data=sashelp.class;
run;

title;
ods rtf startpage=now;

* 
* tell SAS we create a table, needed so that page gets created
* will generate a warning
*;
data _null_;
  declare odsout xods();
  xods.table_start();
  xods.table_end();
run;



ods rtf startpage=now;
title "page3";

proc sgplot data=sashelp.class;
  vbar age;
run;

title;
ods rtf close;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Bruno&lt;/P&gt;</description>
      <pubDate>Fri, 24 Jun 2016 15:34:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-RTF-blank-page/m-p/280012#M56522</guid>
      <dc:creator>BrunoMueller</dc:creator>
      <dc:date>2016-06-24T15:34:26Z</dc:date>
    </item>
  </channel>
</rss>

