<?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: How to change the font size of a Custom Report to html in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/How-to-change-the-font-size-of-a-Custom-Report-to-html/m-p/640070#M190547</link>
    <description>&lt;P&gt;Of course you can use ODS HTML or PROC EXPORT, you have to point the output to a location where you have write permission.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Copy/paste the log of your failed ODS or EXPORT code into a window opened with &amp;lt;/&amp;gt;:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Bildschirmfoto 2020-04-07 um 08.32.59.png"&gt;&lt;img src="https://communities.sas.com/skins/images/2FD96521DCF95C42FE57BF2A7CB72678/responsive_peak/images/image_not_found.png" alt="Bildschirmfoto 2020-04-07 um 08.32.59.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 15 Apr 2020 11:19:35 GMT</pubDate>
    <dc:creator>Kurt_Bremser</dc:creator>
    <dc:date>2020-04-15T11:19:35Z</dc:date>
    <item>
      <title>How to change the font size of a Custom Report to html</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-change-the-font-size-of-a-Custom-Report-to-html/m-p/640053#M190539</link>
      <description>&lt;P&gt;Hello Communities&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have created a Custom Report that includes a number of Proc Reports.&lt;/P&gt;&lt;P&gt;I need to export this to html, however I cannot change the font size of titles and tables (which the default is definitely too small).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please note I CANNOT use ods html or Proc Export (the message I get is &lt;FONT face="Courier New" size="3" color="#ff0000"&gt;Insufficient&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; authorization to access ......&lt;/FONT&gt;). I have been told&amp;nbsp;my company won't change this setting....&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am using the Export Report as Step in Project;&amp;nbsp;I can change the font size of the title, but this won't be reflected in the exported file;&amp;nbsp;nor I can find how to change the size of the tables themselves.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In the properties, I can select different styles but they seem to use the same font size.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm using EG 7.13&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;could you please help?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Many thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 15 Apr 2020 10:02:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-change-the-font-size-of-a-Custom-Report-to-html/m-p/640053#M190539</guid>
      <dc:creator>MART1</dc:creator>
      <dc:date>2020-04-15T10:02:24Z</dc:date>
    </item>
    <item>
      <title>Re: How to change the font size of a Custom Report to html</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-change-the-font-size-of-a-Custom-Report-to-html/m-p/640070#M190547</link>
      <description>&lt;P&gt;Of course you can use ODS HTML or PROC EXPORT, you have to point the output to a location where you have write permission.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Copy/paste the log of your failed ODS or EXPORT code into a window opened with &amp;lt;/&amp;gt;:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Bildschirmfoto 2020-04-07 um 08.32.59.png"&gt;&lt;img src="https://communities.sas.com/skins/images/2FD96521DCF95C42FE57BF2A7CB72678/responsive_peak/images/image_not_found.png" alt="Bildschirmfoto 2020-04-07 um 08.32.59.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 15 Apr 2020 11:19:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-change-the-font-size-of-a-Custom-Report-to-html/m-p/640070#M190547</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2020-04-15T11:19:35Z</dc:date>
    </item>
    <item>
      <title>Re: How to change the font size of a Custom Report to html</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-change-the-font-size-of-a-Custom-Report-to-html/m-p/640107#M190571</link>
      <description>&lt;P&gt;Hello &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/11562"&gt;@Kurt_Bremser&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;this is what the log shows (I've only replaced sensitive information with xxxx)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;ERROR: Insufficient authorization to access 
       /sas1/sasconfig/Lev1/SASAppCorporate/\\serverf9.xxx.xxx.adgbs.com\users9\xxxxxx\Documents\.
NOTE: The SAS System stopped processing this step because of errors.
NOTE: There were 1 observations read from the data set SASHELP.CLASS.
NOTE: DATA statement used (Total process time):
      real time           0.00 seconds
      cpu time            0.00 seconds
      

0 records created in \\serverf9.xxx.xxxx.adgbs.com\users9\xxxxxx\Documents\ from SASHELP.CLASS&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;FYI below is the log when using&amp;nbsp; the step in project (which works)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;File to Export
    SAS Report - Program
    Export even when errors occur in the file: Yes


Output File Type
    HTML Documents (*.html)

Options
    Use labels for column names: No


Output File
    \\serverf9.xxxx.xxxx.adgbs.com\users9\xxxxx\Documents\SAS Report - Program.html
    Overwrite Existing Output: Yes

Total Processing Time:
0.4350386 seconds&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 15 Apr 2020 13:23:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-change-the-font-size-of-a-Custom-Report-to-html/m-p/640107#M190571</guid>
      <dc:creator>MART1</dc:creator>
      <dc:date>2020-04-15T13:23:34Z</dc:date>
    </item>
    <item>
      <title>Re: How to change the font size of a Custom Report to html</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-change-the-font-size-of-a-Custom-Report-to-html/m-p/640110#M190573</link>
      <description>&lt;P&gt;You are using a Windows-style UNC path on a UNIX system, and that won't work.&lt;/P&gt;
&lt;P&gt;Since your path does not start with a slash (which means: at the root of the UNIX filesystem), the system assumes a &lt;EM&gt;relative&lt;/EM&gt; path and starts at the current working directory (from where the SAS process was started); you are not allowed to write something there.&lt;/P&gt;
&lt;P&gt;So you need to go looking for a place where you are allowed to write.&lt;/P&gt;
&lt;P&gt;Check with the administrator of the SAS server if resource&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;\\serverf9.xxx.xxx.adgbs.com\users9&lt;/PRE&gt;
&lt;P&gt;is mounted somewhere on the UNIX server. If not, use a location in your home directory as intermediate storage and move the file from there later (by using WinSCP or similar):&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ods html file="$HOME/SAS Report - Program.html";&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;$HOME is a UNIX environment variable that contains the absolute path of your home directory.&lt;/P&gt;</description>
      <pubDate>Wed, 15 Apr 2020 13:48:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-change-the-font-size-of-a-Custom-Report-to-html/m-p/640110#M190573</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2020-04-15T13:48:13Z</dc:date>
    </item>
    <item>
      <title>Re: How to change the font size of a Custom Report to html</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-change-the-font-size-of-a-Custom-Report-to-html/m-p/640123#M190583</link>
      <description>&lt;P&gt;Hi:&lt;/P&gt;
&lt;P&gt;&amp;nbsp; You can easily change the font size of your titles by either 1) changing the style template (harder) or 2) changing the font size directly in the TITLE statement (easier). For example:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc report data=sashelp.class(obs=3);
  title h=24pt color=purple 'My Purple Big Title';
  title2 h=10pt color=red 'My Red Small Title';
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp; Results in this:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Cynthia_sas_0-1586962265784.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/38331i3C5ECD099A2C34B4/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Cynthia_sas_0-1586962265784.png" alt="Cynthia_sas_0-1586962265784.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As for changing the font size in the tables themselves, again you could 1) change the style template or 2) change the font directly in the procedure syntax:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;title h=24pt color=purple 'My Purple Big Title';
title2 h=10pt color=red 'My Red Small Title';
proc report data=sashelp.class(obs=3)
  style(report)={font_size=18pt}
  style(header)={font_size=18pt}
  style(column)={font_size=10pt};
  column name age sex height weight;
  define name/ order 'Name' style(column)={font_size=14pt};
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;which results in :&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Cynthia_sas_1-1586962575408.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/38332i39B6EC71A34C36BF/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Cynthia_sas_1-1586962575408.png" alt="Cynthia_sas_1-1586962575408.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; Note that the font size specified in the PROC REPORT statement applies to the entire report. Then the font size specified in the DEFINE statement (for NAME) overrides the first setting.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope this helps,&lt;/P&gt;
&lt;P&gt;Cynthia&lt;/P&gt;</description>
      <pubDate>Wed, 15 Apr 2020 14:58:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-change-the-font-size-of-a-Custom-Report-to-html/m-p/640123#M190583</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2020-04-15T14:58:14Z</dc:date>
    </item>
    <item>
      <title>Re: How to change the font size of a Custom Report to html</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-change-the-font-size-of-a-Custom-Report-to-html/m-p/640311#M190690</link>
      <description>&lt;P&gt;Hi &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13549"&gt;@Cynthia_sas&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;that's great thanks.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;just one more thing: the title changes&amp;nbsp;the font size in the Results (in SAS) but when exported it to html,&amp;nbsp;it does not.&lt;/P&gt;&lt;P&gt;Do you&amp;nbsp;know how to change&amp;nbsp;it when exported?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;again many thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 16 Apr 2020 07:55:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-change-the-font-size-of-a-Custom-Report-to-html/m-p/640311#M190690</guid>
      <dc:creator>MART1</dc:creator>
      <dc:date>2020-04-16T07:55:53Z</dc:date>
    </item>
    <item>
      <title>Re: How to change the font size of a Custom Report to html</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-change-the-font-size-of-a-Custom-Report-to-html/m-p/640540#M190826</link>
      <description>&lt;P&gt;Hi:&lt;/P&gt;
