Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Different Environment for Printers in an Executable
Message
From
01/11/1999 14:57:06
Thomas Ianuzzi
Information Security Consultants, Inc.
Florida, United States
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00271112
Message ID:
00285008
Views:
20
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
Map
View

Click here to load this message in the networking platform