<?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 header image with title statement and subsequent title statements in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ods-header-image-with-title-statement-and-subsequent-title/m-p/454464#M20829</link>
    <description>&lt;P&gt;apologies if I was unclear, above is just a small snippet of the program&amp;nbsp;I am also using proc gplot to print some graphs which is why I have nogtitle and nogfootnote&lt;/P&gt;</description>
    <pubDate>Mon, 16 Apr 2018 15:21:51 GMT</pubDate>
    <dc:creator>nnat</dc:creator>
    <dc:date>2018-04-16T15:21:51Z</dc:date>
    <item>
      <title>ods header image with title statement and subsequent title statements</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ods-header-image-with-title-statement-and-subsequent-title/m-p/454453#M20827</link>
      <description>&lt;P&gt;Hi, I'm trying to create an&amp;nbsp;ODS pdf report&amp;nbsp;using multiple proc prints/proc reports, and I need to add a header image to all pages of the pdf.&amp;nbsp; A&amp;nbsp;small snippet of the code is below.&amp;nbsp; I know my header image isn't showing up because the title statements in the disclaimer and overview chunks are overwriting the initial title statement with the .png file.&amp;nbsp; If I comment out the title statements within the proc prints, the header image does appear in the pdf output.&amp;nbsp; Is there a way to work around this? How can I keep the subsequent titles for my final pdf report?&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;ods pdf file = "C:\test\report.pdf" nogtitle nogfootnote;
ods escapechar='~';
title j=r "~S={preimage='C:\test\header_image.png'}";

/*disclaimer*/
proc import datafile = "C:\test\disclaimer.xlsx" out=disclaimer dbms=xlsx replace;
run;

proc print data=disclaimer noobs;
title 'Disclaimer';
run;

/*overview*/
proc import datafile = "C:\test\overview.xlsx" out=overview dbms=xlsx replace;
run;

proc print data=overview noobs label;
title 'Overview';
run;
&lt;BR /&gt;ods pdf close;

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 16 Apr 2018 15:19:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ods-header-image-with-title-statement-and-subsequent-title/m-p/454453#M20827</guid>
      <dc:creator>nnat</dc:creator>
      <dc:date>2018-04-16T15:19:59Z</dc:date>
    </item>
    <item>
      <title>Re: ods header image with title statement and subsequent title statements</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ods-header-image-with-title-statement-and-subsequent-title/m-p/454455#M20828</link>
      <description>&lt;P&gt;Not sure I am really following, proc output doesn't overwrite titles and footnotes in the output normally, it would normally page break before that happened.&amp;nbsp; I also quesiton why you have:&amp;nbsp;&lt;/P&gt;