&lt;P&gt;&amp;nbsp; When I use an ODS HTML "sandwich" around my code, everything looks OK in the browser (I used FireFox). I don't know what you mean when you say "exported to HTML". How are you doing an "export" other than using ODS HTML.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; Please see this example:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Cynthia_sas_0-1587068338334.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/38359iDF10CCB203761713/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Cynthia_sas_0-1587068338334.png" alt="Cynthia_sas_0-1587068338334.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope this helps,&lt;/P&gt;
&lt;P&gt;Cynthia&lt;/P&gt;</description>
      <pubDate>Thu, 16 Apr 2020 20:19:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-change-the-font-size-of-a-Custom-Report-to-html/m-p/640540#M190826</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2020-04-16T20:19:15Z</dc:date>
    </item>
    <item>
      <title>Re: How to change the font size of a Custom Report to html</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-change-the-font-size-of-a-Custom-Report-to-html/m-p/644002#M192292</link>
      <description>great many thanks &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13549"&gt;@Cynthia_sas&lt;/a&gt;&lt;BR /&gt;&lt;BR /&gt;that works perfectly!</description>
      <pubDate>Wed, 29 Apr 2020 15:37:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-change-the-font-size-of-a-Custom-Report-to-html/m-p/644002#M192292</guid>
      <dc:creator>MART1</dc:creator>
      <dc:date>2020-04-29T15:37:55Z</dc:date>
    </item>
    <item>
      <title>Re: How to change the font size of a Custom Report to html</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-change-the-font-size-of-a-Custom-Report-to-html/m-p/644003#M192293</link>
      <description>I use the "Step in Project", but you are right it works the way you suggested (not sure what I did at the beginning)&lt;BR /&gt;thanks</description>
      <pubDate>Wed, 29 Apr 2020 15:39:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-change-the-font-size-of-a-Custom-Report-to-html/m-p/644003#M192293</guid>
      <dc:creator>MART1</dc:creator>
      <dc:date>2020-04-29T15:39:57Z</dc:date>
    </item>
    <item>
      <title>Re: How to change the font size of a Custom Report to html</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-change-the-font-size-of-a-Custom-Report-to-html/m-p/644006#M192295</link>
      <description>&lt;P&gt;thanks&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/11562"&gt;@Kurt_Bremser&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've resolved by using&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13549"&gt;@Cynthia_sas&lt;/a&gt; solution for the moment - but will look into your suggestion&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;</description>
      <pubDate>Wed, 29 Apr 2020 15:42:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-change-the-font-size-of-a-Custom-Report-to-html/m-p/644006#M192295</guid>
      <dc:creator>MART1</dc:creator>
      <dc:date>2020-04-29T15:42:41Z</dc:date>
    </item>
  </channel>
</rss>

