>Hi John,
>
>>I need to print the RTF from the report writer if possible.
>
>That's difficult to impossible. The problem is this: To use the RTF ActiveX control to print the text you have to pass it the _same_ device context that VFP is using to print. While it's possible to determine all currently existing device contexts, I yet haven't found a way to determine to which application a DC belongs.
>
>Therefore the only way to print RTF is to use a OLE server. That means you have to add the RTF file to a general field, and use, for example, WinWord for printing the text. Of course a general field is limited in a report. I don't think you can print more than one page.
>
>Christof
Hi Christof, thanks for your response!
Can a general field be populated with a wordpad document and then printed using the report writer? I tried this, but I can't seem to get the reprot writer to print the text correctly. When I preview the report the text looks alright but when I print it the right margin gets barfed up somehow. I truncates each line by a character on some lines and several characters on others. Any thoughts on how I can get something like this to work with the report writer?
Thanks.
John.
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only