>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