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.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)