<?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 Titles are missing from pdf in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Titles-are-missing-from-pdf/m-p/249175#M15224</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am not able to print titles to second proc print in same pdf. In the Result Viewer they are but not in the pdf?!?!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I used this code:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data first1;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; input patient num1 num2;
cards ;
1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 22&amp;nbsp;&amp;nbsp;&amp;nbsp; 33
1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 33&amp;nbsp;&amp;nbsp;&amp;nbsp; 44
2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 55&amp;nbsp;&amp;nbsp;&amp;nbsp; 66
run;
&amp;nbsp;
ods pdf file="C:\Temp\Patient1and2.pdf" startpage=no notoc ;
&amp;nbsp;
title1 "Title 1";
title2 "Title 2";
&amp;nbsp;
proc print data=first1 noobs label;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; where patient = 1;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var patient num1 num2;
run;
&amp;nbsp;
title1 "Title 1 modified";
title2 "Title 2 modified";
&amp;nbsp;
proc print data=first1 noobs label;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; where patient = 2;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var patient num1 num2;
run;
&amp;nbsp;
ods pdf close;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any idea why titles (both original and modified) are left out from pdf?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 10 Feb 2016 12:57:47 GMT</pubDate>
    <dc:creator>Sammy2</dc:creator>
    <dc:date>2016-02-10T12:57:47Z</dc:date>
    <item>
      <title>Titles are missing from pdf</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Titles-are-missing-from-pdf/m-p/249175#M15224</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am not able to print titles to second proc print in same pdf. In the Result Viewer they are but not in the pdf?!?!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I used this code:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data first1;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; input patient num1 num2;
cards ;
1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 22&amp;nbsp;&amp;nbsp;&amp;nbsp; 33
1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 33&amp;nbsp;&amp;nbsp;&amp;nbsp; 44
2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 55&amp;nbsp;&amp;nbsp;&amp;nbsp; 66
run;
&amp;nbsp;
ods pdf file="C:\Temp\Patient1and2.pdf" startpage=no notoc ;
&amp;nbsp;
title1 "Title 1";
title2 "Title 2";
&amp;nbsp;
proc print data=first1 noobs label;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; where patient = 1;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var patient num1 num2;
run;
&amp;nbsp;
title1 "Title 1 modified";
title2 "Title 2 modified";
&amp;nbsp;
proc print data=first1 noobs label;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; where patient = 2;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var patient num1 num2;
run;
&amp;nbsp;
ods pdf close;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any idea why titles (both original and modified) are left out from pdf?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 10 Feb 2016 12:57:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Titles-are-missing-from-pdf/m-p/249175#M15224</guid>
      <dc:creator>Sammy2</dc:creator>
      <dc:date>2016-02-10T12:57:47Z</dc:date>
    </item>
    <item>
      <title>Re: Titles are missing from pdf</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Titles-are-missing-from-pdf/m-p/249177#M15225</link>
      <description>&lt;P&gt;As far as I knw=ow, and can't check this, you can only have one set of titles/footnotes per page. &amp;nbsp;You could try putting the two outputs on separate pages, using ods text= to display other text before the second output. &amp;nbsp;The reason being is that text above the second output isn't cosidereda title - which can only be at the top of the page. &amp;nbsp;For your given example, you may find it better to do something like:&lt;/P&gt;
&lt;PRE&gt;ods pdf file=...

proc report data=first1 nowd;
  columns...;
  by patient;
  title "Patient: #byvar1";
  title2 "Abc";
  define...;
run;

ods pdf close;&lt;/PRE&gt;</description>
      <pubDate>Wed, 10 Feb 2016 13:10:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Titles-are-missing-from-pdf/m-p/249177#M15225</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2016-02-10T13:10:27Z</dc:date>
    </item>
    <item>
      <title>Re: Titles are missing from pdf</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Titles-are-missing-from-pdf/m-p/249178#M15226</link>
      <description>&lt;P&gt;Titles are associated with the top of the page. If you want to insert text between 2 tables on the same page, use the &lt;A href="http://support.sas.com/documentation/cdl/en/odsug/67921/HTML/default/viewer.htm#p14gx25pepks6dn1q9m7vkq3gfoi.htm" target="_blank"&gt;ODS TEXT statement&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Wed, 10 Feb 2016 13:11:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Titles-are-missing-from-pdf/m-p/249178#M15226</guid>
      <dc:creator>Tim_SAS</dc:creator>
      <dc:date>2016-02-10T13:11:06Z</dc:date>
    </item>
  </channel>
</rss>

