1. ".rtf" format

I have a databaseprogram that runs in dos. It makes output to a textfile.
Since adding printercapability to the program is more pain than gain, the
user opens the file in a windows-based texteditor (Word 6.0) and prints it
from there. I would like to make the output in the ".rtf" format, if this
format is somewhat simple to handle. Does anyone know the format, or can
point me to some documentation of it?

Einar Mogen

new topic     » topic index » view message » categorize

2. Re: ".rtf" format

Einar Mogen wrote:
>
> I have a databaseprogram that runs in dos. It makes output to a textfile.
> Since adding printercapability to the program is more pain than gain, the
> user opens the file in a windows-based texteditor (Word 6.0) and prints it
> from there. I would like to make the output in the ".rtf" format, if this
> format is somewhat simple to handle. Does anyone know the format, or can
> point me to some documentation of it?
>
> Einar Mogen


                I have a doc explaining it somewhere( I have a fair
sized collection of file formats described in various text based
fromats), I'll send it e-mail if anyone else wants it say so .


        Kasey

new topic     » goto parent     » topic index » view message » categorize

3. Re: ".rtf" format

Einar Mogen wrote:
>
> I have a databaseprogram that runs in dos. It makes output to a textfile.
> Since adding printercapability to the program is more pain than gain, the
> user opens the file in a windows-based texteditor (Word 6.0) and prints it
> from there. I would like to make the output in the ".rtf" format, if this
> format is somewhat simple to handle. Does anyone know the format, or can
> point me to some documentation of it?
>
> Einar Mogen

                        Excuse me if two simular messages show  up,
but I lost connection while sending.

        I have the rtf format (1.5) in my collection of docs on file
formats, Ill send it e-mail, it's 142k ziped though. if anyone else
needs it (or the material to update 1.4 to 1.5) let me know.

                Kasey

new topic     » goto parent     » topic index » view message » categorize

4. Re: ".rtf" format

>I have a databaseprogram that runs in dos. It makes output to a textfile.
>Since adding printercapability to the program is more pain than gain, the
>user opens the file in a windows-based texteditor (Word 6.0) and prints it
>from there. I would like to make the output in the ".rtf" format, if this
>format is somewhat simple to handle. Does anyone know the format, or can
>point me to some documentation of it?
>
>Einar Mogen


I found several months ago the RTF specification at Microsoft's ftp. Don't
remeber the URL... you'll have to do an intense search. The file was quite
cool (and long!), it even came with a C source for parsing a RTF file.

Regards,
    Daniel Berstein
    daber at pair.com

new topic     » goto parent     » topic index » view message » categorize

5. Re: ".rtf" format

-----Original Message-----
De: Kasey <kaeyb at GEOCITIES.COM>
Para: EUPHORIA at cwisserver1.mcs.muohio.edu
<EUPHORIA at cwisserver1.mcs.muohio.edu>
Fecha: domingo 7 de junio de 1998 15:35
Asunto: Re: ".rtf" format


>Einar Mogen wrote:
>>
>> I have a databaseprogram that runs in dos. It makes output to a textfile.
>> Since adding printercapability to the program is more pain than gain, the
>> user opens the file in a windows-based texteditor (Word 6.0) and prints
it
>> from there. I would like to make the output in the ".rtf" format, if this
>> format is somewhat simple to handle. Does anyone know the format, or can
>> point me to some documentation of it?
>>
>> Einar Mogen
>                I have a doc explaining it somewhere( I have a fair
>sized collection of file formats described in various text based
>fromats), I'll send it e-mail if anyone else wants it say so .
>        Kasey


OK. I found the RTF stuff. It's at  http://www.wotsit.org/wtext/rtf15.zip
(150K)

BTW Go to http://www.wotsit.org They have tons of file formats.. amazing!


Regards,
    Daniel   Berstein
    daber at pair.com

new topic     » goto parent     » topic index » view message » categorize

6. Re: ".rtf" format

Jeff Zeitlin wrote:
>ISTR downloading it from somewhere on Microsoft's web site; it
>was developed by MS for Word, way back when.  It's complex; you
>_don't_ want to try generating it directly if you can avoid it.
>If you're using Word (as opposed to WordPad), why not make sure
>that you have the Internet Assistant for Word, and put out HTML -
>Word will convert and print it just as well - and IE and Netscape
>and Opera and other programs will print it out without
>converting.

Is "Internet Assistant for Word" compatible with Word 6.0 (for windows 3.1),
and is it downloadable from somewhere, or should it come with some package?

>Next question: do you really need the extended formatting
>capabilities of Word or HTML, or would "typewriter-style" text be
>acceptable?  If the latter, and you don't output more than 64K of
>text at once, you could just as easily use Notepad.

Usually the program will not output more than 64K, but it happens. The
formatting is not strictly needed, I've thought about adding it to save the
user a little work. HTML will do just as good, but currently Word 6.0 does
not support HTML, and there is no browser installed on that computer. I've
looked at the specs for RTF (thanks for all help, guys!) and it does look
overhelming, so I will probably not use it in this project (but it could be
cool to write a texteditor that used Jiri Babors font routines and RTF...)

Einar Mogen

PS: has something happened on your Traveller-site lately? I have not been
there for a while.

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu