<?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: Odsout obj() : page number in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Odsout-obj-page-number/m-p/805839#M25676</link>
    <description>&lt;P&gt;What is your destination ? RTF or PDF ? Post all your code.&lt;/P&gt;
&lt;P&gt;If it was RTF , no problem.&amp;nbsp; NOTE: don't use BODYTITLE&lt;/P&gt;
&lt;PRE&gt;ods escapechar='^';

footnote J=Right font =Arial  HEIGHT=8pt 'xxx^{thispage}/^{lastpage}yyyy';
footnote2 J=l font =Arial  HEIGHT=8pt 'xxx^{pageof}yyyy';

ods rtf file='c:\temp\temp.rtf'  ;
proc print data=sashelp.heart(obs=100);run;

ods rtf close;&lt;/PRE&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Ksharp_0-1649074296019.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/70097iE3CF6FA2DC4782C9/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Ksharp_0-1649074296019.png" alt="Ksharp_0-1649074296019.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If it was PDF ,still no problem.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Ksharp_1-1649074374015.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/70098i5928FB06D0FB9ED1/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Ksharp_1-1649074374015.png" alt="Ksharp_1-1649074374015.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 04 Apr 2022 12:13:08 GMT</pubDate>
    <dc:creator>Ksharp</dc:creator>
    <dc:date>2022-04-04T12:13:08Z</dc:date>
    <item>
      <title>Odsout obj() : page number</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Odsout-obj-page-number/m-p/805715#M25674</link>
      <description>&lt;P&gt;Hello Experts,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;My code for the page number is&amp;nbsp; :&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;footnote6 J=Right font =Arial  HEIGHT=8pt '^{thispage}/^{lastpage}';&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Bu the result is :&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SASdevAnneMarie_0-1648996688685.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/70073i577C7ADA62D8FECB/image-size/medium?v=v2&amp;amp;px=400" role="button" title="SASdevAnneMarie_0-1648996688685.png" alt="SASdevAnneMarie_0-1648996688685.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Do you know, please, how to improve my code ?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you for your help !&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 03 Apr 2022 14:38:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Odsout-obj-page-number/m-p/805715#M25674</guid>
      <dc:creator>SASdevAnneMarie</dc:creator>
      <dc:date>2022-04-03T14:38:53Z</dc:date>
    </item>
    <item>
      <title>Re: Odsout obj() : page number</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Odsout-obj-page-number/m-p/805766#M25675</link>
      <description>&lt;P&gt;Where is your Escapechar defined?&lt;/P&gt;
&lt;P&gt;Which ODS destination are you sending the results to? The Page info only applies to a few destinations.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The square boxes typically mean that there is a character in the output that does not have a corresponding one in the Font used.&lt;/P&gt;</description>
      <pubDate>Mon, 04 Apr 2022 00:46:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Odsout-obj-page-number/m-p/805766#M25675</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2022-04-04T00:46:20Z</dc:date>
    </item>
    <item>
      <title>Re: Odsout obj() : page number</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Odsout-obj-page-number/m-p/805839#M25676</link>
      <description>&lt;P&gt;What is your destination ? RTF or PDF ? Post all your code.&lt;/P&gt;
&lt;P&gt;If it was RTF , no problem.&amp;nbsp; NOTE: don't use BODYTITLE&lt;/P&gt;
&lt;PRE&gt;ods escapechar='^';

footnote J=Right font =Arial  HEIGHT=8pt 'xxx^{thispage}/^{lastpage}yyyy';
footnote2 J=l font =Arial  HEIGHT=8pt 'xxx^{pageof}yyyy';

ods rtf file='c:\temp\temp.rtf'  ;
proc print data=sashelp.heart(obs=100);run;

