| Date: | Thu, 8 Feb 2007 16:04:56 -0600 |
| Reply-To: | Joyce <joycegeorge@GMAIL.COM> |
| Sender: | "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU> |
| From: | Joyce <joycegeorge@GMAIL.COM> |
| Subject: | Re: Line without headline option |
|
| In-Reply-To: | <16FD64291482A34F995D2AF14A5C932C015A7081@MAIL002.prod.ds.russell.com> |
| Content-Type: | text/plain; charset=ISO-8859-1; format=flowed |
Hi Mark,
Thank you so much for the reply. I used the RULES=GROUPS and also COMPUTE
block to print some lines.
But my original problem appears to happening only on my monitor. The file
printed out nicely with all required lines. I am sorry that I rushed with
the question before trying to print out at least one file.
Thank you,
Joyce.
On 2/8/07, Terjeson, Mark <Mterjeson@russell.com> wrote:
>
> Hi Joyce,
>
> Here is a sample of extra lines in
> title, footer, and after column headings.
>
> The RTF tokens for newline (/par) can be
> used directly in title and footer strings.
>
> The COMPUTE block and the LINE statement
> can be used after the column headings.
>
> There are probably other ways as well.
>
>
>
> ods escapechar='^';
>
>
> proc template;
> define style mystyle/ store=work;
> parent=styles.printer;
> replace body from document /
> cellpadding=0
> pagebreakhtml=html("pagebreakline");
> replace table from output /
> rules=GROUPS;
> end;
> run;
>
>
> ods rtf(1) file='./test001.rtf' style=mystyle;
>
>
> data sample;
> var1 = 'TeamA';
> var2 = 'Wilma';
> var3 = 'Flintstone';
> var4 = 'Yes';
> output;
> var1 = 'TeamA';
> var2 = 'Fred';
> var3 = 'Flintstone';
> var4 = 'No';
> output;
> run;
>
>
> proc report data=sample headline headskip missing split='\'
> contents="Passed";
> title1 j=L "Town Of";
> title2 j=l "BedRock";
> title3 J=l '{\par\par\par\par}';
> title4 J=c "Flintstones";
> title5 j=c "Information";
> footnote1 j=l 'Action Taken/Comments: ^S={font_size=8pt
> font_face=Arial font_weight=light font_style=roman}(Use print layout vi
> ew and double-click to edit comments section)';
> footnote2 j=l '{\par\par\par\par}';
> footnote3 j=l 'Signature:
> Date:';
> col var1 var2 var3 var4;
> define var1 /group noprint;
> define var2 /group "First\Name";
> define var3 /group "Last\Name";
> define var4 /group 'Within\Weight Limits'
> style={just=center};
> compute before var1;
> line ' ';
> endcomp;
> run;
>
>
> ods rtf(1) close;
>
>
>
>
>
>
>
> Hope this is helpful.
>
>
> Mark Terjeson
> Senior Programmer Analyst, IM&R
> Russell Investment Group
>
>
> Russell
> Global Leaders in Multi-Manager Investing
>
>
>
>
>
>
> -----Original Message-----
> From: SAS(r) Discussion [mailto:SAS-L@LISTSERV.UGA.EDU] On Behalf Of
> Joyce
> Sent: Thursday, February 08, 2007 11:53 AM
> To: SAS-L@LISTSERV.UGA.EDU
> Subject: Line without headline option
>
> Hi All,
>
> Is there any way that I can get a line after the column headings without
> using HEADLINE option in PROC REPORT.
> I generated RTF file using PROC REPORT, which has underline after column
> heading. But when I try to convert to PDF, the Column heading underline
> disappears. I also used PROC TEMPLATE to created a STYLE with option
> RULES=GROUPS for the RTF output.
>
> Thank you,
> Jo.
>
|