Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to disable printing
Message
De
15/03/2004 15:00:57
Al Doman (En ligne)
M3 Enterprises Inc.
North Vancouver, Colombie Britannique, Canada
 
 
À
14/03/2004 22:32:29
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
00886183
Message ID:
00886443
Vues:
17
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform