Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Printstatus() doesn't work!
Message
De
06/08/1999 19:28:26
 
 
À
06/08/1999 19:14:39
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Divers
Thread ID:
00250968
Message ID:
00250974
Vues:
35
>When I want to make some printing works I need to check whether the printer is ready or not. When I turn the printer on and then off, printstatus() returns the same value (.T.). What is really happening?

Since the printer is controlled by Windows, the old PRINTSTATUS() function (which was mainly for use by DOS), no longer applies. Only the Windows spooler knows the status, it just tells the rest of the world everything is OK, hence PRINTSTATUS() sees .T. If the printer is unavailable, Windows will spool everything up to be printed later, when the printer is available.
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform