Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Testing if printer is on-line
Message
From
29/09/1999 12:21:26
 
 
To
28/09/1999 21:39:09
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00270316
Message ID:
00270588
Views:
25
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform