<?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 ODS StartPage Option in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-StartPage-Option/m-p/62945#M7410</link>
    <description>Using the following "code":&lt;BR /&gt;
&lt;BR /&gt;
filename Cypress pipe 'lp -drdmcqre';                                                                                             &lt;BR /&gt;
  ods printer file=Cypress &lt;BR /&gt;
  startpage=no;&lt;BR /&gt;
&lt;BR /&gt;
proc tabulate ...&lt;BR /&gt;
run;&lt;BR /&gt;
proc tabulate ...&lt;BR /&gt;
run;&lt;BR /&gt;
&lt;BR /&gt;
ods printer startpage=now;&lt;BR /&gt;
proc tabulate ...&lt;BR /&gt;
run;&lt;BR /&gt;
&lt;BR /&gt;
ods printer startpage = no;&lt;BR /&gt;
&lt;BR /&gt;
proc tabulate ...;&lt;BR /&gt;
run;&lt;BR /&gt;
&lt;BR /&gt;
ods printer close;&lt;BR /&gt;
&lt;BR /&gt;
There's plenty of space for the last 2 tabulates to fit on one page but it seems that the last ods printer startpage=no is not being honoured.  Suggestions welcome.&lt;BR /&gt;
&lt;BR /&gt;
Thanks,&lt;BR /&gt;
Bill</description>
    <pubDate>Mon, 24 Nov 2008 20:03:59 GMT</pubDate>
    <dc:creator>Bill</dc:creator>
    <dc:date>2008-11-24T20:03:59Z</dc:date>
    <item>
      <title>ODS StartPage Option</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-StartPage-Option/m-p/62945#M7410</link>
      <description>Using the following "code":&lt;BR /&gt;
&lt;BR /&gt;
filename Cypress pipe 'lp -drdmcqre';                                                                                             &lt;BR /&gt;
  ods printer file=Cypress &lt;BR /&gt;
  startpage=no;&lt;BR /&gt;
&lt;BR /&gt;
proc tabulate ...&lt;BR /&gt;
run;&lt;BR /&gt;
proc tabulate ...&lt;BR /&gt;
run;&lt;BR /&gt;
&lt;BR /&gt;
ods printer startpage=now;&lt;BR /&gt;
proc tabulate ...&lt;BR /&gt;
run;&lt;BR /&gt;
&lt;BR /&gt;
ods printer startpage = no;&lt;BR /&gt;
&lt;BR /&gt;
proc tabulate ...;&lt;BR /&gt;
run;&lt;BR /&gt;
&lt;BR /&gt;
ods printer close;&lt;BR /&gt;
&lt;BR /&gt;
There's plenty of space for the last 2 tabulates to fit on one page but it seems that the last ods printer startpage=no is not being honoured.  Suggestions welcome.&lt;BR /&gt;
&lt;BR /&gt;
Thanks,&lt;BR /&gt;
Bill</description>
      <pubDate>Mon, 24 Nov 2008 20:03:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-StartPage-Option/m-p/62945#M7410</guid>
      <dc:creator>Bill</dc:creator>
      <dc:date>2008-11-24T20:03:59Z</dc:date>
    </item>
    <item>
      <title>Re: ODS StartPage Option</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-StartPage-Option/m-p/62946#M7411</link>
      <description>Hi:&lt;BR /&gt;
  When I run the code below in SAS 9.1.3 on Windows to create an ODS PDF file, I get (the expected) 2 pages of output with 2 Tabulates on each page. I wonder whether the PIPE command to a printer file has some other behavior with ODS and STARTPAGE. Possibly this Tech Support note is relevant to your situation:&lt;BR /&gt;
&lt;A href="http://support.sas.com/kb/11/535.html" target="_blank"&gt;http://support.sas.com/kb/11/535.html&lt;/A&gt;&lt;BR /&gt;
&lt;BR /&gt;
You might wish to contact Tech Support directly for more help on this issue.&lt;BR /&gt;
  &lt;BR /&gt;
cynthia&lt;BR /&gt;
  &lt;BR /&gt;
[pre]&lt;BR /&gt;
options orientation=portrait nodate number;  &lt;BR /&gt;
                                         &lt;BR /&gt;
ods pdf file='c:\temp\test_sp.pdf' &lt;BR /&gt;
    startpage=no;&lt;BR /&gt;
               &lt;BR /&gt;
proc tabulate data=sashelp.shoes;&lt;BR /&gt;
  title '1) Region Min Mean Max';&lt;BR /&gt;
  class region;&lt;BR /&gt;
  var sales;&lt;BR /&gt;
  table region all,&lt;BR /&gt;
        sales * (min mean max);&lt;BR /&gt;
run;&lt;BR /&gt;
                    &lt;BR /&gt;
ods pdf text='2) Product Min Mean Max';&lt;BR /&gt;
                       &lt;BR /&gt;
proc tabulate data=sashelp.shoes;&lt;BR /&gt;
  title '2) Product Min Mean Max';&lt;BR /&gt;
  class product;&lt;BR /&gt;
  var sales;&lt;BR /&gt;
  table product all,&lt;BR /&gt;
        sales * (min mean max);&lt;BR /&gt;
run;&lt;BR /&gt;
                         &lt;BR /&gt;
ods pdf startpage=now;&lt;BR /&gt;
             &lt;BR /&gt;
proc tabulate data=sashelp.shoes;&lt;BR /&gt;
  title '3) Region sum PCTSUM';&lt;BR /&gt;
  class region;&lt;BR /&gt;
  var sales;&lt;BR /&gt;
  table region all,&lt;BR /&gt;
        sales * (sum pctsum);&lt;BR /&gt;
run;&lt;BR /&gt;
               &lt;BR /&gt;
ods pdf startpage=no;&lt;BR /&gt;
ods pdf text= '4) Product sum PCTSUM';&lt;BR /&gt;
             &lt;BR /&gt;
proc tabulate data=sashelp.shoes;&lt;BR /&gt;
  title '4) Product sum PCTSUM';&lt;BR /&gt;
  class product;&lt;BR /&gt;
  var sales;&lt;BR /&gt;
  table product all,&lt;BR /&gt;
        sales * (sum pctsum);&lt;BR /&gt;
run;&lt;BR /&gt;
ods pdf close;&lt;BR /&gt;
[/pre]</description>
      <pubDate>Mon, 24 Nov 2008 21:39:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-StartPage-Option/m-p/62946#M7411</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2008-11-24T21:39:58Z</dc:date>
    </item>
  </channel>
</rss>

