Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to print rich text from a Text Box
Message
 
 
To
12/10/1998 14:02:31
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00145964
Message ID:
00146066
Views:
27
John Petersen and Andrew Ross MacNeill had something a few months ago in Foxpro advisor that entailed getting a windows printer device context and using it to print from the rich text box. I dont think that their example used the fox report writer at all.

Another approach is to write out your RTF to a file and use OLE automation to get Microsoft Word to open and print it for you.

>Hi,
>
>Does any body knows how to send the rich text formatted text to printer. (Note: RichText is saved in a memo field.) and we are using RichText active X components to show fonts, Size and Colors on the form but when you we print it through the report writer or directly to the printer it Prints Codes and Special Characters.
>
>Help......
>
>
>Thanks
>
>Abdul H. Bokhari,
>
>CanaSoft / CronoMagic Inc.
Rick Hodder
MCP Visual Foxpro
C#, VB.NET Developer
Independent Consultant
www.RickHodder.com
MyBlog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform