<?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 numbering not working properly in ods pdf in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Page-numbering-not-working-properly-in-ods-pdf/m-p/298496#M16916</link>
    <description>&lt;PRE&gt;
Try ods text=.............


ods text=' ~S={just=right}  xxxxxxxxxxx ';

&lt;/PRE&gt;</description>
    <pubDate>Thu, 15 Sep 2016 02:50:56 GMT</pubDate>
    <dc:creator>Ksharp</dc:creator>
    <dc:date>2016-09-15T02:50:56Z</dc:date>
    <item>
      <title>Page numbering not working properly in ods pdf</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Page-numbering-not-working-properly-in-ods-pdf/m-p/298371#M16910</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to get page x of y in pdf output. in case of footnote or title 'Page ~{thispage} of ~{lastpage}' is working properly. But this title or footnote is created as page title or footnote. But i want this as table title as right justified. So I used following command.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ods pdf style=pearl file='/folders/myfolders/Report2.pdf';&lt;BR /&gt;ods escapechar="~";&lt;BR /&gt;proc report data=report2mod1 style=[frame=void rules=none]&lt;BR /&gt;style(header)=[borderbottomcolor=black];&lt;BR /&gt;options nodate nonumber;&lt;BR /&gt;column maincat cat subcat val;&lt;BR /&gt;define maincat / display '' group order order=data;&lt;BR /&gt;define cat / display group noprint order order=data;&lt;BR /&gt;define subcat / display '' group order order=data style(column)=[cellwidth=2in];&lt;BR /&gt;define val / display 'VAL' style=[just=d];&lt;BR /&gt;compute after cat;&lt;BR /&gt;line '';&lt;BR /&gt;endcomp;&lt;BR /&gt;compute after / style=[just=l];&lt;BR /&gt;line 'This is test report';&lt;BR /&gt;endcomp;&lt;BR /&gt;compute before _PAGE_/ style=[just=l];&lt;BR /&gt;line @1'protocol' @80'Page ~{thispage} of ~{lastpage}';&lt;BR /&gt;line @1'population' @72'final analysis' ;&lt;BR /&gt;endcomp;&lt;BR /&gt;run;&lt;BR /&gt;ods pdf close;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But in the final pdf it is showing as in title protocolpageof_. if this not the right way plz tell me how to do this. I am using SAS university edition.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 14 Sep 2016 16:44:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Page-numbering-not-working-properly-in-ods-pdf/m-p/298371#M16910</guid>
      <dc:creator>helenndp</dc:creator>
      <dc:date>2016-09-14T16:44:34Z</dc:date>
    </item>
    <item>
      <title>Re: Page numbering not working properly in ods pdf</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Page-numbering-not-working-properly-in-ods-pdf/m-p/298493#M16915</link>
      <description>&lt;P&gt;I do not believe that {thispage} and {lastpage} will work in a LINE statement. They are intended for use with a SAS title or footnote. Your text in the LINE statement is NOT a title, even though you have COMPUTE BEFORE _PAGE_ -- if you note, the text will be inside the table proper and will not sit "outside" the table, as a title or footnote does.&lt;BR /&gt;&lt;BR /&gt;Here's an example of using the Page X of Y in the title instead of COMPUTE block.&lt;BR /&gt;&lt;BR /&gt;cynthia&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/4928i3BAD7BDEDF659D42/image-size/original?v=v2&amp;amp;px=-1" alt="title_compare_compute_before.png" title="title_compare_compute_before.png" border="0" /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 15 Sep 2016 02:42:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Page-numbering-not-working-properly-in-ods-pdf/m-p/298493#M16915</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2016-09-15T02:42:11Z</dc:date>
    </item>
    <item>
      <title>Re: Page numbering not working properly in ods pdf</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Page-numbering-not-working-properly-in-ods-pdf/m-p/298496#M16916</link>
      <description>&lt;PRE&gt;
Try ods text=.............


ods text=' ~S={just=right}  xxxxxxxxxxx ';

&lt;/PRE&gt;</description>
      <pubDate>Thu, 15 Sep 2016 02:50:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Page-numbering-not-working-properly-in-ods-pdf/m-p/298496#M16916</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2016-09-15T02:50:56Z</dc:date>
    </item>
    <item>
      <title>Re: Page numbering not working properly in ods pdf</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Page-numbering-not-working-properly-in-ods-pdf/m-p/298611#M16919</link>
      <description>I do not believe page numbers will work in ODS TEXT either.&lt;BR /&gt; &lt;BR /&gt;cynthia</description>
      <pubDate>Thu, 15 Sep 2016 12:02:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Page-numbering-not-working-properly-in-ods-pdf/m-p/298611#M16919</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2016-09-15T12:02:17Z</dc:date>
    </item>
    <item>
      <title>Re: Page numbering not working properly in ods pdf</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Page-numbering-not-working-properly-in-ods-pdf/m-p/298760#M16925</link>
      <description>&lt;P&gt;Thanks for the reply.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But if you see, title with left justification always starts from page left margin. But if I want it to start from table left margin then what should I do? I tried to adjust page margin but it messed up the table.&lt;/P&gt;&lt;P&gt;Another question is if I use right justification for page no in title then similarly it starts from right page margin of the paper, I want it on table right margin and also there is another right justified title 'final analysis'. Though it starts from right i want it to start just under page x of y where 'p' of the page starts. Please help me with it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Helenndp&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 15 Sep 2016 19:16:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Page-numbering-not-working-properly-in-ods-pdf/m-p/298760#M16925</guid>
      <dc:creator>helenndp</dc:creator>
      <dc:date>2016-09-15T19:16:22Z</dc:date>
    </item>
  </channel>
</rss>

