Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Code to Print a VFP Form
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 10
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01665906
Message ID:
01665917
Vues:
68
>Would anyone know how to print a portion or all of a screen image directly to a printer from a complied VFP application? I suspect it can be done by a Windows API call but don't know what that would be. If there is an API call for this, example code would help.
>
>Also, I'm assuming this isn't something that can be done with native VFP coding. Please confirm or provide code for that.
>
>TIA,
>
>Dave L.

If you can't find a solution, I can write you a DLL that will use a tiny VCX object to capture the screen to a bmp file, which you can print on a report. It could capture the whole form, just the client area, or any rectangle within.

Let me know.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform