Which line gives the error? What commands are you using to do actual printing?
>Hi
>
>Running VFP6 on Windows 2000 printing to networked Lexmark Dot Matrix printer on Windows 98 pc.
>
>When I run VFP from an executable with the following code
>
>set printer to name getprinter()
>set printer on prompt
>
>I get printer not ready (not all the time but on and off)
>
>When I start VFP and then run the executable within it I don't get the message and printing is fine.
>
>Any bright ideas?
>
>Thanks
>
>Colin Northway
--sb--