>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