<?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: proc report pdf help! in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/proc-report-pdf-help/m-p/564698#M22840</link>
    <description>&lt;P&gt;Hi:&lt;/P&gt;
&lt;P&gt;&amp;nbsp; Thanks for providing the data. I took out HEADLINE and HEADSKIP since they did not serve any purpose as options and simplified your code and came up with this:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="border_example.png" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/30132i1AD954354A105D51/image-size/large?v=v2&amp;amp;px=999" role="button" title="border_example.png" alt="border_example.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; The only thing that is different, to my eye, is that your divider between Total_splitA and Total_split2 does NOT go all the way over to the border for Metric/Dimension. When altering borders, the borders span the WHOLE cell, you can't start the border away from the left edge as you showed.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; You should have been getting notes in the log about the GROUP usage for Metric not being possible because the usage of Dimension1 was DISPLAY -- to fix that you just need to change the usage of Metric to ORDER.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; I simplified your code and highlighted the changes as shown below. I was explicit about the orientation and margin options with an OPTIONS statement.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="modified_code.png" style="width: 441px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/30133i4D35F713ABD66F8B/image-size/large?v=v2&amp;amp;px=999" role="button" title="modified_code.png" alt="modified_code.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>Sat, 08 Jun 2019 20:57:34 GMT</pubDate>
    <dc:creator>Cynthia_sas</dc:creator>
    <dc:date>2019-06-08T20:57:34Z</dc:date>
    <item>
      <title>proc report pdf help!</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/proc-report-pdf-help/m-p/564467#M22833</link>
      <description>&lt;P&gt;Hello Everyone,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am preparing my first ever pdf file &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Below are a few questions I have if you could please help out!!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am grouping based on metric..(I could group based on metric &lt;STRONG&gt;AND &lt;/STRONG&gt;dimension1 if that helps)&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Dimension1 has values&amp;nbsp;&lt;/P&gt;&lt;P&gt;Total&lt;/P&gt;&lt;P&gt;Total_split1&lt;/P&gt;&lt;P&gt;Total_split2&lt;/P&gt;&lt;P&gt;Total_SplitA&lt;/P&gt;&lt;P&gt;Total_SplitB&lt;/P&gt;&lt;P&gt;Total_SplitC&lt;/P&gt;&lt;P&gt;Total_SplitD&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1.) I want a line before Total_SplitA but only for the rows under the "count" and "Region" columns..Is there a way to achieve this?&lt;/P&gt;&lt;P&gt;2.) How can I bold the Total row values?&lt;/P&gt;&lt;P&gt;3.) For every group in the metric I want a line which I obtain using&lt;/P&gt;&lt;P&gt;(compute dimension1;&lt;/P&gt;&lt;P&gt;if dimension1 = 'Total' then call define(_row_,'style','style=[bordertopcolor=black bordertopwidth=1]');&lt;/P&gt;&lt;P&gt;endcomp;&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;P&gt;Is there a better way to do this?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Below is my code:&lt;/P&gt;&lt;P&gt;ods pdf file="&amp;amp;report_dir/PDF_file_draft1.pdf"&amp;nbsp; notoc;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;proc&lt;/STRONG&gt; &lt;STRONG&gt;report&lt;/STRONG&gt; data=FILE1 headline headskip&lt;/P&gt;&lt;P&gt;style(report)=[cellspacing=&lt;STRONG&gt;0&lt;/STRONG&gt; cellpadding=&lt;STRONG&gt;0.5&lt;/STRONG&gt; frame = boxrules=groups font=(Arial, &lt;STRONG&gt;7&lt;/STRONG&gt;pt, bold) WIDTH=&lt;STRONG&gt;100&lt;/STRONG&gt;%]&lt;/P&gt;&lt;P&gt;style(header)=[foreground=white background=black&lt;/P&gt;&lt;P&gt;font=(Arial, &lt;STRONG&gt;7&lt;/STRONG&gt;pt, bold) borderbottomwidth=&lt;STRONG&gt;0&lt;/STRONG&gt; bordertopwidth=&lt;STRONG&gt;0&lt;/STRONG&gt; borderrightwidth=&lt;STRONG&gt;0&lt;/STRONG&gt; borderleftwidth=&lt;STRONG&gt;0&lt;/STRONG&gt; bordercolor=black NOBREAKSPACE=ON ]&lt;/P&gt;&lt;P&gt;style(column)=[font=(Arial, &lt;STRONG&gt;7&lt;/STRONG&gt;pt) foreground=black background=CXFFFFFF JUST = C VJUST=C bordertopwidth=&lt;STRONG&gt;0&lt;/STRONG&gt; borderrightwidth=&lt;STRONG&gt;0&lt;/STRONG&gt; borderleftwidth=&lt;STRONG&gt;0&lt;/STRONG&gt; bordercolor=white ];&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Columns&lt;/P&gt;&lt;P&gt;metric dimension1&lt;/P&gt;&lt;P&gt;("Count" Col_A Col_B Col_C Col_D Col_E Col_F)&lt;/P&gt;&lt;P&gt;("Region" Col_X Col_Y Col_Z);&lt;/P&gt;&lt;P&gt;define metric/group order=data;&lt;/P&gt;&lt;P&gt;define dimension1 /display ;&lt;/P&gt;&lt;P&gt;define Col_A/display&amp;nbsp; format = comma12.;&lt;/P&gt;&lt;P&gt;define Col_B/ display format = percentn12.1;&lt;/P&gt;&lt;P&gt;define Col_C/display format = percentn12.1 ;&lt;/P&gt;&lt;P&gt;define Col_D/format = comma12. ;&lt;/P&gt;&lt;P&gt;define Col_E/display format = comma12.;&lt;/P&gt;&lt;P&gt;define Col_F/display format = comma12.;&lt;/P&gt;&lt;P&gt;define Col_X/display format = comma12.;&lt;/P&gt;&lt;P&gt;define Col_Y/display format = dollar12.2;&lt;/P&gt;&lt;P&gt;define Col_Z/display format = dollar12.;&lt;/P&gt;&lt;P&gt;compute dimension1;&lt;/P&gt;&lt;P&gt;if dimension1 = 'Total' then call define(_row_,'style','style=[bordertopcolor=black bordertopwidth=1]');&lt;/P&gt;&lt;P&gt;endcomp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;compute Col_A; call define(_COL_,'style','style=[borderleftcolor=black borderleftwidth=1]');endcomp;&lt;/P&gt;&lt;P&gt;compute Col_X; call define(_COL_,'style','style=[borderleftcolor=black borderleftwidth=1]');endcomp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;run&lt;/STRONG&gt;;&lt;/P&gt;&lt;P&gt;ods pdf close;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Below is the my expected format:&lt;/P&gt;&lt;P&gt;Total = Total_Split1 and Total_Split2&lt;/P&gt;&lt;P&gt;Total=Total_SplitA+Total_SplitB+Total_SplitC+Total_SplitD (split in a different way)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.PNG" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/30099i3052CAB5BBF067F8/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.PNG" alt="Capture.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 07 Jun 2019 17:43:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/proc-report-pdf-help/m-p/564467#M22833</guid>
      <dc:creator>new_sas_user_4</dc:creator>
      <dc:date>2019-06-07T17:43:29Z</dc:date>
    </item>
    <item>
      <title>Re: proc report pdf help!</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/proc-report-pdf-help/m-p/564527#M22834</link>
      <description>&lt;P&gt;Hi: Without data, nobody can test your code. In order to test your code, people have to make fake data and that means that have to guess the structure of your data. Are you sure your program is working? I don't see the dollar format being used for Col_Y and Col_Z.&lt;BR /&gt;&lt;BR /&gt;You asked:&lt;BR /&gt;1.) I want a line before Total_SplitA but only for the rows under the "count" and "Region" columns..Is there a way to achieve this?&lt;BR /&gt;&lt;BR /&gt;&amp;gt;&amp;gt; I don't understand this -- Are you saying that you do NOT want a line above Metric and Dimension1 in the desired output? This is not clear to me.&lt;BR /&gt;&lt;BR /&gt;2.) How can I bold the Total row values?&lt;BR /&gt;&amp;gt;&amp;gt;You are already doing a test for dimension1='Total' in a compute block. Have you tried the following&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT face="courier new,courier"&gt;compute dimension1;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp; if dimension1 = 'Total' then &lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp; call define(_row_,'style','style=[bordertopcolor=black bordertopwidth=1&lt;FONT color="#FF00FF"&gt; font_weight=bold&lt;/FONT&gt;]');&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT face="courier new,courier"&gt;endcomp;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;3.) For every group in the metric I want a line which I obtain using compute dimension1;&lt;BR /&gt;&lt;BR /&gt;Is there a better way to do this?&lt;/P&gt;
