Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Printstatus() doesn't work!
Message
From
06/08/1999 19:28:26
 
 
To
06/08/1999 19:14:39
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Miscellaneous
Thread ID:
00250968
Message ID:
00250974
Views:
34
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform