Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Print Job Autodetected?
Message
 
 
To
01/06/2001 16:59:24
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00514052
Message ID:
00514106
Views:
15
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform