<?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 Proc Tabulate and ods pdf.: Table Columns Generate on Separate Pages in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/Proc-Tabulate-and-ods-pdf-Table-Columns-Generate-on-Separate/m-p/98212#M3660</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Hi there--&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I run the proc tabulate tables below in pdf format each column in the tabulate table generates on a different page on a separate page. The html version seems to generate correctly.&amp;nbsp;&amp;nbsp;&amp;nbsp; I’ve can’t see what the ods pdf issue is. Below is the program and I’ve attached the pdf output. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ods listing;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;options leftmargin="1 in" topmargin="1 in" &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; rightmargin="1 in" bottommargin="1 in" &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; nodate nonumber orientation=portrait;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ods pdf file='Z:\SAS\SASCODE\test.pdf';&lt;/P&gt;&lt;P&gt;ods html file='Z:\SAS\SASCODE\test.html'; &lt;/P&gt;&lt;P&gt;ods escapechar='^';&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;options nodate nonumber pageno=1;&lt;/P&gt;&lt;P&gt;ods pdf startpage=no; run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc tabulate data=med.All_Med_QsF&lt;/P&gt;&lt;P&gt;(where=(question in('Q4','Q5B')))&lt;/P&gt;&lt;P&gt;style=[background=white foreground=black&amp;nbsp; font_face='Arial Narrow' font_size=10.5pt just=c]; &lt;/P&gt;&lt;P&gt;class Question REVIEW_S &lt;/P&gt;&lt;P&gt;/ style={font_face='Arial Narrow' font_weight=bold font_size=11pt cellheight=50 }; &lt;/P&gt;&lt;P&gt;class Responce1 / order=formatted&lt;/P&gt;&lt;P&gt;style={font_face='Arial Narrow' font_weight=bold font_size=11pt}; &lt;/P&gt;&lt;P&gt;classlev question &lt;/P&gt;&lt;P&gt;/style=[font_face='Arial Narrow' font_size=11pt]; &lt;/P&gt;&lt;P&gt;classlev&amp;nbsp; REVIEW_S &lt;/P&gt;&lt;P&gt;/style={font_face='Arial Narrow' font_size=10pt cellwidth=.6in cellheight=.4in just=l}; &lt;/P&gt;&lt;P&gt;classlev&lt;/P&gt;&lt;P&gt;Responce1 &lt;/P&gt;&lt;P&gt;/style={font_face='Arial Narrow' font_size=11pt&amp;nbsp; }; &lt;/P&gt;&lt;P&gt;table Question=' ', &lt;/P&gt;&lt;P&gt;REVIEW_S&amp;nbsp; =' ' &lt;/P&gt;&lt;P&gt;all='Overall Agency Totals', &lt;/P&gt;&lt;P&gt;Responce1=' '*(n='Count'*f=best8. pctn='%'*f=p.) &lt;/P&gt;&lt;P&gt;n='Count Total' pctn='% Total' *f=p.&lt;/P&gt;&lt;P&gt;/style={font_face='Arial Narrow' font_size=11pt cellwidth=.6in } &lt;/P&gt;&lt;P&gt;row=float&amp;nbsp; &lt;/P&gt;&lt;P&gt;box={label='Count^{newline 1}Overall^_%' &lt;/P&gt;&lt;P&gt;style={font_face='Arial Narrow' font_size=10pt font_weight=bold cellwidth=.6in}}; &lt;/P&gt;&lt;P&gt;format question $medQs.; &lt;/P&gt;&lt;P&gt;format responce1 medresponse.; &lt;/P&gt;&lt;P&gt;keyword n pctn&amp;nbsp; / &lt;/P&gt;&lt;P&gt;style=[font_weight=bold foreground=black&amp;nbsp; font_face='Arial Narrow' font_size=10pt just=c]; &lt;/P&gt;&lt;P&gt;keyword all/ style=[font_weight=bold foreground=black&amp;nbsp; font_face='Arial Narrow' font_size=10pt just=l]; &lt;/P&gt;&lt;P&gt;run; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ods _all_ close;&lt;/P&gt;&lt;P&gt;ods listing;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 29 Apr 2012 17:51:51 GMT</pubDate>
    <dc:creator>Mgarret</dc:creator>
    <dc:date>2012-04-29T17:51:51Z</dc:date>
    <item>
      <title>Proc Tabulate and ods pdf.: Table Columns Generate on Separate Pages</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Proc-Tabulate-and-ods-pdf-Table-Columns-Generate-on-Separate/m-p/98212#M3660</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Hi there--&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I run the proc tabulate tables below in pdf format each column in the tabulate table generates on a different page on a separate page. The html version seems to generate correctly.&amp;nbsp;&amp;nbsp;&amp;nbsp; I’ve can’t see what the ods pdf issue is. Below is the program and I’ve attached the pdf output. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ods listing;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;options leftmargin="1 in" topmargin="1 in" &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; rightmargin="1 in" bottommargin="1 in" &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; nodate nonumber orientation=portrait;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ods pdf file='Z:\SAS\SASCODE\test.pdf';&lt;/P&gt;&lt;P&gt;ods html file='Z:\SAS\SASCODE\test.html'; &lt;/P&gt;&lt;P&gt;ods escapechar='^';&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;options nodate nonumber pageno=1;&lt;/P&gt;&lt;P&gt;ods pdf startpage=no; run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc tabulate data=med.All_Med_QsF&lt;/P&gt;&lt;P&gt;(where=(question in('Q4','Q5B')))&lt;/P&gt;&lt;P&gt;style=[background=white foreground=black&amp;nbsp; font_face='Arial Narrow' font_size=10.5pt just=c]; &lt;/P&gt;&lt;P&gt;class Question REVIEW_S &lt;/P&gt;&lt;P&gt;/ style={font_face='Arial Narrow' font_weight=bold font_size=11pt cellheight=50 }; &lt;/P&gt;&lt;P&gt;class Responce1 / order=formatted&lt;/P&gt;&lt;P&gt;style={font_face='Arial Narrow' font_weight=bold font_size=11pt}; &lt;/P&gt;&lt;P&gt;classlev question &lt;/P&gt;&lt;P&gt;/style=[font_face='Arial Narrow' font_size=11pt]; &lt;/P&gt;&lt;P&gt;classlev&amp;nbsp; REVIEW_S &lt;/P&gt;&lt;P&gt;/style={font_face='Arial Narrow' font_size=10pt cellwidth=.6in cellheight=.4in just=l}; &lt;/P&gt;&lt;P&gt;classlev&lt;/P&gt;&lt;P&gt;Responce1 &lt;/P&gt;&lt;P&gt;/style={font_face='Arial Narrow' font_size=11pt&amp;nbsp; }; &lt;/P&gt;&lt;P&gt;table Question=' ', &lt;/P&gt;&lt;P&gt;REVIEW_S&amp;nbsp; =' ' &lt;/P&gt;&lt;P&gt;all='Overall Agency Totals', &lt;/P&gt;&lt;P&gt;Responce1=' '*(n='Count'*f=best8. pctn='%'*f=p.) &lt;/P&gt;&lt;P&gt;n='Count Total' pctn='% Total' *f=p.&lt;/P&gt;&lt;P&gt;/style={font_face='Arial Narrow' font_size=11pt cellwidth=.6in } &lt;/P&gt;&lt;P&gt;row=float&amp;nbsp; &lt;/P&gt;&lt;P&gt;box={label='Count^{newline 1}Overall^_%' &lt;/P&gt;&lt;P&gt;style={font_face='Arial Narrow' font_size=10pt font_weight=bold cellwidth=.6in}}; &lt;/P&gt;&lt;P&gt;format question $medQs.; &lt;/P&gt;&lt;P&gt;format responce1 medresponse.; &lt;/P&gt;&lt;P&gt;keyword n pctn&amp;nbsp; / &lt;/P&gt;&lt;P&gt;style=[font_weight=bold foreground=black&amp;nbsp; font_face='Arial Narrow' font_size=10pt just=c]; &lt;/P&gt;&lt;P&gt;keyword all/ style=[font_weight=bold foreground=black&amp;nbsp; font_face='Arial Narrow' font_size=10pt just=l]; &lt;/P&gt;&lt;P&gt;run; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ods _all_ close;&lt;/P&gt;&lt;P&gt;ods listing;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 29 Apr 2012 17:51:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Proc-Tabulate-and-ods-pdf-Table-Columns-Generate-on-Separate/m-p/98212#M3660</guid>
      <dc:creator>Mgarret</dc:creator>
      <dc:date>2012-04-29T17:51:51Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Tabulate and ods pdf.: Table Columns Generate on Separate Pages</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Proc-Tabulate-and-ods-pdf-Table-Columns-Generate-on-Separate/m-p/98213#M3661</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi:&lt;/P&gt;&lt;P&gt;&amp;nbsp; My recommendation would be to remove ALL cellheight and cellwidth specifications (yes, ALL of them) from your entire step. Then gradually, put them back in one at a time, seriously, one at a time, until you find the one that "breaks" PDF. I don't actually think you need to fiddle with cellheight at all. My experience is that ODS PDF adjusts the height usually OK if I don't specify anything. If you are going to specify units of measure such as IN, then use the same units for all dimensions. If you don't have any unit of measure, you get pixels, which must be converted. The thing is that you can try to "overcontrol" PDF to the point where it decides that you are asking for the impossible. Generally, if you specify something like outputwidth=100% on the TABLE statement style override, then PDF will figure out how many cells it needs per page and will divide them accordingly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; HTML output can be as wide as it needs to be. I doubt that you will be able to find cellwidths that will work for both HTML (doesn't care how wide it is) and PDF (does care how wide it is because it is bound by margin sizes).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; If simplifying the style overrides doesn't work and you can't find the breaking point, then you may want to work with Tech Support on this question.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cynthia&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ps...do you also have SAS/GRAPH or ODS GRAPHICS in the step??? I just wondered because of posting the TABULATE question in the Graph forum.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 29 Apr 2012 22:24:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Proc-Tabulate-and-ods-pdf-Table-Columns-Generate-on-Separate/m-p/98213#M3661</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2012-04-29T22:24:21Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Tabulate and ods pdf.: Table Columns Generate on Separate Pages</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Proc-Tabulate-and-ods-pdf-Table-Columns-Generate-on-Separate/m-p/98214#M3662</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Cythia--&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As always you are totally correct and very helpful. Thanks! &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Apr 2012 17:22:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Proc-Tabulate-and-ods-pdf-Table-Columns-Generate-on-Separate/m-p/98214#M3662</guid>
      <dc:creator>Mgarret</dc:creator>
      <dc:date>2012-04-30T17:22:38Z</dc:date>
    </item>
  </channel>
</rss>

