<?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 Headline Break PDF in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Proc-Report-Headline-Break-PDF/m-p/970818#M377178</link>
    <description>&lt;P&gt;Hi Kathryn - with above suggested code, only 3 columns show up Page 1 and next 2 are getting pushed to next page.&amp;nbsp; My intention is to make the page wide (minus the margins) and fit in as many columns as possible.&lt;/P&gt;</description>
    <pubDate>Tue, 15 Jul 2025 16:57:16 GMT</pubDate>
    <dc:creator>usanj</dc:creator>
    <dc:date>2025-07-15T16:57:16Z</dc:date>
    <item>
      <title>Proc Report Headline Break PDF</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-Report-Headline-Break-PDF/m-p/970792#M377170</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to generate both RTF and PDF output using the same PROC REPORT. It works fine for RTF &amp;amp; PDF when I don't assign any cell widths in define statement. But I see a break line in the row over the column headers for the column which has the cell widths assigned.&amp;nbsp; Below is the sample code. No issues in _car2* but I see the break line in _car1.pdf output. Any suggestions to fix this to allow the cell width control of any column without the break line causing the issue?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;ods path work.temp(update) sashelp.tmplmst(read) sasuser.templat(update);&lt;/P&gt;&lt;P&gt;options leftmargin=0.75in rightmargin=0.75in topmargin=0.75in bottommargin=0.75in;&lt;/P&gt;&lt;P&gt;options orientation=landscape;&lt;/P&gt;&lt;P&gt;proc template;&lt;BR /&gt;define style cstyle;&lt;BR /&gt;parent=styles.Printer;&lt;BR /&gt;style Table /&lt;BR /&gt;foreground=black&lt;BR /&gt;background=white&lt;BR /&gt;cellspacing=0&lt;BR /&gt;cellpadding=0&lt;BR /&gt;frame=hsides&lt;BR /&gt;rules=groups&lt;BR /&gt;;&lt;BR /&gt;style Body /&lt;BR /&gt;foreground=black&lt;BR /&gt;background=white&lt;BR /&gt;;&lt;BR /&gt;style SysTitleAndFooterContainer /&lt;BR /&gt;cellspacing=0&lt;BR /&gt;;&lt;BR /&gt;end;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ods rtf file="/outputs/_cars1.rtf" startpage=yes style=cstyle;&lt;BR /&gt;ods pdf file="/outputs/_cars1.pdf" startpage=yes style=cstyle;&lt;/P&gt;&lt;P&gt;proc report data=sashelp.cars nowd style(report)={just=left outputwidth=100%};&lt;BR /&gt;column ( make model type origin drivetrain);&lt;BR /&gt;define make / style(column)={just=left cellwidth=10%};&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;ods _all_ close;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;ods rtf file="/outputs/_cars2.rtf" startpage=yes style=cstyle;&lt;BR /&gt;ods pdf file="/outputs/_cars2.pdf" startpage=yes style=cstyle;&lt;/P&gt;&lt;P&gt;proc report data=sashelp.cars nowd style(report)={just=left outputwidth=100%};&lt;BR /&gt;column ( make model type origin drivetrain);&lt;BR /&gt;define make / style(column)={just=left };&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;ods _all_ close;&lt;/P&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>Tue, 15 Jul 2025 12:53:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-Report-Headline-Break-PDF/m-p/970792#M377170</guid>
      <dc:creator>usanj</dc:creator>
      <dc:date>2025-07-15T12:53:55Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Report Headline Break PDF</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-Report-Headline-Break-PDF/m-p/970811#M377173</link>
      <description>&lt;P&gt;Instead of using OUTPUTWIDTH, define a CELLWIDTH for each column.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ods _all_ close;
ods rtf file="_cars1.rtf" startpage=yes style=cstyle;
ods pdf file="c_cars1.pdf" startpage=yes style=cstyle;

proc report data=sashelp.cars nowd style(report)={just=left};
column ( make model type origin drivetrain);
define make / style(column)={just=left cellwidth=1in};
define model / style(column)=[cellwidth=2in];
define type / style(column)=[cellwidth=2in];
define origin  /style(column)=[cellwidth=2in];
define drivetrain / style(column)=[cellwidth=1in];
run;

ods _all_ close;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 15 Jul 2025 15:45:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-Report-Headline-Break-PDF/m-p/970811#M377173</guid>
      <dc:creator>Kathryn_SAS</dc:creator>
      <dc:date>2025-07-15T15:45:49Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Report Headline Break PDF</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-Report-Headline-Break-PDF/m-p/970818#M377178</link>
      <description>&lt;P&gt;Hi Kathryn - with above suggested code, only 3 columns show up Page 1 and next 2 are getting pushed to next page.&amp;nbsp; My intention is to make the page wide (minus the margins) and fit in as many columns as possible.&lt;/P&gt;</description>
      <pubDate>Tue, 15 Jul 2025 16:57:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-Report-Headline-Break-PDF/m-p/970818#M377178</guid>
      <dc:creator>usanj</dc:creator>
      <dc:date>2025-07-15T16:57:16Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Report Headline Break PDF</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-Report-Headline-Break-PDF/m-p/970820#M377179</link>
      <description>&lt;P&gt;You may have to use trial and error to determine the best Cellwidths based on orientation and margin settings. You will not be able to use OUTPUTWIDTH if you do not want a break in the header border in the PDF output.&lt;/P&gt;</description>
      <pubDate>Tue, 15 Jul 2025 17:22:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-Report-Headline-Break-PDF/m-p/970820#M377179</guid>
      <dc:creator>Kathryn_SAS</dc:creator>
      <dc:date>2025-07-15T17:22:15Z</dc:date>
    </item>
  </channel>
</rss>