&lt;P&gt;&amp;gt;&amp;gt; I don't know what you mean when you say "for every group in the metric".&amp;nbsp; Do you mean you want lines UNDER every single value for Dimension1? Or you want a line where you show it in the desired output? Since I can't run your code to see what you're getting now and since you only show your desired output, I can't compare what you're getting now to what you want to see what changes need to be made.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;gt;&amp;gt; You could have turned off all the interior table lines using the JOURNAL style instead of the technique you used, but even so, you might try the PEARL or SAPPHIRE style to see if the LINES you get are more what you want.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also, options like HEADLINE and HEADSKIP have no impact on ODS PDF, so they will be ignored. And, for many reasons, posted in previous forum entries, the use of the simple font name Arial is frequently ignored by ODS PDF. Typically for PDF, you need to specify "Arial Unicode MS" which is the preferred way for Adobe Acrobat to refer to the Arial font. Here's one posting: &lt;A href="https://communities.sas.com/t5/General-SAS-Programming/Changing-font-size-of-superscript-characters/td-p/117633" target="_blank"&gt;https://communities.sas.com/t5/General-SAS-Programming/Changing-font-size-of-superscript-characters/td-p/117633&lt;/A&gt; and here's another: &lt;A href="https://communities.sas.com/t5/ODS-and-Base-Reporting/TEMPLATE-STYLE-change-font-family-and-size/td-p/297552" target="_blank"&gt;https://communities.sas.com/t5/ODS-and-Base-Reporting/TEMPLATE-STYLE-change-font-family-and-size/td-p/297552&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Cynthia&lt;/P&gt;</description>
      <pubDate>Fri, 07 Jun 2019 18:14:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/proc-report-pdf-help/m-p/564527#M22834</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2019-06-07T18:14:42Z</dc:date>
    </item>
    <item>
      <title>Re: proc report pdf help!</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/proc-report-pdf-help/m-p/564658#M22837</link>
      <description>&lt;P&gt;Thanks Cynthia !&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Below is the sample data and code:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;data raw_data;&lt;BR /&gt;length metric $7 dimension1 $12 ;&lt;BR /&gt;input metric $ dimension1 $ Col_A Col_B Col_C Col_D Col_E Col_F Col_X Col_Y Col_Z ;&lt;BR /&gt;datalines;&lt;BR /&gt;Ontario Total 100 0.67 0.70 400 100 250 50 500 0.21&lt;BR /&gt;Alberta Total 70 0.65 0.56 200 60 150 40 400 0.23&lt;BR /&gt;Ontario Total_split1 40 0.51 0.75 250 70 140 40 300 0.22&lt;BR /&gt;Alberta Total_split1 30 0.45 0.72 120 30 120 10 130 0.26&lt;BR /&gt;Ontario Total_split2 60 0.37 0.75 150 30 110 10 200 0.23&lt;BR /&gt;Alberta Total_split2 40 0.29 0.77 80 30 30 30 270 0.04&lt;BR /&gt;Ontario Total_splitA 20 0.21 0.80 100 30 90 10 120 0.25&lt;BR /&gt;Alberta Total_splitA 10 0.13 0.82 90 10 50 10 100 0.04&lt;BR /&gt;Ontario Total_splitB 20 0.05 0.85 150 40 100 10 130 0.26&lt;BR /&gt;Alberta Total_splitB 20 0.45 0.87 80 20 60 12 70 0.86&lt;BR /&gt;Ontario Total_splitC 50 0.85 0.90 30 10 10 20 100 0.35&lt;BR /&gt;Alberta Total_splitC 30 1.25 0.92 10 12 15 5 80 2.82&lt;BR /&gt;Ontario Total_splitD 10 1.65 0.95 -50 -10 50 10 150 0.56&lt;BR /&gt;Alberta Total_splitD 10 2.05 0.97 20 18 25 13 150 1.12&lt;BR /&gt;;&lt;BR /&gt;%let report_dir = %sysfunc(pathname(work));&lt;BR /&gt;ods pdf file="&amp;amp;report_dir/PDF_file_draft1.pdf" notoc;&lt;/P&gt;&lt;P&gt;proc report data=raw_Data headline headskip&lt;/P&gt;&lt;P&gt;style(report)=[cellspacing=0 cellpadding=0.5 frame = box rules=groups font=(Arial, 7pt, bold) WIDTH=100%]&lt;/P&gt;&lt;P&gt;style(header)=[foreground=white background=black&lt;/P&gt;&lt;P&gt;font=(Arial, 7pt, bold) borderbottomwidth=0 bordertopwidth=0 borderrightwidth=0 borderleftwidth=0 bordercolor=black NOBREAKSPACE=ON ]&lt;/P&gt;&lt;P&gt;style(column)=[font=(Arial, 7pt) foreground=black background=CXFFFFFF JUST = C VJUST=C bordertopwidth=0 borderrightwidth=0 borderleftwidth=0 bordercolor=white ];&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Columns&lt;/P&gt;&lt;P&gt;metric dimension1&lt;/P&gt;&lt;P&gt;("Count" Col_A Col_B Col_C Col_D Col_E Col_F)&lt;/P&gt;&lt;P&gt;("Region" Col_X Col_Y Col_Z);&lt;/P&gt;&lt;P&gt;define metric/group order=data;&lt;/P&gt;&lt;P&gt;define dimension1 /display ;&lt;/P&gt;&lt;P&gt;define Col_A/display format = comma12.;&lt;/P&gt;&lt;P&gt;define Col_B/ display format = percentn12.1;&lt;/P&gt;&lt;P&gt;define Col_C/display format = percentn12.1 ;&lt;/P&gt;&lt;P&gt;define Col_D/format = comma12. ;&lt;/P&gt;&lt;P&gt;define Col_E/display format = comma12.;&lt;/P&gt;&lt;P&gt;define Col_F/display format = comma12.;&lt;/P&gt;&lt;P&gt;define Col_X/display format = comma12.;&lt;/P&gt;&lt;P&gt;define Col_Y/display format = dollar12.2;&lt;/P&gt;&lt;P&gt;define Col_Z/display format = dollar12.;&lt;/P&gt;&lt;P&gt;compute dimension1;&lt;/P&gt;&lt;P&gt;if dimension1 = 'Total' then call define(_row_,'style','style=[bordertopcolor=black bordertopwidth=1]');&lt;/P&gt;&lt;P&gt;endcomp;&lt;/P&gt;&lt;P&gt;compute Col_A; call define(_COL_,'style','style=[borderleftcolor=black borderleftwidth=1]');endcomp;&lt;BR /&gt;compute Col_X; call define(_COL_,'style','style=[borderleftcolor=black borderleftwidth=1]');endcomp;&lt;/P&gt;&lt;P&gt;run;&lt;BR /&gt;ods pdf close;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This produces the below output:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.PNG" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/30123iF163AD73EDCD116C/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.PNG" alt="Capture.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want the output to look like below :&lt;/P&gt;&lt;P&gt;- Horizontal line after Total_split2 (not under metric)&lt;/P&gt;&lt;P&gt;- Vertical line after the column metric&lt;/P&gt;&lt;P&gt;Also, if the first column (Ontario, Alberta) to be centered(like merge and center in excel) &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="desired.png" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/30124i2E862865F8A4C4E1/image-size/large?v=v2&amp;amp;px=999" role="button" title="desired.png" alt="desired.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you !!&lt;/P&gt;</description>
      <pubDate>Sat, 08 Jun 2019 14:35:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/proc-report-pdf-help/m-p/564658#M22837</guid>
      <dc:creator>new_sas_user_4</dc:creator>
      <dc:date>2019-06-08T14:35:13Z</dc:date>
    </item>
    <item>
      <title>Re: proc report pdf help!</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/proc-report-pdf-help/m-p/564698#M22840</link>
      <description>&lt;P&gt;Hi:&lt;/P&gt;