&lt;PRE class=" language-sas"&gt;&lt;CODE class="  language-sas"&gt;nogtitle nogfootnote&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;These are for graphs, and tell SAS to not put graph titles in the image.&amp;nbsp; Maybe try without that option.&amp;nbsp; Also showing what you mean, by and image, may also help.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 16 Apr 2018 15:10:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ods-header-image-with-title-statement-and-subsequent-title/m-p/454455#M20828</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2018-04-16T15:10:45Z</dc:date>
    </item>
    <item>
      <title>Re: ods header image with title statement and subsequent title statements</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ods-header-image-with-title-statement-and-subsequent-title/m-p/454464#M20829</link>
      <description>&lt;P&gt;apologies if I was unclear, above is just a small snippet of the program&amp;nbsp;I am also using proc gplot to print some graphs which is why I have nogtitle and nogfootnote&lt;/P&gt;</description>
      <pubDate>Mon, 16 Apr 2018 15:21:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ods-header-image-with-title-statement-and-subsequent-title/m-p/454464#M20829</guid>
      <dc:creator>nnat</dc:creator>
      <dc:date>2018-04-16T15:21:51Z</dc:date>
    </item>
    <item>
      <title>Re: ods header image with title statement and subsequent title statements</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ods-header-image-with-title-statement-and-subsequent-title/m-p/454469#M20830</link>
      <description>&lt;P&gt;I would suggest then, that you create various PDF files of each of your outputs, and then PDF combine them later.&amp;nbsp; Never had any joy with document creation in SAS, hence why we always create a separate output for each block, then Combine Files In Adobe from Windows explorer.&amp;nbsp; Options for instance tend to be global and affect all the outputs for instance, which may lead to untoward effects.&amp;nbsp; Anyways, can you post a screenshot of what is actually happening, sounds like page breaking is not working?&lt;/P&gt;</description>
      <pubDate>Mon, 16 Apr 2018 15:27:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ods-header-image-with-title-statement-and-subsequent-title/m-p/454469#M20830</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2018-04-16T15:27:39Z</dc:date>
    </item>
    <item>
      <title>Re: ods header image with title statement and subsequent title statements</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ods-header-image-with-title-statement-and-subsequent-title/m-p/454549#M20831</link>
      <description>&lt;P&gt;Hi, Well your first TITLE statement is being overwritten by the TITLE statement in the PROC PRINT. What happens if you make the PROC PRINT TITLE2 instead of TITLE?? OR, consider doing this:&lt;BR /&gt;PROC PRINT #1:&lt;BR /&gt;title j=r "~S={preimage='C:\test\header_image.png'}" j=c "Disclaimer";&lt;BR /&gt;&lt;BR /&gt;PROC PRINT #2&lt;BR /&gt;title j=r "~S={preimage='C:\test\header_image.png'}" j=c "Overview";&lt;BR /&gt;&lt;BR /&gt; Take a look at this previous posting. &lt;A href="https://communities.sas.com/t5/ODS-and-Base-Reporting/ods-pdf-Left-justify-image-and-center-text-in-a-header/m-p/16141/highlight/true#M3449" target="_blank"&gt;https://communities.sas.com/t5/ODS-and-Base-Reporting/ods-pdf-Left-justify-image-and-center-text-in-a-header/m-p/16141/highlight/true#M3449&lt;/A&gt; It is not exactly the same as your example, but shows other uses of ESCAPECHAR with TITLEs.&lt;BR /&gt;&lt;BR /&gt;cynthia&lt;/P&gt;</description>
      <pubDate>Mon, 16 Apr 2018 19:50:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ods-header-image-with-title-statement-and-subsequent-title/m-p/454549#M20831</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2018-04-16T19:50:14Z</dc:date>
    </item>
    <item>
      <title>Re: ods header image with title statement and subsequent title statements</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ods-header-image-with-title-statement-and-subsequent-title/m-p/454611#M20832</link>
      <description>&lt;P&gt;Hi:&lt;/P&gt;
&lt;P&gt;&amp;nbsp; Here's an example that shows 2 different uses of the TITLE statement with a logo:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="show_logo.png" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/19849i657440D10787BC16/image-size/large?v=v2&amp;amp;px=999" role="button" title="show_logo.png" alt="show_logo.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As you can see #1 example uses the string Disclaimer and the logo on 1 TITLE statement and the #2 example uses a TITLE statement for the logo and a TITLE2 statement for the string Overview.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope this helps,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Cynthia&lt;/P&gt;</description>
      <pubDate>Tue, 17 Apr 2018 00:49:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ods-header-image-with-title-statement-and-subsequent-title/m-p/454611#M20832</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2018-04-17T00:49:54Z</dc:date>
    </item>
    <item>
      <title>Re: ods header image with title statement and subsequent title statements</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ods-header-image-with-title-statement-and-subsequent-title/m-p/454776#M20844</link>
      <description>&lt;P&gt;This worked! Thank you so much Cynthia! &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 17 Apr 2018 14:54:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ods-header-image-with-title-statement-and-subsequent-title/m-p/454776#M20844</guid>
      <dc:creator>nnat</dc:creator>
      <dc:date>2018-04-17T14:54:49Z</dc:date>
    </item>
  </channel>
</rss>

