Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
PrintStatus() always returns .T.
Message
 
 
To
15/03/2007 16:01:32
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01204202
Message ID:
01204206
Views:
24
>I did a SET PRINTER TO NAME MyLocalPrinter.
>I checked with SET('printer',3) to make sure.
>Everything was ok... then PrintStatus() return .T.
>I put printer offline... then PrintStatus() return .T.
>I put printer OFF... then PrintStatus() return .T.
>I disconnect printe... then PrintStatus() return .T.
>I put the printer in the garbage... and PrintStatus() return .T. again :-(
>Why?

It almost never returns .f. There is no easy way for checking printer status from VFP, though this topic was discussed here several times.

See Re: Printer Status Thread #1118502 Message #1118795 for solution.
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform