Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Different Environment for Printers in an Executable
Message
From
30/09/1999 11:36:45
Thomas Ianuzzi
Information Security Consultants, Inc.
Florida, United States
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Different Environment for Printers in an Executable
Miscellaneous
Thread ID:
00271112
Message ID:
00271112
Views:
56
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
Next
Reply
Map
View

Click here to load this message in the networking platform