&lt;P&gt;&amp;nbsp; Thanks for providing the data. I took out HEADLINE and HEADSKIP since they did not serve any purpose as options and simplified your code and came up with this:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="border_example.png" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/30132i1AD954354A105D51/image-size/large?v=v2&amp;amp;px=999" role="button" title="border_example.png" alt="border_example.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; The only thing that is different, to my eye, is that your divider between Total_splitA and Total_split2 does NOT go all the way over to the border for Metric/Dimension. When altering borders, the borders span the WHOLE cell, you can't start the border away from the left edge as you showed.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; You should have been getting notes in the log about the GROUP usage for Metric not being possible because the usage of Dimension1 was DISPLAY -- to fix that you just need to change the usage of Metric to ORDER.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; I simplified your code and highlighted the changes as shown below. I was explicit about the orientation and margin options with an OPTIONS statement.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="modified_code.png" style="width: 441px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/30133i4D35F713ABD66F8B/image-size/large?v=v2&amp;amp;px=999" role="button" title="modified_code.png" alt="modified_code.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>Sat, 08 Jun 2019 20:57:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/proc-report-pdf-help/m-p/564698#M22840</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2019-06-08T20:57:34Z</dc:date>
    </item>
    <item>
      <title>Re: proc report pdf help!</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/proc-report-pdf-help/m-p/564997#M22841</link>
      <description>&lt;P&gt;Thanks a lot Cynthia &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; This is perfect!!&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 10 Jun 2019 18:20:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/proc-report-pdf-help/m-p/564997#M22841</guid>
      <dc:creator>new_sas_user_4</dc:creator>
      <dc:date>2019-06-10T18:20:48Z</dc:date>
    </item>
  </channel>
</rss>

