<?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: HTML Output on individual pages in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/HTML-Output-on-individual-pages/m-p/139667#M11133</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;You're right. My bad. but all that sub-option does is remove the horizontal rule and it only works in some versions of SAS, starting in 9.2, I think. That's not the same as writing to DIFFERENT pages. If you had 2 small tables, then with ODS HTML and the sub-options set to 'no', if you printed from your browser, both small tables would appear on the SAME physical page as printed by the browser/printer interface. That is NOT what the OP said he wanted. The suboption for 'yes" just restores the horizontal rule between the 2 procedure outputs. Sometimes the horizontal rule is interpreted as a page break by the browser, but sometimes it is not, so it would be better NOT to suppress the horizontal rule if he wants HTML output on separate pages. I think that if paging and page numbers are important, then PDF or RTF are better bets.&lt;/P&gt;&lt;P&gt;cynthia&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 28 Jan 2015 23:04:28 GMT</pubDate>
    <dc:creator>Cynthia_sas</dc:creator>
    <dc:date>2015-01-28T23:04:28Z</dc:date>
    <item>
      <title>HTML Output on individual pages</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/HTML-Output-on-individual-pages/m-p/139662#M11128</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I remember long time ago, when I started using SAS there was an option that permitted the output to be written on different pages.&lt;/P&gt;&lt;P&gt;I mean, a procedure will give you several tables and it would help a lot to have them each on a separate page, so I can print them afterwards.&lt;/P&gt;&lt;P&gt;I know there are other ways of doing this, using ODS, but I really like the format I'm getting and I don't need anything complicated. Plus I don't have the time to make it super pretty, so if you have any idea what that option is, I would greatly appreciate your intervention.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EDIT:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm sorry for not being very specific on this subject. I'm trying to print the output of:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc corr data=db5 pearson kendall;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var &amp;amp;var_quant;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have 3 tables: Simple Statistics, Pearson Matrix, Kendall matrix.&lt;/P&gt;&lt;P&gt;I need to print them on paper.&lt;/P&gt;&lt;P&gt;I would love to go in the Results Viewer and just print the results (for I've changed viewer preferences and I really like the format), but I would like to print each table on a different paper sheet.&lt;/P&gt;&lt;P&gt;Can I do that?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Jan 2015 10:32:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/HTML-Output-on-individual-pages/m-p/139662#M11128</guid>
      <dc:creator>loredana_cornea</dc:creator>
      <dc:date>2015-01-27T10:32:27Z</dc:date>
    </item>
    <item>
      <title>Re: HTML Output on individual pages</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/HTML-Output-on-individual-pages/m-p/139663#M11129</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You would need to clarify what you want.&amp;nbsp; HTML does not have any concept of "pages", it is a flat text file with some markup tags which indicate how a browser is to render the output.&amp;nbsp; If you want paged output then you need to look at a destination which handles the concept of "pages", i.e. Word, RTF, PDF.&amp;nbsp; You can retain your output format and style (style should be a template so can be applied to any ods destination, output format, you may need to tweak somewhat).&lt;/P&gt;&lt;P&gt;ods rtf file="abc.rtf";&lt;/P&gt;&lt;P&gt;ods escapechar="^";&lt;/P&gt;&lt;P&gt;title "A title";&lt;/P&gt;&lt;P&gt;footnote "Page ^{firstpage} of ^{lastpage}";&lt;/P&gt;&lt;P&gt;proc report data=somedata;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; columns _all_;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; define...;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;ods rtf close;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Jan 2015 11:22:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/HTML-Output-on-individual-pages/m-p/139663#M11129</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2015-01-27T11:22:06Z</dc:date>
    </item>
    <item>
      <title>Re: HTML Output on individual pages</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/HTML-Output-on-individual-pages/m-p/139664#M11130</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ods html file='' options(page_break='no');&amp;nbsp; ????&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Jan 2015 11:54:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/HTML-Output-on-individual-pages/m-p/139664#M11130</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2015-01-27T11:54:44Z</dc:date>
    </item>
    <item>
      <title>Re: HTML Output on individual pages</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/HTML-Output-on-individual-pages/m-p/139665#M11131</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi:&lt;/P&gt;&lt;P&gt; As RW9 explained, correctly, there is no concept of "pages" in ODS HTML -- so the code in the previous posting from Xia&amp;nbsp; options(page_break='no') is completely irrelevant for ODS HTML and not a valid sub-option.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; By default, every SAS procedure starts on a separate page -- either a logical page (in HTML) or a physical page. A logical page in HTML is indicated by a horizontal rule (a faint line) that you see between 2 procedure outputs. For RTF and PDF destinations, a new logical page is the same as a physical page. So a 1 page PROC PRINT report followed by a 1 page PROC MEANS report would be on page 1 and page 2 respectively. But for HTML, the PROC PRINT would be at the top of the browser window and then you would see a horizontal rule, and then the PROC MEANS would be under the PROC PRINT report. There are no physical pages or page numbers for HTML output.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; There are some procedures that have internal "paging" controls -- like TABULATE and PRINT and REPORT -- but again, how those pages appear will depend on the final destination.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; There is an option called NEWFILE= that allows you to make a separate output file for EACH "starting point". For example: NEWFILE=OUTPUT would create 1 report FILE for every output object created by a procedure. NEWFILE=BYGROUP would create 1 report file for every BY group; NEWFILE=PROC would create a new file for every procedure output (the default behavior). But a physical output file would not be the same as a "page".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; The OP says he/she really likes the format being created&amp;nbsp; but doesn't show code, doesn't tell us the destination he/she wants and doesn't tell us how he/she is getting what they are getting, so without more information, it is hard for anyone to give the&lt;/P&gt;&lt;P&gt;OP any constructive help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cynthia&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Jan 2015 03:11:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/HTML-Output-on-individual-pages/m-p/139665#M11131</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2015-01-28T03:11:15Z</dc:date>
    </item>
    <item>
      <title>Re: HTML Output on individual pages</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/HTML-Output-on-individual-pages/m-p/139666#M11132</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No. I don't think so. Check this :&lt;/P&gt;&lt;P&gt;&lt;A href="http://support.sas.com/kb/8/441.html" style="font-size: 10pt; line-height: 1.5em;" title="http://support.sas.com/kb/8/441.html"&gt;8441 - Suppress page breaks when printing ODS HTML output&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Jan 2015 09:06:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/HTML-Output-on-individual-pages/m-p/139666#M11132</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2015-01-28T09:06:02Z</dc:date>
    </item>
    <item>
      <title>Re: HTML Output on individual pages</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/HTML-Output-on-individual-pages/m-p/139667#M11133</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;You're right. My bad. but all that sub-option does is remove the horizontal rule and it only works in some versions of SAS, starting in 9.2, I think. That's not the same as writing to DIFFERENT pages. If you had 2 small tables, then with ODS HTML and the sub-options set to 'no', if you printed from your browser, both small tables would appear on the SAME physical page as printed by the browser/printer interface. That is NOT what the OP said he wanted. The suboption for 'yes" just restores the horizontal rule between the 2 procedure outputs. Sometimes the horizontal rule is interpreted as a page break by the browser, but sometimes it is not, so it would be better NOT to suppress the horizontal rule if he wants HTML output on separate pages. I think that if paging and page numbers are important, then PDF or RTF are better bets.&lt;/P&gt;&lt;P&gt;cynthia&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Jan 2015 23:04:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/HTML-Output-on-individual-pages/m-p/139667#M11133</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2015-01-28T23:04:28Z</dc:date>
    </item>
  </channel>
</rss>

