You're right. I never considered that. Is there an API that can do it?
Thanks,
Arriyel
>Meseems this is the same as PrintStatus() - Windows will always report that the printer is on-line (if the printing queue is enabled).
>
>Hilmar.
>
>>Hi,
>>
>>Have you tried SYS(13)? It returns the status of the current printer.
>>
>>HTH,
>>Arriyel
>>
>>>Any one who knows a function to detect if a printer is online of offline?
>>>The printstatus() function of foxpro always returns online even if the printer is not connected or offline.
>>>
>>>I need a function to detect if the printer is offline because in one of my transaction module i want to require the user to make the printer online before proceeding to transaction.
Speak using soft and sweet words in case you have to eat them later.