Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Testing if printer is on-line
Message
De
29/09/1999 12:21:26
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
00270316
Message ID:
00270588
Vues:
27
>Please, how can I test printer status? I learn that PRINTERSTATUS() always return .T., if the printer is installed in windows... I'd like to know when it is turned on or off.

Inside of Windows, it's difficult to do, since you talk to the print spooler rather than the printer. Short of some very low-level APIs to talk directly to a local printer port, there's no simple way to accomplish this.
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform