<?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 How to render html cotes in ods pdf in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-render-html-cotes-in-ods-pdf/m-p/21034#M3453</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You cannot render HTML code into PDF with SAS.&amp;nbsp; You could generate an HTML file an use another tool like Adobe Acrobat to convert the HTML into a PDF file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now if what you really want to do is display some parts of your PDF file with different fonts then look at this page of tips on using ODS PDF on the SAS website.&lt;/P&gt;&lt;P&gt;&lt;A href="http://support.sas.com/rnd/base/ods/odsprinter/"&gt;http://support.sas.com/rnd/base/ods/odsprinter/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;In particular look at this document.&lt;/P&gt;&lt;P&gt;&lt;A href="http://support.sas.com/resources/papers/sgf2008/odspdf.pdf"&gt;http://support.sas.com/resources/papers/sgf2008/odspdf.pdf&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 29 Dec 2011 17:04:34 GMT</pubDate>
    <dc:creator>Tom</dc:creator>
    <dc:date>2011-12-29T17:04:34Z</dc:date>
    <item>
      <title>How to render html cotes in ods pdf</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-render-html-cotes-in-ods-pdf/m-p/21031#M3450</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Team,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have html quotes in text that i want show in proper format thru ods pdf,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;below code is located in data set,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;p&amp;gt;&amp;lt;font face='Zurich BT, sans-serif'&amp;gt;&amp;lt;font size='2' style='font-size: 11pt'&amp;gt;As per the calendar of reviews approved by&lt;/P&gt;&lt;P&gt;the Board of Directors of the Bank, the Audit Committee is required to review, on a half-yearly basis, the loss assets&lt;/P&gt;&lt;P&gt;with a balance of &amp;lt;/font&amp;gt;&amp;lt;/font&amp;gt;&amp;lt;font face='Rupee Foradian, sans-serif'&amp;gt;&amp;lt;font size='2' style='font-size: 11pt'&amp;gt;`&lt;/P&gt;&lt;P&gt;&amp;lt;/font&amp;gt;&amp;lt;/font&amp;gt;&amp;lt;font face='Zurich BT, sans-serif'&amp;gt;&amp;lt;font size='2' style='font-size: 11pt'&amp;gt;1.0 million and above in each&lt;/P&gt;&lt;P&gt;account outstanding for more than two years and where legal action has not been initiated.&amp;lt;/font&amp;gt;&amp;lt;/font&amp;gt;&amp;lt;/p&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i want to show this in pdf like below format,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Zurich BT,sans-serif;"&gt;Asper the calendar of reviews approved by the Board of Directors of theBank, the Audit Committee is required to review, on a half-yearlybasis, the loss assets with a balance of &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: Rupee Foradian,sans-serif;"&gt;`&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: Zurich BT,sans-serif;"&gt;1.0million and above in each account outstanding for more than two yearsand where legal action has not been initiated.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Zurich BT,sans-serif;"&gt;thanks&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Dec 2011 12:28:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-render-html-cotes-in-ods-pdf/m-p/21031#M3450</guid>
      <dc:creator>RameshReddy</dc:creator>
      <dc:date>2011-12-28T12:28:35Z</dc:date>
    </item>
    <item>
      <title>How to render html cotes in ods pdf</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-render-html-cotes-in-ods-pdf/m-p/21032#M3451</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I think you should look at ODS PDF TEXT = &lt;/P&gt;&lt;P&gt;and ODS ESCAPECHAR=&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It should help in what i think you are trying to achieve.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Dec 2011 18:35:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-render-html-cotes-in-ods-pdf/m-p/21032#M3451</guid>
      <dc:creator>NN</dc:creator>
      <dc:date>2011-12-28T18:35:28Z</dc:date>
    </item>
    <item>
      <title>How to render html cotes in ods pdf</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-render-html-cotes-in-ods-pdf/m-p/21033#M3452</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks for ur response NN,,but ODS ESCAPER is still showing same status&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Dec 2011 11:54:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-render-html-cotes-in-ods-pdf/m-p/21033#M3452</guid>
      <dc:creator>RameshReddy</dc:creator>
      <dc:date>2011-12-29T11:54:48Z</dc:date>
    </item>
    <item>
      <title>How to render html cotes in ods pdf</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-render-html-cotes-in-ods-pdf/m-p/21034#M3453</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You cannot render HTML code into PDF with SAS.&amp;nbsp; You could generate an HTML file an use another tool like Adobe Acrobat to convert the HTML into a PDF file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now if what you really want to do is display some parts of your PDF file with different fonts then look at this page of tips on using ODS PDF on the SAS website.&lt;/P&gt;&lt;P&gt;&lt;A href="http://support.sas.com/rnd/base/ods/odsprinter/"&gt;http://support.sas.com/rnd/base/ods/odsprinter/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;In particular look at this document.&lt;/P&gt;&lt;P&gt;&lt;A href="http://support.sas.com/resources/papers/sgf2008/odspdf.pdf"&gt;http://support.sas.com/resources/papers/sgf2008/odspdf.pdf&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Dec 2011 17:04:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-render-html-cotes-in-ods-pdf/m-p/21034#M3453</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2011-12-29T17:04:34Z</dc:date>
    </item>
    <item>
      <title>Re: How to render html cotes in ods pdf</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-render-html-cotes-in-ods-pdf/m-p/21035#M3454</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; I'm not entirely sure I understand what the real need is. I do not have either of those fonts on my system, so I could not check the existence of the "grave accent" or the rupee symbol character in the fonts which the OP showed (in the string &lt;STRONG&gt;&lt;SPAN style="font-family: Rupee Foradian,sans-serif; font-size: 10pt;"&gt;`&lt;/SPAN&gt;&lt;SPAN style="font-family: Zurich BT,sans-serif; font-size: 10pt;"&gt;1.0 million &lt;/SPAN&gt;&lt;/STRONG&gt;). However, in Courier New and Arial and Verdana, the "grave accent" character is Unicode 0060 and the Rupee symbol is Unicode 20A8 in Arial Unicode MS. So if the issue is how to change fonts, that is possible using an ODS ESCAPECHAR and STYLE override. If the issue is how to insert a unicode string, (if the Zurich BT and/or the Rupee Foradian fonts have the grave accent or similar symbol that is needed), then ODS ESCAPECHAR with the UNICODE function allows that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; The code below was used to create the attached screenshot using ODS PDF and SAS 9.3. I attached additional screenshots that show the "grave accent" symbol in 3 different fonts (using Windows Character Map) and also one that shows the Rupee sign as a Unicode character.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cynthia&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;data longchar;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;length longcharvar $500 shortvar $50;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;shortvar = '^{unicode 20A8}1.0 million';&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;longcharvar = catx(' ',&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; '^{style[font_face="Courier New"]As per the calendar of reviews',&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'approved by the Board of Directors}',&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'of the Bank, the Audit committee is required',&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; '^{style[font_face="Courier New"]to review, on a half-yearly basis,}',&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'the loss assets with a balance of ^{unicode 0060}1.0 million and',&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'above in each account, outstanding, for more than two years and where',&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'legal action has not been initiated.');&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;run;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;options nodate nonumber;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;ods listing close;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;ods escapechar='^';&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;ods pdf file='c:\temp\insert_unicode_char.pdf' style=journal&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; bookmarkgen=yes bookmarklist=hide;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;proc report data=longchar nowd&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; style(report)={rules=none frame=void cellspacing=0 width=100%}&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; style(column)={fontfamily='Verdana, sans-serif' font_size=11pt};&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;&amp;nbsp; title 'Use Unicode Escapechar to insert grave accent and switch fonts in mid-sentence';&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;&amp;nbsp; column shortvar longcharvar;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;&amp;nbsp; define shortvar / display 'Use Unicode Rupee Symbol';&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;&amp;nbsp; define longcharvar/ display 'Use Grave Accent';&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;run;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;ods _all_ close;&lt;/STRONG&gt;&lt;/P&gt;&lt;BR /&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/11766iC4627D249F4D3F82/image-size/large?v=1.0&amp;amp;px=600" border="0" alt="grave_accent_arial.jpg" title="grave_accent_arial.jpg" /&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/11767i6065FDADED06C26C/image-size/large?v=1.0&amp;amp;px=600" border="0" alt="use_unicode_in_pdf.jpg" title="use_unicode_in_pdf.jpg" /&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/11768i53E79320AEE89EC7/image-size/large?v=1.0&amp;amp;px=600" border="0" alt="rupee_arial_unicode.jpg" title="rupee_arial_unicode.jpg" /&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/11769iDC650EFA170D4DCF/image-size/large?v=1.0&amp;amp;px=600" border="0" alt="grave_accent_courier.jpg" title="grave_accent_courier.jpg" /&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/11770i742CEE7A0A352FBB/image-size/large?v=1.0&amp;amp;px=600" border="0" alt="grave_accent_verdana.jpg" title="grave_accent_verdana.jpg" /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Dec 2011 19:23:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-render-html-cotes-in-ods-pdf/m-p/21035#M3454</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2011-12-29T19:23:33Z</dc:date>
    </item>
  </channel>
</rss>

