<?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: Default style template for a given destination in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Default-style-template-for-a-given-destination/m-p/756709#M238972</link>
    <description>&lt;P&gt;For what it may be worth, when ODS came about it took me very little time to realize that I didn't like the appearance for most of the default styles associated with any destinations. So I routinely add a STYLE= to any ODS output destination code I use.&lt;/P&gt;</description>
    <pubDate>Tue, 27 Jul 2021 14:11:28 GMT</pubDate>
    <dc:creator>ballardw</dc:creator>
    <dc:date>2021-07-27T14:11:28Z</dc:date>
    <item>
      <title>Default style template for a given destination</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Default-style-template-for-a-given-destination/m-p/756605#M238916</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When looking at &lt;A href="https://support.sas.com/kb/34/950.html" target="_blank"&gt;https://support.sas.com/kb/34/950.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I can see that I can use the following code to identify the default template use for a given destination&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc registry list startat="ODS\DESTINATIONS";
run;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Here is a subset of the output&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;[HTML]      Selected Style="Default"
[MARKUP]    Selected Style="Default"
[HTML4]     Selected Style="HTMLBlue"
[RTF]       Selected Style="Rtf"        
[MONOSPACE] Selected Style="Listing"
[PRINTER]   Selected Style="Pearl"
[PCL]       Selected Style="monochromePrinter"
[RTF]       Selected Style="Rtf"
[SCRIPT]    Selected Style="HTMLBlue"
[EPUB2]     Selected Style="Daisy"
[EPUB3]     Selected Style="Daisy"
[Excel]     Selected Style="Excel"
[html5]     Selected Style="HTMLBlue"
[OPENUI5]   Selected Style="OpenUI5"
[PwrPoint]  Selected Style="PowerPointLight"
 &lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;But for some of the destinations like the PDF destination, there is no Selected Style information.&lt;/P&gt;&lt;P&gt;Instead, we have&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt; [      PDF]
       Accessible="Off"
       Bookmark List="Show"
       Default Printer="PDF"
       Default State="Off"
       DPI=int:150
       PDF Notes="On"&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1/ But I'm not sure how to interpret this output.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2/ Is there any other syntax available, beside proc registry to retrieve the default style used by a destination?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Mon, 26 Jul 2021 10:34:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Default-style-template-for-a-given-destination/m-p/756605#M238916</guid>
      <dc:creator>xxformat_com</dc:creator>
      <dc:date>2021-07-26T10:34:40Z</dc:date>
    </item>
    <item>
      <title>Re: Default style template for a given destination</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Default-style-template-for-a-given-destination/m-p/756682#M238949</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/184742"&gt;@xxformat_com&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;My understanding is that in the SAS Registry the PDF destination is subordinate to the PRINTER destination (i.e., considered as &lt;EM&gt;one&lt;/EM&gt; of the PRINTER destination&lt;EM&gt;s&lt;/EM&gt;) and therefore "inherits" the default style "Pearl" from PRINTER if not otherwise specified. This hierarchy is easier to see in the Registry Editor (accessible from the menu of the Display Manager interface via Solutions&amp;nbsp;→ Accessories&amp;nbsp;→ Registry Editor) than from the indentations in the output of PROC REGISTRY.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P data-unlink="true"&gt;This is consistent with the &lt;A href="https://documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/odsug/n0mc4eolqoned0n16oy88mpj0e4g.htm" target="_blank" rel="noopener"&gt;documentation of the ODS PDF statement&lt;/A&gt;&amp;nbsp;where it says:&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;&lt;SPAN&gt;The default style for PRINTER destinations is Pearl.&lt;/SPAN&gt;&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;</description>
      <pubDate>Mon, 26 Jul 2021 15:57:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Default-style-template-for-a-given-destination/m-p/756682#M238949</guid>
      <dc:creator>FreelanceReinh</dc:creator>
      <dc:date>2021-07-26T15:57:28Z</dc:date>
    </item>
    <item>
      <title>Re: Default style template for a given destination</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Default-style-template-for-a-given-destination/m-p/756709#M238972</link>
      <description>&lt;P&gt;For what it may be worth, when ODS came about it took me very little time to realize that I didn't like the appearance for most of the default styles associated with any destinations. So I routinely add a STYLE= to any ODS output destination code I use.&lt;/P&gt;</description>
      <pubDate>Tue, 27 Jul 2021 14:11:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Default-style-template-for-a-given-destination/m-p/756709#M238972</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2021-07-27T14:11:28Z</dc:date>
    </item>
    <item>
      <title>Re: Default style template for a given destination</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Default-style-template-for-a-given-destination/m-p/757130#M239079</link>
      <description>&lt;P&gt;As I'm working with SAS Studio I was not familiar with the Regitry Editor. Thanks for that. I'm including a snapshot for people who will read this post.&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="sas_registry_editor.JPG" style="width: 999px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/61900i50D33A3359151DEE/image-size/large?v=v2&amp;amp;px=999" role="button" title="sas_registry_editor.JPG" alt="sas_registry_editor.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 27 Jul 2021 14:08:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Default-style-template-for-a-given-destination/m-p/757130#M239079</guid>
      <dc:creator>xxformat_com</dc:creator>
      <dc:date>2021-07-27T14:08:45Z</dc:date>
    </item>
  </channel>
</rss>

