Date: Wed, 22 Feb 2006 18:28:23 -0800
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Jack Hamilton <jfh@STANFORDALUMNI.ORG>
Subject: Re: Print formatted letter with SAS/INTRNET
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
I guess I'm missing something. ODS can create RTF (which is close
enough to Word), PDF, and HTML. What is it that you think can't be done
There's a SUGI paper written by one of the ODS gurus that was created
using only ODS - tables, figures, justified text, the works, if I recall
correctly - but I'm on the train and don't have unlimited high speed
internet access to find it.
on 2/22/2006 7:52 AM Francis Harvey said the following:
> I want to clarify a few details that you and perhaps other might be
> confused on:
> -I need a solution that will work with SAS/IntrNet. I assumed this would
> clarify for people that solutions based on interacting with Word, Adobe
> Acrobat, etc would not be practical as such software isn't usually
> installed on such a server. I can confirm that STAT & GRAPH are
> available on the server, and I have been emailed a post by Ya Huang
> suggesting gprint might be able to at least let me format the font type
> and size that I will need to look into, but he indicates there are
> certain limitations on font choice (fixed font) and letter spacing that
> may make it impractical for the type of official correspondence I hope
> to print.
> -I am seeking to produce a formatted letter. I would like to have the
> html destination available for quick review, but rtf and pdf are the two
> key destinations for this task. I am not specifying an ODS solution
> although it would seem to offer the most chance for supporting all three
> destinations, but Ya's method may be perfectly acceptable if I can find
> a way around the limitations. I only mentioned tagsets, etc in order to
> show what I have already tried and what problems I ran into with each
> attempt. Please let me know of any other methods that I have failed to
> consider if you know of them.
> Your suggestion of hard coding the html and rtf tags would be practical
> for this letter, but I can't do this with pdf to my knowledge which must
> be included as a destination type. It would now seem relevant to also
> mention that this is actually a mail merge process, so I can't simply
> create a pdf version of the letter and stream it through to _webout. The
> text must change for each new recipient.
> Thanks for all the suggestions so far.
> Francis R Harvey III
> WB 303, (301)294-3952
>> -----Original Message-----
>> From: SAS(r) Discussion [mailto:SAS-L@listserv.vt.edu] On
>> Behalf Of Don Henderson
>> Sent: Tuesday, February 21, 2006 9:28 PM
>> To: SAS-L@LISTSERV.VT.EDU
>> Subject: Re: Print formatted letter with SAS/INTRNET
>> The fact that you are using SAS/IntrNet to do this is
>> probably not relevant.
>> Your problem is actually more about how to do this in SAS.
>> With that said, why do you need any tagset at all? Why do you
>> think you need
>> to use ODS?
>> You need to make sure to include the proper HTML tags based
>> on what you want
>> to do. For example, <P> tags to start a new paragraph, <B>
>> for bold, etc.
>> Then just write the lines with the markup using:
>> file _webout;
>> . . . . . .
>> Put line;
>> Along with the appropriate markup.
>> -----Original Message-----
>> From: SAS(r) Discussion [mailto:SAS-L@LISTSERV.UGA.EDU] On
>> Behalf Of Francis
>> Sent: Tuesday, February 21, 2006 5:39 PM
>> To: SAS-L@LISTSERV.UGA.EDU
>> Subject: Print formatted letter with SAS/INTRNET
>> I need to print a formatted letter stored as lines in a data set using
>> various ods output destinations (html, rtf, pdf) from a
>> SAS/INTRNET web
>> site. SAS/FSP is not installed on this server. I have tried
>> using a data
>> _null_ step with a file print statement, but the ods style I
>> tried to apply
>> for formatting the letter was ignored which appears to be
>> intentional from
>> an ods reference manual I read. All other printing options
>> (data _null_ with
>> file print ods statement, proc print, proc report, etc) seem
>> to insist on
>> printing a table header row which would be inappropriate for
>> a letter. I
>> have also tried to create a tagset, but while I can stop the
>> header for
>> printing, I can't seem to produce an html tagset that doesn't
>> cause other
>> problems, let alone create versions for the other destinations. Any
>> alternative approaches or suggestions you provide are appreciated.
>> Francis R Harvey III
>> WB 303, (301)294-3952