<?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: ODS PDF   &amp; page number restart in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-PDF-page-number-restart/m-p/4069#M1702</link>
    <description>Well it's not THAT horrible:&lt;BR /&gt;
[pre]&lt;BR /&gt;
options nodate number pageno=1;&lt;BR /&gt;
ods pdf file='c:\temp\pageno.pdf';&lt;BR /&gt;
  &lt;BR /&gt;
  proc print data=sashelp.shoes(obs=100);&lt;BR /&gt;
    title 'shoes';&lt;BR /&gt;
  run;&lt;BR /&gt;
 &lt;BR /&gt;
options pageno = 10;&lt;BR /&gt;
  proc print data=sashelp.class;&lt;BR /&gt;
    title 'class';&lt;BR /&gt;
  run;&lt;BR /&gt;
  &lt;BR /&gt;
options pageno=1;&lt;BR /&gt;
  proc print data=sashelp.prdsale(obs=25);&lt;BR /&gt;
    title 'prdsale';&lt;BR /&gt;
  run;&lt;BR /&gt;
ods pdf close;&lt;BR /&gt;
[/pre]&lt;BR /&gt;
 &lt;BR /&gt;
PAGENO is a system option that applies to both LISTING and PRINTER family destinations. So if there WAS some option that worked just for PDF, there would still have to be an option that worked for LISTING too. So why not make PDF use the PAGENO option that was already there?&lt;BR /&gt;
 &lt;BR /&gt;
cynthia</description>
    <pubDate>Mon, 06 Aug 2007 18:21:32 GMT</pubDate>
    <dc:creator>Cynthia_sas</dc:creator>
    <dc:date>2007-08-06T18:21:32Z</dc:date>
    <item>
      <title>ODS PDF   &amp; page number restart</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-PDF-page-number-restart/m-p/4068#M1701</link>
      <description>I've been searching through the threads looking for an option to the ODS PDF statement to restart page number for each proc print.  Does that exist?&lt;BR /&gt;
Or, is an OPTIONS PAGENO=1;  required for each proc print ??  Ugh!&lt;BR /&gt;
&lt;BR /&gt;
ods pdf file=pdffile  notoc     pgnrestart=yes??? ;&lt;BR /&gt;
  proc  print ....   &lt;BR /&gt;
&lt;BR /&gt;
  proc print ....&lt;BR /&gt;
&lt;BR /&gt;
ods pdf close;</description>
      <pubDate>Mon, 06 Aug 2007 17:23:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-PDF-page-number-restart/m-p/4068#M1701</guid>
      <dc:creator>Morse_Bill</dc:creator>
      <dc:date>2007-08-06T17:23:34Z</dc:date>
    </item>
    <item>
      <title>Re: ODS PDF   &amp; page number restart</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-PDF-page-number-restart/m-p/4069#M1702</link>
      <description>Well it's not THAT horrible:&lt;BR /&gt;
[pre]&lt;BR /&gt;
options nodate number pageno=1;&lt;BR /&gt;
ods pdf file='c:\temp\pageno.pdf';&lt;BR /&gt;
  &lt;BR /&gt;
  proc print data=sashelp.shoes(obs=100);&lt;BR /&gt;
    title 'shoes';&lt;BR /&gt;
  run;&lt;BR /&gt;
 &lt;BR /&gt;
options pageno = 10;&lt;BR /&gt;
  proc print data=sashelp.class;&lt;BR /&gt;
    title 'class';&lt;BR /&gt;
  run;&lt;BR /&gt;
  &lt;BR /&gt;
options pageno=1;&lt;BR /&gt;
  proc print data=sashelp.prdsale(obs=25);&lt;BR /&gt;
    title 'prdsale';&lt;BR /&gt;
  run;&lt;BR /&gt;
ods pdf close;&lt;BR /&gt;
[/pre]&lt;BR /&gt;
 &lt;BR /&gt;
PAGENO is a system option that applies to both LISTING and PRINTER family destinations. So if there WAS some option that worked just for PDF, there would still have to be an option that worked for LISTING too. So why not make PDF use the PAGENO option that was already there?&lt;BR /&gt;
 &lt;BR /&gt;
cynthia</description>
      <pubDate>Mon, 06 Aug 2007 18:21:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-PDF-page-number-restart/m-p/4069#M1702</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2007-08-06T18:21:32Z</dc:date>
    </item>
  </channel>
</rss>

