Paul
I get the error the first time I run the code. I just tried replacing the file emptying with the delete file command in the hopes that opening it inly once would help but the results are the same. I have also tried looking in the .scx file for reference to my current printer but with no luck
Tom
>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
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only