IBM Machine Code Printer Control Characters
Early mainframe printers were usually line printers.[src] Line printers provide a limited set of commands to control how the paper is advanced when print lines are printed.[src] The application writing reports, list, etc.[src] to be printed has to include those commands in the print data.[src] These single character print commands are called printer control characters.[src]
Early mainframe printers were usually line printers.[src] Line printers provide a limited set of commands to control how the paper is advanced when print lines are printed.[src] The application writing reports, list, etc.[src] to be printed has to include those commands in the print data.[src] These single character print commands are called printer control characters.[src] RECFM=..A specifies that the data set contains ASA control characters.[src] RECFM=..M specifies that the data set contains IBM machine control characters.[src] ==Language support for printer control== Many programming languages simply place the desired control character in the first byte of the line to be printed.[src] COBOL and PL/I also have a system-independent method of specifying printer controls.[src] The compiler or run-time will translate these options into the appropriate control character.[src] ===COBOL=== COBOL uses the syntax WRITE record-name AFTER ADVANCING n Lines.[src] , where record-name is the name of the area containing the line and n is the number of lines.[src] Additionally BEFORE ADVANCING can be used or BEFORE|AFTER ADVANCING TOP to skip to the top of a new page.[src] ===PL/I=== PL/I uses the syntax PUT SKIP(n) ...[src] to skip n lines before printing, or PUT PAGE ...[src] to skip to a new page.[src]
21 sentences · 21 cited inline · 0 references stored
References
No reference rows published for this article.
Cite this article
MLA
"IBM Machine Code Printer Control Characters." encyclopegia.org, 2026, https://encyclopegia.org/wiki/ibm-machine-code-printer-control-characters. Accessed 01 December 2026.
Chicago
"IBM Machine Code Printer Control Characters." encyclopegia.org. Accessed December 1, 2026. https://encyclopegia.org/wiki/ibm-machine-code-printer-control-characters.
APA
encyclopegia.org. (2026). IBM Machine Code Printer Control Characters. Retrieved December 1, 2026, from https://encyclopegia.org/wiki/ibm-machine-code-printer-control-characters
Accessed December 1, 2026 · CC BY-SA 4.0 · citation page · JSON