General information
Title:
Different Environment for Printers in an Executable
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
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