<?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 Numbers for ODS PDF when using Proc Gchart in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Page-Numbers-for-ODS-PDF-when-using-Proc-Gchart/m-p/61190#M7304</link>
    <description>Cynthia,&lt;BR /&gt;
Thanks for taking a look at it.  My code is pretty much identical except the device.  I will contact tech support.  Would it be possible to get the page numbers using ods document?  I'm going to need to use that anyway to format my bookmarks.  Thanks again.</description>
    <pubDate>Thu, 13 Nov 2008 13:24:06 GMT</pubDate>
    <dc:creator>deleted_user</dc:creator>
    <dc:date>2008-11-13T13:24:06Z</dc:date>
    <item>
      <title>Page Numbers for ODS PDF when using Proc Gchart</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Page-Numbers-for-ODS-PDF-when-using-Proc-Gchart/m-p/61188#M7302</link>
      <description>Hi all,&lt;BR /&gt;
I'm working on creating a large pdf.  I need page numbers on all pages.  I am able to see page number using the option number on pages which are generated using the style template.  Pages that are generated using Proc Gchart have no page numbers.  I am using device=sasprtc in my Goptions if that matters. Any thoughts or help would be greatly appreciated.</description>
      <pubDate>Wed, 12 Nov 2008 21:26:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Page-Numbers-for-ODS-PDF-when-using-Proc-Gchart/m-p/61188#M7302</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2008-11-12T21:26:04Z</dc:date>
    </item>
    <item>
      <title>Re: Page Numbers for ODS PDF when using Proc Gchart</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Page-Numbers-for-ODS-PDF-when-using-Proc-Gchart/m-p/61189#M7303</link>
      <description>Hi:&lt;BR /&gt;
  You may want to check with Tech Support and see whether this is a known issue and what the workaround might be. However, I can create a PDF file using ODS and SAS 9.1.3 and the output file -does- have page numbers using either the ACTXIMG driver or the JAVAIMG driver, following the model syntax below.&lt;BR /&gt;
&lt;BR /&gt;
cynthia&lt;BR /&gt;
&lt;BR /&gt;
[pre]&lt;BR /&gt;
ods listing close;&lt;BR /&gt;
options nodate number orientation=landscape;&lt;BR /&gt;
  &lt;BR /&gt;
ods pdf file='c:\temp\pg_ax.pdf' ;&lt;BR /&gt;
goptions reset=all border device=actximg;&lt;BR /&gt;
        &lt;BR /&gt;
** SAS report code;&lt;BR /&gt;
** SAS/Graph code;&lt;BR /&gt;
** more report code;&lt;BR /&gt;
** more graph code;&lt;BR /&gt;
 &lt;BR /&gt;
ods pdf close;&lt;BR /&gt;
ods listing;&lt;BR /&gt;
 &lt;BR /&gt;
[/pre]</description>
      <pubDate>Wed, 12 Nov 2008 22:22:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Page-Numbers-for-ODS-PDF-when-using-Proc-Gchart/m-p/61189#M7303</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2008-11-12T22:22:43Z</dc:date>
    </item>
    <item>
      <title>Re: Page Numbers for ODS PDF when using Proc Gchart</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Page-Numbers-for-ODS-PDF-when-using-Proc-Gchart/m-p/61190#M7304</link>
      <description>Cynthia,&lt;BR /&gt;
Thanks for taking a look at it.  My code is pretty much identical except the device.  I will contact tech support.  Would it be possible to get the page numbers using ods document?  I'm going to need to use that anyway to format my bookmarks.  Thanks again.</description>
      <pubDate>Thu, 13 Nov 2008 13:24:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Page-Numbers-for-ODS-PDF-when-using-Proc-Gchart/m-p/61190#M7304</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2008-11-13T13:24:06Z</dc:date>
    </item>
    <item>
      <title>Re: Page Numbers for ODS PDF when using Proc Gchart</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Page-Numbers-for-ODS-PDF-when-using-Proc-Gchart/m-p/61191#M7305</link>
      <description>Hi:&lt;BR /&gt;
  That's another good question for Tech Support (whether you'll get page numbers with ODS DOCUMENT).   You may want to read the ODS DOCUMENT info&lt;BR /&gt;
&lt;A href="http://support.sas.com/rnd/base/ods/odsdocument/ref.html" target="_blank"&gt;http://support.sas.com/rnd/base/ods/odsdocument/ref.html&lt;/A&gt; and&lt;BR /&gt;
&lt;A href="http://support.sas.com/documentation/cdl/en/odsug/59523/HTML/default/a002291458.htm" target="_blank"&gt;http://support.sas.com/documentation/cdl/en/odsug/59523/HTML/default/a002291458.htm&lt;/A&gt;&lt;BR /&gt;
&lt;BR /&gt;
  It may be easier all around for you to use actximg or javaimg drivers, at least, in SAS 9.1 because the 9.1 info says that:&lt;B&gt;&lt;BR /&gt;
 If one of the following GOPTIONS DEVICE values &lt;BR /&gt;
JAVA &lt;BR /&gt;
JAVAIMG &lt;BR /&gt;
ACTIVEX &lt;BR /&gt;
ACTXIMG &lt;BR /&gt;
is in effect when a graph created by a SAS/GRAPH procedure is stored in an ODS document, the graph's data and template will be stored. Instead of containing a reference to an external GRSEG, the persisted output object will be a fully self-describing internal graph that subsequently can be replayed to HTML, RTF, PDF, etc. &lt;/B&gt;&lt;BR /&gt;
&lt;BR /&gt;
Since I did get page numbers with both the javaimg and actximg drivers --  it may be that if you switched to javaimg or actximg with ODS DOCUMENT, that you'd be OK (depending on what version of SAS you're running).&lt;BR /&gt;
&lt;BR /&gt;
I did observe your same behavior in SAS 9.1.3, when I used the SASPRTC driver -- that there were no page numbers in the PDF pages with the graphical output. I don't know whether that behavior is the same in SAS 9.2 or not. And, with the use of the ODS GRAPHICS FRAMEWORK in SAS 9.2, I believe that your graph information is stored in a GRSEG entry in 9.2. That's yet another reason to contact Tech Support because you want to use code and drivers that work for your current level of SAS.&lt;BR /&gt;
&lt;BR /&gt;
Whenever I use ODS HTML, RTF or PDF, I always use ACTXIMG or JAVAIMG drivers to create my graphical output. I find that the graphics look better in SAS 9.1.3 and I have fewer GOPTIONS to worry about since the SAS style template controls fonts and colors which means that my graph colors are compatible with my report colors.&lt;BR /&gt;
&lt;BR /&gt;
Good luck!&lt;BR /&gt;
cynthia</description>
      <pubDate>Thu, 13 Nov 2008 14:13:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Page-Numbers-for-ODS-PDF-when-using-Proc-Gchart/m-p/61191#M7305</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2008-11-13T14:13:54Z</dc:date>
    </item>
  </channel>
</rss>

