<?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 PDF Insert Image in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-PDF-Insert-Image/m-p/273800#M15970</link>
    <description>Hi:&lt;BR /&gt;  ESCAPECHAR is NOT a system option. It is a separate statement:&lt;BR /&gt;ODS ESCAPECHAR='^';&lt;BR /&gt;to declare your ESCAPECHAR to use for inline formatting.&lt;BR /&gt;&lt;BR /&gt;Also, the image will not even be attempted by ODS until the ESCAPECHAR syntax is correct. So posting your code will be useful. &lt;BR /&gt;&lt;BR /&gt;This documentation example shows you the correct syntax for everything except PREIMAGE:&lt;BR /&gt;&lt;A href="http://support.sas.com/documentation/cdl/en/odsug/67921/HTML/default/viewer.htm#p11xia2ltavr8ln17srq8vn4rnqc.htm" target="_blank"&gt;http://support.sas.com/documentation/cdl/en/odsug/67921/HTML/default/viewer.htm#p11xia2ltavr8ln17srq8vn4rnqc.htm&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;  My suggestion is that, if you don't want to post your code, you should try to get this documentation example working and then once it works, look at using PREIMAGE to get your image into the PDF document following this example:&lt;BR /&gt;&lt;A href="http://support.sas.com/kb/24/229.html" target="_blank"&gt;http://support.sas.com/kb/24/229.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;My only additional comment to the above Tech Support note is that ODS PDF has to be able to FIND the image at the point in time when the PDF file is being created, so if a relative name for the file location does not work, try an absolute path.&lt;BR /&gt;&lt;BR /&gt; title j=l '^S={preimage="saslogo.jpg"}';&lt;BR /&gt;OR&lt;BR /&gt; title j=l '^S={preimage="c:\images\saslogo.jpg"}';&lt;BR /&gt;&lt;BR /&gt;cynthia&lt;BR /&gt; &lt;BR /&gt;</description>
    <pubDate>Sun, 29 May 2016 13:30:27 GMT</pubDate>
    <dc:creator>Cynthia_sas</dc:creator>
    <dc:date>2016-05-29T13:30:27Z</dc:date>
    <item>
      <title>ODS PDF Insert Image</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-PDF-Insert-Image/m-p/272894#M15943</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to insert an image into a PDF document I am creating thru SAS but I am running thru a host of problems. I saw some codes on here which I tried but it didn't work.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;One of the errors I am getting is this:&lt;/P&gt;&lt;P&gt;&lt;FONT color="#ff0000"&gt;Unrecognized SAS option name ESCAPECHAR&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#ff0000"&gt;&lt;FONT color="#000000"&gt;Also the image doesn't load into my pdf document. &lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#ff0000"&gt;&lt;FONT color="#000000"&gt;Please can anyone help with a simple piece of code that works.&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#ff0000"&gt;&lt;FONT color="#000000"&gt;Thanks,&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#ff0000"&gt;&lt;FONT color="#000000"&gt;Efe&lt;/FONT&gt;&lt;/FONT&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;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 24 May 2016 21:32:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-PDF-Insert-Image/m-p/272894#M15943</guid>
      <dc:creator>efo4life</dc:creator>
      <dc:date>2016-05-24T21:32:30Z</dc:date>
    </item>
    <item>
      <title>Re: ODS PDF Insert Image</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-PDF-Insert-Image/m-p/272899#M15944</link>
      <description>&lt;P&gt;Please provide the code you are attempting. Best would be the code from the log with the error message.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also, which version of SAS are you running?&lt;/P&gt;</description>
      <pubDate>Tue, 24 May 2016 21:56:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-PDF-Insert-Image/m-p/272899#M15944</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2016-05-24T21:56:39Z</dc:date>
    </item>
    <item>
      <title>Re: ODS PDF Insert Image</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-PDF-Insert-Image/m-p/273800#M15970</link>
      <description>Hi:&lt;BR /&gt;  ESCAPECHAR is NOT a system option. It is a separate statement:&lt;BR /&gt;ODS ESCAPECHAR='^';&lt;BR /&gt;to declare your ESCAPECHAR to use for inline formatting.&lt;BR /&gt;&lt;BR /&gt;Also, the image will not even be attempted by ODS until the ESCAPECHAR syntax is correct. So posting your code will be useful. &lt;BR /&gt;&lt;BR /&gt;This documentation example shows you the correct syntax for everything except PREIMAGE:&lt;BR /&gt;&lt;A href="http://support.sas.com/documentation/cdl/en/odsug/67921/HTML/default/viewer.htm#p11xia2ltavr8ln17srq8vn4rnqc.htm" target="_blank"&gt;http://support.sas.com/documentation/cdl/en/odsug/67921/HTML/default/viewer.htm#p11xia2ltavr8ln17srq8vn4rnqc.htm&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;  My suggestion is that, if you don't want to post your code, you should try to get this documentation example working and then once it works, look at using PREIMAGE to get your image into the PDF document following this example:&lt;BR /&gt;&lt;A href="http://support.sas.com/kb/24/229.html" target="_blank"&gt;http://support.sas.com/kb/24/229.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;My only additional comment to the above Tech Support note is that ODS PDF has to be able to FIND the image at the point in time when the PDF file is being created, so if a relative name for the file location does not work, try an absolute path.&lt;BR /&gt;&lt;BR /&gt; title j=l '^S={preimage="saslogo.jpg"}';&lt;BR /&gt;OR&lt;BR /&gt; title j=l '^S={preimage="c:\images\saslogo.jpg"}';&lt;BR /&gt;&lt;BR /&gt;cynthia&lt;BR /&gt; &lt;BR /&gt;</description>
      <pubDate>Sun, 29 May 2016 13:30:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-PDF-Insert-Image/m-p/273800#M15970</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2016-05-29T13:30:27Z</dc:date>
    </item>
  </channel>
</rss>

