>>I am sending a text file to a Zebra Z4000 label printer. The problem is if the printer is off or not connected then my app locks up and it is not responding. I am using the CopyFile Win32API function to print. Any ideas?
>>TIA!
>
>Take a look at PrintStatus at the VFP help.
Martin,
If the printer is connected through the Windows Control Panel, the function always returns .T.
George
Ubi caritas et amor, deus ibi est