Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
PRINTSTATUS & Detecting Printers on LPT1
Message
De
20/08/2005 12:58:46
 
 
À
19/08/2005 19:43:16
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
01042326
Message ID:
01042491
Vues:
27
>>PRINTSTATUS()does not work under Windows as it used to under MSDOS. Is there anyway that I can detect from a VFP9 application if a user has a printer attached AND SWITCHED ON on LPT1? At the moment if the printer is not attached or switched on the app just hangs.
>>
>>Thanks
>>Barry Sutton
>
>Not really. Under Windows, the printer is attached to a spooler which is always on, no matter if the printer is turned on or not.

Fred,
Thanks for confirming that. Is there anyway to set up a timeout against the spooler so that I can avoid a hanging app in this circumstance?

Barry.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform