>I'm using FoxPro to print Word RTF files. I need to chop off the header of the RTF file. Anyone know how to find the end of the header using low level file functions?
>
The real header of a RTF file can consist of
\rtf charset \deff fonttbl filetbl colortbl stylesheet revtbl
where all the parts except the \rtf charset can be optional.
If you look at typical RTF files other things appear to also be part of the header such as page size, margins, paragraph definitions etc, however, these are really part of the document section.
I suggest you download and print:
http://www.primate.wisc.edu/software/RTF/RTF-Spec-1.3.rtfThis seems to be a copy of the official Microsoft RTF file specification document which is probably available other places as well. It contains more than you ever wanted to know.
Good luck