<?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 ODS PDF line break in compute in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-PDF-line-break-in-compute/m-p/57084#M6879</link>
    <description>I am using SAS v9.2&lt;BR /&gt;
&lt;BR /&gt;
I'm trying to output on a compute the following lines:&lt;BR /&gt;
&lt;BR /&gt;
LINE1&lt;BR /&gt;
LINE2&lt;BR /&gt;
&lt;BR /&gt;
using the following line of code:&lt;BR /&gt;
&lt;BR /&gt;
compute before variable;&lt;BR /&gt;
                line  "~S={just=left font_face='Arial' font_weight=bold font_size=12pt foreground=black cellheight=0.18in vjust=center}" || &lt;BR /&gt;
                             trim(left(LINE1)) || "~n" ||&lt;BR /&gt;
                             "~S={just=left font_size=10pt cellheight=0.15in}" ||&lt;BR /&gt;
                             trim(left(LINE2)) $500.;&lt;BR /&gt;
&lt;BR /&gt;
I'm using ODS ESCAPECHAR="~";&lt;BR /&gt;
&lt;BR /&gt;
What I need is a carriage-return between the two lines.  What I get is the first line of output only.  LINE2 does not print (or at least display).&lt;BR /&gt;
&lt;BR /&gt;
What am I doing wrong?</description>
    <pubDate>Mon, 27 Oct 2008 12:08:13 GMT</pubDate>
    <dc:creator>deleted_user</dc:creator>
    <dc:date>2008-10-27T12:08:13Z</dc:date>
    <item>
      <title>ODS PDF line break in compute</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-PDF-line-break-in-compute/m-p/57084#M6879</link>
      <description>I am using SAS v9.2&lt;BR /&gt;
&lt;BR /&gt;
I'm trying to output on a compute the following lines:&lt;BR /&gt;
&lt;BR /&gt;
LINE1&lt;BR /&gt;
LINE2&lt;BR /&gt;
&lt;BR /&gt;
using the following line of code:&lt;BR /&gt;
&lt;BR /&gt;
compute before variable;&lt;BR /&gt;
                line  "~S={just=left font_face='Arial' font_weight=bold font_size=12pt foreground=black cellheight=0.18in vjust=center}" || &lt;BR /&gt;
                             trim(left(LINE1)) || "~n" ||&lt;BR /&gt;
                             "~S={just=left font_size=10pt cellheight=0.15in}" ||&lt;BR /&gt;
                             trim(left(LINE2)) $500.;&lt;BR /&gt;
&lt;BR /&gt;
I'm using ODS ESCAPECHAR="~";&lt;BR /&gt;
&lt;BR /&gt;
What I need is a carriage-return between the two lines.  What I get is the first line of output only.  LINE2 does not print (or at least display).&lt;BR /&gt;
&lt;BR /&gt;
What am I doing wrong?</description>
      <pubDate>Mon, 27 Oct 2008 12:08:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-PDF-line-break-in-compute/m-p/57084#M6879</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2008-10-27T12:08:13Z</dc:date>
    </item>
    <item>
      <title>Re: ODS PDF line break in compute</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-PDF-line-break-in-compute/m-p/57085#M6880</link>
      <description>I seemed to have figured it out.  If I remove the cellheight part of the inline style it works.</description>
      <pubDate>Mon, 27 Oct 2008 12:21:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-PDF-line-break-in-compute/m-p/57085#M6880</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2008-10-27T12:21:09Z</dc:date>
    </item>
    <item>
      <title>Re: ODS PDF line break in compute</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-PDF-line-break-in-compute/m-p/57086#M6881</link>
      <description>John,&lt;BR /&gt;
&lt;BR /&gt;
Give this a try..&lt;BR /&gt;
&lt;BR /&gt;
	COMPUTE AFTER **FIELD** /&lt;BR /&gt;
	STYLE={BACKGROUND=black CELLHEIGHT=.1px FONT_SIZE=.1px};&lt;BR /&gt;
	LINE ' ';&lt;BR /&gt;
	ENDCOMP;</description>
      <pubDate>Mon, 27 Oct 2008 15:01:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-PDF-line-break-in-compute/m-p/57086#M6881</guid>
      <dc:creator>mdavidson</dc:creator>
      <dc:date>2008-10-27T15:01:56Z</dc:date>
    </item>
  </channel>
</rss>

