Microsoft KB Archive/36807

Page 6-5 COBOL 3.0 Mentions Sending Control Codes to Printer

PSS ID Number: Q36807 Article last modified on 04-20-1993

3.00 | 3.00 MS-DOS | OS/2

Summary: Page 6-5 of the “Microsoft COBOL Compiler Version 3.0: Operating Guide” describes sending printer control codes to the printer. It states that “you can include printer control codes within COBOL literals in your source program.” To put the escape sequence in the literal, you need to use a word processor that allows you to embed control characters (such as the Microsoft Editor, which comes with COBOL Version 3.0). You can also send printer control codes to the printer by including the hexadecimal printer code in the COBOL literal. Query for “hex codes in COBOL Version 3.0 literal” to obtain a code example to do this.

Additional reference words: 3.00 Copyright Microsoft Corporation 1993.