Problem:
An application that is running in Net Express using the COBCONFIG_ variable to point at a .cfg file that contains the entry:
"set printer_redirection=TRUE"
This correctly sends the output to the spooler rather than the LPT port.
However, when the application is deployed against Net Express Application Server the output goes straight to LPT1 rather than the spooler.
Resolution:
The cobconfig_ setting isn't linked in any way to the application. When deploying you need to set cobconfig_ as a system environment variable to point at the .cfg file that you have created that contains the printer_redirection=TRUE in order for it to be picked up by the application.



