Hello everyone.
I have a C program and I needed to write data via printf from this program to 2 different spool files. I did OVRPRTF stdout and called printf. Everything worked great! Next, I removed the override via DTLOVR, made OVRPRTF stdout again, but this time to a different printer file and set a different spool name. However, a subsequent call to printf did print to the first spool.
Explain what is happening and how to solve it?
I have a C program and I needed to write data via printf from this program to 2 different spool files. I did OVRPRTF stdout and called printf. Everything worked great! Next, I removed the override via DTLOVR, made OVRPRTF stdout again, but this time to a different printer file and set a different spool name. However, a subsequent call to printf did print to the first spool.
Explain what is happening and how to solve it?
Comment