Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
RichText Control and SelPrint
Message
De
20/02/2001 15:34:09
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Titre:
RichText Control and SelPrint
Divers
Thread ID:
00477760
Message ID:
00477760
Vues:
63
I am attempting to use the RichText Control Selprint method to print text files created by an older VFP5a application. The first print to the printer goes out correctly. A subsequent print, prints garbage. The application is running on a WinNT4x workstation and printing to an HP printer in a Novell network.

I use the Common Dialog ShowPrinter method to set the commondialog hDC to the selected printer the first time. I then use the hDC with the RichText.SelPrint method. On the second print I don't use the CommonDialog as I have preserved the Handle to the Device Context. I just call the RichText.SelPrint method with the preserved handle. There is no user interaction with the Common Dialog after the first print.

Any sugggestions as to why I get garbage the 2nd time around.
Terry Rooks
Software Systems Architect
Microsoft Certified Solution Developer.Net

If at first you don't succeed, then skydiving definitely isn't for you.
Répondre
Fil
Voir

Click here to load this message in the networking platform