Error: Program stack exhausted
When using the PLOT command on a map composition, the application returns the error:
"Program stack exhausted"
A complicated or complex map composition may be overwhelming the stack used to store the plot elements, before they are sent to the plotter.
Solution or Workaround
- Set the following DOS variable before issuing the PLOT command:
SET TNT=-stack 512000
- Redirect the output to a file and then copy it to the port. Use the following code to do this.
PLOT mapcomposition # # 0 > test.plt COPY test.plt LPT1