<?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: Page X of Y in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Page-X-of-Y/m-p/6857#M2622</link>
    <description>Hi:&lt;BR /&gt;
  In order for the footnote statement to work, you must declare what the ODS ESCAPECHAR value is. ODS ESCAPECHAR is the special character that lets ODS know that you want to do something special (like use the {thispage} and/or {lastpage} Escapechar functions. Something along the lines of:&lt;BR /&gt;
[pre]&lt;BR /&gt;
ods pdf file='wombat.pdf';&lt;BR /&gt;
ods escapechar='^';&lt;BR /&gt;
  &lt;BR /&gt;
footnote1 j=right height=1 "Page ^{thispage} of ^{lastpage}"; &lt;BR /&gt;
.... more code ....&lt;BR /&gt;
ods pdf close;&lt;BR /&gt;
[/pre]&lt;BR /&gt;
&lt;BR /&gt;
Generally, I recommend the use of ~ (tilde) or ^ (caret) or # (sharp/pound sign) for the Escape character, because you are unlikely to have them in a title or footnote text. Or conversely, avoid any punctuation that you might find in an operating system path or title text or urls or email addresses, such as : \ / ; ! @ $ % &amp;amp; * &amp;lt; &amp;gt; (not a comprehensive list of all punctuation that I avoid). Mostly I use ~ or ^ or #.&lt;BR /&gt;
  &lt;BR /&gt;
 cynthia</description>
    <pubDate>Thu, 28 Feb 2008 01:23:26 GMT</pubDate>
    <dc:creator>Cynthia_sas</dc:creator>
    <dc:date>2008-02-28T01:23:26Z</dc:date>
    <item>
      <title>Page X of Y</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Page-X-of-Y/m-p/6853#M2618</link>
      <description>HI &lt;BR /&gt;
can anyone tell me the best way  to get  page x of y while using Proc report with Pdf Output.&lt;BR /&gt;
thanks</description>
      <pubDate>Fri, 08 Feb 2008 07:00:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Page-X-of-Y/m-p/6853#M2618</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2008-02-08T07:00:37Z</dc:date>
    </item>
    <item>
      <title>Re: Page X of Y</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Page-X-of-Y/m-p/6854#M2619</link>
      <description>There are multiple SAS Conference papers on this that you'll find by looking on the SAS Support web site.</description>
      <pubDate>Fri, 08 Feb 2008 11:52:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Page-X-of-Y/m-p/6854#M2619</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2008-02-08T11:52:19Z</dc:date>
    </item>
    <item>
      <title>Re: Page X of Y</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Page-X-of-Y/m-p/6855#M2620</link>
      <description>To be more specific:&lt;BR /&gt;
go to &lt;A href="http://www.lexjansen.com" target="_blank"&gt;www.lexjansen.com&lt;/A&gt; and search: "page x of y" pdf&lt;BR /&gt;
This will give you a lot of SAS proceedings that answer your question.&lt;BR /&gt;
&lt;BR /&gt;
Lex Jansen</description>
      <pubDate>Fri, 08 Feb 2008 15:58:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Page-X-of-Y/m-p/6855#M2620</guid>
      <dc:creator>Lex_SAS</dc:creator>
      <dc:date>2008-02-08T15:58:37Z</dc:date>
    </item>
    <item>
      <title>Re: Page X of Y</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Page-X-of-Y/m-p/6856#M2621</link>
      <description>I think is this that you want:&lt;BR /&gt;
&lt;BR /&gt;
&lt;B&gt;footnote1 j=right height=1 "Page ^{thispage} of ^{lastpage}";&lt;/B&gt;</description>
      <pubDate>Wed, 27 Feb 2008 21:26:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Page-X-of-Y/m-p/6856#M2621</guid>
      <dc:creator>BrunoSilva</dc:creator>
      <dc:date>2008-02-27T21:26:38Z</dc:date>
    </item>
    <item>
      <title>Re: Page X of Y</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Page-X-of-Y/m-p/6857#M2622</link>
      <description>Hi:&lt;BR /&gt;
  In order for the footnote statement to work, you must declare what the ODS ESCAPECHAR value is. ODS ESCAPECHAR is the special character that lets ODS know that you want to do something special (like use the {thispage} and/or {lastpage} Escapechar functions. Something along the lines of:&lt;BR /&gt;
[pre]&lt;BR /&gt;
ods pdf file='wombat.pdf';&lt;BR /&gt;
ods escapechar='^';&lt;BR /&gt;
  &lt;BR /&gt;
footnote1 j=right height=1 "Page ^{thispage} of ^{lastpage}"; &lt;BR /&gt;
.... more code ....&lt;BR /&gt;
ods pdf close;&lt;BR /&gt;
[/pre]&lt;BR /&gt;
&lt;BR /&gt;
Generally, I recommend the use of ~ (tilde) or ^ (caret) or # (sharp/pound sign) for the Escape character, because you are unlikely to have them in a title or footnote text. Or conversely, avoid any punctuation that you might find in an operating system path or title text or urls or email addresses, such as : \ / ; ! @ $ % &amp;amp; * &amp;lt; &amp;gt; (not a comprehensive list of all punctuation that I avoid). Mostly I use ~ or ^ or #.&lt;BR /&gt;
  &lt;BR /&gt;
 cynthia</description>
      <pubDate>Thu, 28 Feb 2008 01:23:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Page-X-of-Y/m-p/6857#M2622</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2008-02-28T01:23:26Z</dc:date>
    </item>
  </channel>
</rss>