ods rtf close;&lt;/PRE&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Ksharp_0-1649074296019.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/70097iE3CF6FA2DC4782C9/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Ksharp_0-1649074296019.png" alt="Ksharp_0-1649074296019.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If it was PDF ,still no problem.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Ksharp_1-1649074374015.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/70098i5928FB06D0FB9ED1/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Ksharp_1-1649074374015.png" alt="Ksharp_1-1649074374015.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 04 Apr 2022 12:13:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Odsout-obj-page-number/m-p/805839#M25676</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2022-04-04T12:13:08Z</dc:date>
    </item>
    <item>
      <title>Re: Odsout obj() : page number</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Odsout-obj-page-number/m-p/805883#M25681</link>
      <description>My destination is pdf&lt;BR /&gt;	ODS PDF FILE = "&amp;amp;Publipostage.\XXX_&amp;amp;Code..pdf" dpi=1800 startpage=no;&lt;BR /&gt;	ODS ESCAPECHAR = "^";</description>
      <pubDate>Mon, 04 Apr 2022 16:26:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Odsout-obj-page-number/m-p/805883#M25681</guid>
      <dc:creator>SASdevAnneMarie</dc:creator>
      <dc:date>2022-04-04T16:26:10Z</dc:date>
    </item>
    <item>
      <title>Re: Odsout obj() : page number</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Odsout-obj-page-number/m-p/805884#M25682</link>
      <description>Thank you, my pdf destination is :&lt;BR /&gt;	ODS PDF FILE = "&amp;amp;Publipostage.\XXX_&amp;amp;Code..pdf" dpi=1800 startpage=no;&lt;BR /&gt;	ODS ESCAPECHAR = "^";</description>
      <pubDate>Mon, 04 Apr 2022 16:26:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Odsout-obj-page-number/m-p/805884#M25682</guid>
      <dc:creator>SASdevAnneMarie</dc:creator>
      <dc:date>2022-04-04T16:26:37Z</dc:date>
    </item>
    <item>
      <title>Re: Odsout obj() : page number</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Odsout-obj-page-number/m-p/805959#M25683</link>
      <description>Hi:&lt;BR /&gt;  This is a long shot, but are you by any chance creating graphics in the same job where you are using the ODS ESCAPECHAR for page numbering? &lt;BR /&gt;&lt;BR /&gt;  This Tech Support note mentions the garbled text: &lt;A href="https://support.sas.com/kb/56/041.html" target="_blank"&gt;https://support.sas.com/kb/56/041.html&lt;/A&gt; and this might also apply: &lt;A href="https://support.sas.com/kb/33/986.html" target="_blank"&gt;https://support.sas.com/kb/33/986.html&lt;/A&gt; .&lt;BR /&gt;&lt;BR /&gt;  Hope this helps,&lt;BR /&gt;Cynthia</description>
      <pubDate>Mon, 04 Apr 2022 22:44:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Odsout-obj-page-number/m-p/805959#M25683</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2022-04-04T22:44:38Z</dc:date>
    </item>
    <item>
      <title>Re: Odsout obj() : page number</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Odsout-obj-page-number/m-p/805984#M25684</link>
      <description>Thank you, Cynthia,&lt;BR /&gt;&lt;BR /&gt;I added options printerpath=pdf, I had the correct page number, but my printed logo beacame black. &lt;BR /&gt;Do you know please, how to avoid this ?&lt;BR /&gt;&lt;BR /&gt;Thank you !</description>
      <pubDate>Tue, 05 Apr 2022 06:41:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Odsout-obj-page-number/m-p/805984#M25684</guid>
      <dc:creator>SASdevAnneMarie</dc:creator>
      <dc:date>2022-04-05T06:41:23Z</dc:date>
    </item>
    <item>
      <title>Re: Odsout obj() : page number</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Odsout-obj-page-number/m-p/806370#M25686</link>
      <description>Hi:&lt;BR /&gt;  If the fix for printerpath didn't fix the issue, then Tech Support is probably your best resource to find out whether there is a workaround available. The interaction with ODS ESCAPECHAR, PDF and images has been around for a while and honestly, because of the issue, I have just always avoided using them together. So I don't know of a way around it.&lt;BR /&gt;Cynthia</description>
      <pubDate>Wed, 06 Apr 2022 18:05:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Odsout-obj-page-number/m-p/806370#M25686</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2022-04-06T18:05:45Z</dc:date>
    </item>
  </channel>
</rss>

