Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to disable printing
Message
From
15/03/2004 15:00:57
 
 
To
14/03/2004 22:32:29
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00886183
Message ID:
00886443
Views:
15
>I am trying to disable all printing from a visual fox 5.0 app. The program takes the users to Win Explorer/Adobe to read a pdf file and I don't want selected users to be able to print. Is there a way from inside a vfp app to set printer to a bogus printer? or some other way to turn all printing off until I say to turn it on again?

On a multi-tasking system that may be doing something else this sounds like an exceptionally bad idea. If I couldn't print from Word while I had your app running I'd be royally annoyed.

If you need that level of control you'll probably need to integrate a 3rd party PDF printing solution into your app and limit printing from there.
Regards. Al

"Violence is the last refuge of the incompetent." -- Isaac Asimov
"Never let your sense of morals prevent you from doing what is right." -- Isaac Asimov

Neither a despot, nor a doormat, be

Every app wants to be a database app when it grows up
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform