Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to print rich text from a Text Box
Message
 
 
À
12/10/1998 14:02:31
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00145964
Message ID:
00146066
Vues:
28
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform