<?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 -- 2 charts per page, titles missing on 2nd chart in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/ODS-PDF-2-charts-per-page-titles-missing-on-2nd-chart/m-p/393996#M13512</link>
    <description>Issue replicated on SAS 9.4 TS1M3.&lt;BR /&gt;&lt;BR /&gt;ODS TEXT does function as a workaround but you'd have to customize the format/style which is annoying.</description>
    <pubDate>Thu, 07 Sep 2017 19:02:41 GMT</pubDate>
    <dc:creator>Reeza</dc:creator>
    <dc:date>2017-09-07T19:02:41Z</dc:date>
    <item>
      <title>ODS PDF -- 2 charts per page, titles missing on 2nd chart</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/ODS-PDF-2-charts-per-page-titles-missing-on-2nd-chart/m-p/393986#M13510</link>
      <description>&lt;P&gt;Let's suppose I want to put two tables on one page using ODS PDF. Each table is to have a different title. If I use this code, the second table's title doesn't appear (as shown in the attachment). What am I doing wrong?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;ods pdf file="&amp;amp;cdu\temp.pdf" startpage=no;
title "SASHELP.CARS";
title2 "First 10 Rows";
proc print data=sashelp.cars(obs=10);
	id make model;
	var msrp mpg_highway;
run;
title "SASHELP.CARS";
title2 "Second 10 Rows";
proc print data=sashelp.cars(firstobs=11 obs=20);
	id make model;
	var msrp mpg_highway;
run;
ods pdf close;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 07 Sep 2017 18:31:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/ODS-PDF-2-charts-per-page-titles-missing-on-2nd-chart/m-p/393986#M13510</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2017-09-07T18:31:24Z</dc:date>
    </item>
    <item>
      <title>Re: ODS PDF -- 2 charts per page, titles missing on 2nd chart</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/ODS-PDF-2-charts-per-page-titles-missing-on-2nd-chart/m-p/393991#M13511</link>
      <description>&lt;P&gt;Maybe try ods text instead?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://communities.sas.com/t5/ODS-and-Base-Reporting/ods-pdf-reporting-without-page-breaks/td-p/50306" target="_self"&gt;ods pdf reporting without page breaks&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://communities.sas.com/t5/ODS-and-Base-Reporting/Titles-are-missing-from-pdf/td-p/249175" target="_self"&gt;Titles are missing from pdf &lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 07 Sep 2017 18:51:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/ODS-PDF-2-charts-per-page-titles-missing-on-2nd-chart/m-p/393991#M13511</guid>
      <dc:creator>Miracle</dc:creator>
      <dc:date>2017-09-07T18:51:08Z</dc:date>
    </item>
    <item>
      <title>Re: ODS PDF -- 2 charts per page, titles missing on 2nd chart</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/ODS-PDF-2-charts-per-page-titles-missing-on-2nd-chart/m-p/393996#M13512</link>
      <description>Issue replicated on SAS 9.4 TS1M3.&lt;BR /&gt;&lt;BR /&gt;ODS TEXT does function as a workaround but you'd have to customize the format/style which is annoying.</description>
      <pubDate>Thu, 07 Sep 2017 19:02:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/ODS-PDF-2-charts-per-page-titles-missing-on-2nd-chart/m-p/393996#M13512</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2017-09-07T19:02:41Z</dc:date>
    </item>
    <item>
      <title>Re: ODS PDF -- 2 charts per page, titles missing on 2nd chart</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/ODS-PDF-2-charts-per-page-titles-missing-on-2nd-chart/m-p/394007#M13513</link>
      <description>&lt;P&gt;Thank you &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/16719"&gt;@Miracle&lt;/a&gt;&amp;nbsp;and &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13879"&gt;@Reeza&lt;/a&gt;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This now works&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;ods escapechar='^';&lt;BR /&gt;ods pdf file="&amp;amp;cdu\temp.pdf" startpage=no;
ods pdf text = "^{style [just=center font=(Arial) fontsize=11pt fontweight=bold color=verydarkstrongblue] SASHELP.CARS}";
ods pdf text = "^{style [just=center font=(Arial) fontsize=11pt fontweight=bold color=verydarkstrongblue] First 10 Rows}";
proc print data=sashelp.cars(obs=10);
	id make model;
	var msrp mpg_highway;
run;
ods pdf text = "^{newline 2}";
ods pdf text = "^{style [just=center font=(Arial) fontsize=11pt fontweight=bold color=verydarkstrongblue] SASHELP.CARS}";
ods pdf text = "^{style [just=center font=(Arial) fontsize=11pt fontweight=bold color=verydarkstrongblue] 2nd 10 Rows}";
proc print data=sashelp.cars(firstobs=11 obs=20);
	id make model;
	var msrp mpg_highway;
run;
ods pdf close;&lt;/PRE&gt;
&lt;P&gt;Okay, I went a little crazy with the style options, but when you have a new toy, you play with it ...&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 07 Sep 2017 20:04:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/ODS-PDF-2-charts-per-page-titles-missing-on-2nd-chart/m-p/394007#M13513</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2017-09-07T20:04:06Z</dc:date>
    </item>
    <item>
      <title>Re: ODS PDF -- 2 charts per page, titles missing on 2nd chart</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/ODS-PDF-2-charts-per-page-titles-missing-on-2nd-chart/m-p/394040#M13516</link>
      <description>&lt;P&gt;Don't know if this is useful, but recently realized you can specify colours in SAS using&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;CX[HEXCOLOUR] which works great when trying to match company styles:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ods pdf text = "^{style [just=center font=(Arial) fontsize=11pt fontweight=bold color=Cx00aad2] First 10 Rows}";&lt;/CODE&gt;&lt;/PRE&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;%let cdu = C:\_localdata\temp;

ods escapechar='^';
ods pdf file="&amp;amp;cdu\temp.pdf" startpage=no;
ods pdf text = "^{style [just=center font=(Arial) fontsize=11pt fontweight=bold color=cxff7900] SASHELP.CARS}";
ods pdf text = "^{style [just=center font=(Arial) fontsize=11pt fontweight=bold color=cxd40072] First 10 Rows}";
proc print data=sashelp.cars(obs=10);
	id make model;
	var msrp mpg_highway;
run;
ods pdf text = "^{newline 2}";
ods pdf text = "^{style [just=center font=(Arial) fontsize=11pt fontweight=bold color=Cx00aad2] SASHELP.CARS}";
ods pdf text = "^{style [just=center font=(Arial) fontsize=11pt fontweight=bold color=Cx00aad2] 2nd 10 Rows}";
proc print data=sashelp.cars(firstobs=11 obs=20);
	id make model;
	var msrp mpg_highway;
run;
ods pdf close;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 07 Sep 2017 20:14:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/ODS-PDF-2-charts-per-page-titles-missing-on-2nd-chart/m-p/394040#M13516</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2017-09-07T20:14:36Z</dc:date>
    </item>
    <item>
      <title>Re: ODS PDF -- 2 charts per page, titles missing on 2nd chart</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/ODS-PDF-2-charts-per-page-titles-missing-on-2nd-chart/m-p/394061#M13517</link>
      <description>&lt;P&gt;This is mostly off-topic, but how would I know what my company logo color is in CX notation?&lt;/P&gt;</description>
      <pubDate>Thu, 07 Sep 2017 21:44:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/ODS-PDF-2-charts-per-page-titles-missing-on-2nd-chart/m-p/394061#M13517</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2017-09-07T21:44:44Z</dc:date>
    </item>
    <item>
      <title>Re: ODS PDF -- 2 charts per page, titles missing on 2nd chart</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/ODS-PDF-2-charts-per-page-titles-missing-on-2nd-chart/m-p/394064#M13518</link>
      <description>&lt;P&gt;My company has a corporate style guide courtesy of communications.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Another way is to go the to company website, use the web developer tools, check the CSS (cascading style sheet) for the colours used for common things, ie text, possibly logo, specific headings etc.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 07 Sep 2017 22:26:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/ODS-PDF-2-charts-per-page-titles-missing-on-2nd-chart/m-p/394064#M13518</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2017-09-07T22:26:49Z</dc:date>
    </item>
    <item>
      <title>Re: ODS PDF -- 2 charts per page, titles missing on 2nd chart</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/ODS-PDF-2-charts-per-page-titles-missing-on-2nd-chart/m-p/394069#M13519</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/10892"&gt;@PaigeMiller&lt;/a&gt; wrote:&lt;BR /&gt;
&lt;P&gt;This is mostly off-topic, but how would I know what my company logo color is in CX notation?&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;It may be easier to use CMYK if your organization has a Pantone Color look up somewhere for a printing documents.&lt;/P&gt;
&lt;P&gt;The SAS color code would look like: CMYKccmmyykk where&lt;/P&gt;
&lt;DIV class="xis-paraSimpleFirst" id="p03jwhp3d2vak2n1gc2wipapwyao"&gt;&lt;SPAN class="xis-userSuppliedValue"&gt;cc&lt;/SPAN&gt; is the cyan component.&lt;/DIV&gt;
&lt;P&gt;&lt;SPAN class="xis-userSuppliedValue"&gt;mm&lt;/SPAN&gt; is the magenta component.&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="xis-userSuppliedValue"&gt;yy&lt;/SPAN&gt; is the yellow component.&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="xis-userSuppliedValue"&gt;kk&lt;/SPAN&gt; is the black component.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;DIV class="xis-paragraph"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV class="xis-paragraph" id="n0hzjok2ods6run17ndnb2b6ny4s"&gt;The components are hexadecimal numbers in the range 00–FF, where higher values are darker and lower values are brighter. This scheme allows for up to 256 levels of each color component.&lt;/DIV&gt;</description>
      <pubDate>Thu, 07 Sep 2017 22:44:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/ODS-PDF-2-charts-per-page-titles-missing-on-2nd-chart/m-p/394069#M13519</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2017-09-07T22:44:16Z</dc:date>
    </item>
  </channel>
</rss>

