Thomas:
I can get the error when I open VFP two times and run the code. Is this the case for you?
--Paul
>I have application which produces a file by capturing printer output.
>It works fine as an interactive application but, when compiled as an executable, it results in an error "printer is not ready" Anyone have any idea why this happens?
>
>The offending code is shown below
>
>*EMPTY THE FILE
> SET SAFETY OFF
> SET PRINTER TO NewYellow.iif
> SET PRINTER ON
> SET CONSOLE OFF
> ???''
> SET PRINTER OFF
> SET PRINTER TO
> SET CONSOLE ON
>
>* OPEN THE FILE FOR USE
>
> SET PRINTER TO NewYellow.iif ADDITIVE
> SET PRINTER ON &&********here is where the error occurs***
> SET CONSOLE OFF