Microsoft KB Archive/23811

Print Buffer Not Dumped at CLOSE or STOP RUN Commands

PSS ID Number: Q23811 Article last modified on 04-21-1993

2.20 MS-DOS

Summary: The print buffer is not dumped when the CLOSE command is executed, or when RUNCOB exits to DOS. This problem is printer specific. To work around this problem, do the following: 1. Send one final carriage-return sequence to the printer (through a COMP-# variable) before closing the print file. 2. Toggle the printer off line for a moment, then toggle it back on line. This problem has not been duplicated under COBOL 3.0.

Additional reference words: 2.20 Copyright Microsoft Corporation 1993.