Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to printing the current form to the printer?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00106560
Message ID:
00107134
Vues:
19
>Orphan Foxtools.fll to the rescue (hmm.. maybe). Good point at least we can get a handle to a form. Now all we need is a handle to the printer HDC, marry the two and we have a print form routine.
>
I've checked the values returned from Foxtools using Spy++ and the values are absolutely correct.

As Gerald mentioned, FPA published a routine to get a printer device context. It would seem that this would be the starting point (with some modification) to actually printing the form.

>Does anyone know if VFP 6.0 supports printer objects? That could help. My VB programmers have field days with some of these little advantages.
>
There's been much discussion about 6.0, and from what I recall, the answer is no. Of course, I don't have the beta yet, so I can't say for absolute certain. However, it would seem that with API calls, even it doesn't, this functionality could be simulated in a class.
George

Ubi caritas et amor, deus ibi est
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform