>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.