<?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: style in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/style/m-p/79739#M256576</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; If you search for previous forum postings, you will see that this question has come up several times.&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://communities.sas.com/message/10450#10450"&gt;https://communities.sas.com/message/10450#10450&lt;/A&gt;&lt;BR /&gt;&lt;A _jive_internal="true" href="https://communities.sas.com/message/56745#56745"&gt;https://communities.sas.com/message/56745#56745&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;This Tech Support note explains how to use a style template to insert a banner image into PDF output:&lt;/P&gt;&lt;P&gt;&lt;A href="http://support.sas.com/kb/5/285.html"&gt;http://support.sas.com/kb/5/285.html&lt;/A&gt;&amp;nbsp; (Note that they use STYLE TABLE as the recommended template approach, and &lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;NOT&lt;/STRONG&gt;&lt;/SPAN&gt; STYLE BODY, as you show in your attempt.)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp; Otherwise, this Tech Support note:&lt;/P&gt;&lt;P&gt;&lt;A href="http://support.sas.com/kb/36/707.html"&gt;http://support.sas.com/kb/36/707.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;shows how to use the PREIMAGE style attribute to insert a logo into a title statement. You can use the PREIMAGE attribute either with or without the URL= attribute shown in this note.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; Do note, that if you use the PREIMAGE technique, you cannot also use the ESCAPECHAR and/or functions for page numbering:&lt;/P&gt;&lt;P&gt;&lt;A class="active_link" href="http://support.sas.com/kb/34/573.html"&gt;http://support.sas.com/kb/34/573.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;cynthia&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 26 Nov 2012 03:04:39 GMT</pubDate>
    <dc:creator>Cynthia_sas</dc:creator>
    <dc:date>2012-11-26T03:04:39Z</dc:date>
    <item>
      <title>style</title>
      <link>https://communities.sas.com/t5/SAS-Programming/style/m-p/79738#M256575</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;To add a logo to the first pdf page , I created a style as below&lt;/P&gt;&lt;P&gt;proc template;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; define style lg;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; parent=styles.printer;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; style body from document /&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; background=_undef_&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; backgroundimage="logo.jpg";&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; end;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But this logo gets added to every pdf page which is not the requirement.&amp;nbsp; I used ODS PDF style=none after the first page..., but still no success.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help!&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Nov 2012 01:28:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/style/m-p/79738#M256575</guid>
      <dc:creator>VijayKumar</dc:creator>
      <dc:date>2012-11-26T01:28:57Z</dc:date>
    </item>
    <item>
      <title>Re: style</title>
      <link>https://communities.sas.com/t5/SAS-Programming/style/m-p/79739#M256576</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; If you search for previous forum postings, you will see that this question has come up several times.&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://communities.sas.com/message/10450#10450"&gt;https://communities.sas.com/message/10450#10450&lt;/A&gt;&lt;BR /&gt;&lt;A _jive_internal="true" href="https://communities.sas.com/message/56745#56745"&gt;https://communities.sas.com/message/56745#56745&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;This Tech Support note explains how to use a style template to insert a banner image into PDF output:&lt;/P&gt;&lt;P&gt;&lt;A href="http://support.sas.com/kb/5/285.html"&gt;http://support.sas.com/kb/5/285.html&lt;/A&gt;&amp;nbsp; (Note that they use STYLE TABLE as the recommended template approach, and &lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;NOT&lt;/STRONG&gt;&lt;/SPAN&gt; STYLE BODY, as you show in your attempt.)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp; Otherwise, this Tech Support note:&lt;/P&gt;&lt;P&gt;&lt;A href="http://support.sas.com/kb/36/707.html"&gt;http://support.sas.com/kb/36/707.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;shows how to use the PREIMAGE style attribute to insert a logo into a title statement. You can use the PREIMAGE attribute either with or without the URL= attribute shown in this note.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; Do note, that if you use the PREIMAGE technique, you cannot also use the ESCAPECHAR and/or functions for page numbering:&lt;/P&gt;&lt;P&gt;&lt;A class="active_link" href="http://support.sas.com/kb/34/573.html"&gt;http://support.sas.com/kb/34/573.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;cynthia&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Nov 2012 03:04:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/style/m-p/79739#M256576</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2012-11-26T03:04:39Z</dc:date>
    </item>
  </channel>
</rss>

