Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Print Job Autodetected?
Message
 
 
À
01/06/2001 16:59:24
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
00514052
Message ID:
00514106
Vues:
16
>It´s posible from a VFP applictaion (I´m using V 5.0) to detect when a user send a print job from any application using the print manager? I mean, like a counter of how many pages the user prints...
>
>If somebody knows, help will be apreciate!

If it for the particular report, you can call some UDF from page footer. For instance, call IncrementCounter() function (place it at the report footer).

Before calling your report do:
private pnCounter
pnCounter=0

In your function just put one line:
pnCounter=m.pnCounter+1

This way you'll know, how many pages user prints. But as I said, this would work only for the particular report, you place this function to. If you want some general solution, I don't have one, sorry. I doubt, you can find API function for this either...
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform