<?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: Inserting Logo in the header of the PDF report in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/Inserting-Logo-in-the-header-of-the-PDF-report/m-p/396943#M13599</link>
    <description>&lt;P&gt;**bleep** it. I have been working on this for last one hour. It never caught my eye.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you so much&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13879"&gt;@Reeza&lt;/a&gt;.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 18 Sep 2017 20:11:39 GMT</pubDate>
    <dc:creator>Abhi_Garg</dc:creator>
    <dc:date>2017-09-18T20:11:39Z</dc:date>
    <item>
      <title>Inserting Logo in the header of the PDF report</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Inserting-Logo-in-the-header-of-the-PDF-report/m-p/396918#M13597</link>
      <description>&lt;P&gt;Hello Folks,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to insert a logo in the Header of my report. Despite there is no error in my code, I can't see any logo in my pdf report.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Following is my SAS code:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;Data test;
input name$ age;
datalines;
Dan 27
Bob 25
;
run;

%let tdate =  %sysfunc(date(),mmddyy10.);
%let ttime= %sysfunc(time(),timeampm11.);

proc template;
define style Styles.biggerfont;
parent = Styles.printer;
replace fonts / 
'TitleFont2' = ("Times Roman",12pt,Bold Italic) 
'TitleFont' = ("Times Roman",13pt,Bold Italic) 
'StrongFont' = ("Times Roman",10pt,Bold) 
'EmphasisFont' = ("Times Roman",10pt,Italic) 
'FixedEmphasisFont' = ("Courier",9pt,Italic) 
'FixedStrongFont' = ("Courier",9pt,Bold) 
'FixedHeadingFont' = ("Courier",9pt,Bold) 
'BatchFixedFont' = ("SAS Monospace, Courier",15pt) 
'FixedFont' = ("Courier",9pt) 
'headingEmphasisFont' = ("Times Roman",11pt,Bold Italic) 
'headingFont' = ("Times Roman",13pt,Bold) 
'docFont' = ("Times Roman",12pt);
end;
run;

ods escapechar='^';
options nodate nonumber orientation=portrait;
ods pdf file="C:\Users\garga\Documents\SAS POC\Creating PDF\test.pdf" STYLE= STYLES.BIGGERFONT;
proc report data = test STYLE(REPORT) = [RULES = NONE FRAME = VOID FONT_SIZE = 12PT];
	title j=left "^S={preimage='C:\Users\garga\Documents\SAS POC\Creating PDF\SHP_LOGO_2.jpg'}";
     	title1 H=4.0 J=C F='Times New Roman'	"Marshfield Clinic";
        title2 H=2.0 J=C F='Times New Roman' "RVU credits and Eye Codes";
        title3 H=2.0 J=C F='Times New Roman' "As of &amp;amp;tdate &amp;amp;ttime";
	define name /group 'Name' style(header)=[background = LIGHTGRAY font_size = 12pt];
	define age /'Age' style(header)=[background = LIGHTGRAY font_size = 12pt];
	compute before Name / style=[font_size =1pt background = cxBDB76D];
	line ' ';
	endcomp;	
	footnote1 H=1.5 J=L F='Times New Roman' "Creation Date:  &amp;amp;tdate";
        footnote2 h=8pt f=Arial j=right '^{thispage}';
run;
ods pdf close;
ods listing;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can someone tell me why am I not able to see the image?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Below is the logo image that I am trying to add in the header.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SHP_LOGO_2.jpg" style="width: 374px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/15252i00100838B046E7BE/image-size/large?v=v2&amp;amp;px=999" role="button" title="SHP_LOGO_2.jpg" alt="SHP_LOGO_2.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Attached is my Output PDF file.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help will be much appreciated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 18 Sep 2017 19:16:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Inserting-Logo-in-the-header-of-the-PDF-report/m-p/396918#M13597</guid>
      <dc:creator>Abhi_Garg</dc:creator>
      <dc:date>2017-09-18T19:16:23Z</dc:date>
    </item>
    <item>
      <title>Re: Inserting Logo in the header of the PDF report</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Inserting-Logo-in-the-header-of-the-PDF-report/m-p/396932#M13598</link>
      <description>&lt;P&gt;TITLE and TITLE1 are the same thing. Your TITLE1 is overwriting your TITLE statement.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 18 Sep 2017 19:58:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Inserting-Logo-in-the-header-of-the-PDF-report/m-p/396932#M13598</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2017-09-18T19:58:15Z</dc:date>
    </item>
    <item>
      <title>Re: Inserting Logo in the header of the PDF report</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Inserting-Logo-in-the-header-of-the-PDF-report/m-p/396943#M13599</link>
      <description>&lt;P&gt;**bleep** it. I have been working on this for last one hour. It never caught my eye.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you so much&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13879"&gt;@Reeza&lt;/a&gt;.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 18 Sep 2017 20:11:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Inserting-Logo-in-the-header-of-the-PDF-report/m-p/396943#M13599</guid>
      <dc:creator>Abhi_Garg</dc:creator>
      <dc:date>2017-09-18T20:11:39Z</dc:date>
    </item>
    <item>
      <title>Re: Inserting Logo in the header of the PDF report</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Inserting-Logo-in-the-header-of-the-PDF-report/m-p/396952#M13600</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/152205"&gt;@Abhi_Garg&lt;/a&gt; wrote:&lt;BR /&gt;
&lt;P&gt;**bleep** it. I have been working on this for last one hour. It never caught my eye.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you so much&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13879"&gt;@Reeza&lt;/a&gt;.&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;No problem, glad it was that easy.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;FYI - I spent four hours this weekend, debugging something that turned out to be a case error, because R variables are case sensitive. We all get there some days.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 18 Sep 2017 20:22:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Inserting-Logo-in-the-header-of-the-PDF-report/m-p/396952#M13600</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2017-09-18T20:22:01Z</dc:date>
    </item>
  </channel>
</rss>

