<?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: automatic page number with ODS PDF in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/automatic-page-number-with-ODS-PDF/m-p/961368#M374794</link>
    <description>&lt;P&gt;I tested your code, and got no problem.&lt;/P&gt;
&lt;P&gt;Maybe you could try other encoding SAS like unicode sas with utf-8 encoding.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;options leftmargin=0.5in rightmargin=0.5in orientation=landscape nodate nobyline nonumber;
ods escapechar='^';
ods pdf file='c:\temp\x.pdf';
title j=c " " j=r "Page ^{thispage} of ^{lastpage}";
proc print data=sashelp.heart(obs=50) noobs;run;
ods pdf close;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Ksharp_0-1741571235816.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/105301iD6799A6CE2AE3F86/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Ksharp_0-1741571235816.png" alt="Ksharp_0-1741571235816.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 10 Mar 2025 01:47:36 GMT</pubDate>
    <dc:creator>Ksharp</dc:creator>
    <dc:date>2025-03-10T01:47:36Z</dc:date>
    <item>
      <title>automatic page number with ODS PDF</title>
      <link>https://communities.sas.com/t5/SAS-Programming/automatic-page-number-with-ODS-PDF/m-p/961361#M374793</link>
      <description>&lt;P&gt;Dear all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would like to do the automatic page numbering with ODS PDF. Here is the code. And I did not get the right format. Please see the attached picture. Could anyone help? Thank you.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;options leftmargin=0.5in rightmargin=0.5in orientation=landscape nodate nobyline; *nonumber;;&lt;BR /&gt;ods escapechar='^';&lt;BR /&gt;title j=c " " j=r "Page ^{thispage} of ^{lastpage}";&lt;BR /&gt;options pageno=1;&lt;/PRE&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="lcdelta_0-1741560001780.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/105299iC102B41392E12E56/image-size/medium?v=v2&amp;amp;px=400" role="button" title="lcdelta_0-1741560001780.png" alt="lcdelta_0-1741560001780.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 09 Mar 2025 22:42:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/automatic-page-number-with-ODS-PDF/m-p/961361#M374793</guid>
      <dc:creator>lcdelta</dc:creator>
      <dc:date>2025-03-09T22:42:06Z</dc:date>
    </item>
    <item>
      <title>Re: automatic page number with ODS PDF</title>
      <link>https://communities.sas.com/t5/SAS-Programming/automatic-page-number-with-ODS-PDF/m-p/961368#M374794</link>
      <description>&lt;P&gt;I tested your code, and got no problem.&lt;/P&gt;
&lt;P&gt;Maybe you could try other encoding SAS like unicode sas with utf-8 encoding.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;options leftmargin=0.5in rightmargin=0.5in orientation=landscape nodate nobyline nonumber;
ods escapechar='^';
ods pdf file='c:\temp\x.pdf';
title j=c " " j=r "Page ^{thispage} of ^{lastpage}";
proc print data=sashelp.heart(obs=50) noobs;run;
ods pdf close;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Ksharp_0-1741571235816.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/105301iD6799A6CE2AE3F86/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Ksharp_0-1741571235816.png" alt="Ksharp_0-1741571235816.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 10 Mar 2025 01:47:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/automatic-page-number-with-ODS-PDF/m-p/961368#M374794</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2025-03-10T01:47:36Z</dc:date>
    </item>
  </channel>
</rss>

