IBM Machine Code Printer Control Characters
Early mainframe printers were usually line printers. Line printers provide a limited set of commands to control how the paper is advanced when print lines are printed. The application writing reports, list, etc. to be printed has to include those commands in the print data. These single character print commands are called printer control characters. Source: e01 Encyclopedia. Licence: CC BY-SA 4.0.
Early mainframe printers were usually line printers. Line printers provide a limited set of commands to control how the paper is advanced when print lines are printed. The application writing reports, list, etc. to be printed has to include those commands in the print data. These single character print commands are called printer control characters. RECFM=..A specifies that the data set contains ASA control characters. RECFM=..M specifies that the data set contains IBM machine control characters. ==Language support for printer control== Many programming languages simply place the desired control character in the first byte of the line to be printed. COBOL and PL/I also have a system-independent method of specifying printer controls. The compiler or run-time will translate these options into the appropriate control character. ===COBOL=== COBOL uses the syntax WRITE record-name AFTER ADVANCING n Lines. , where record-name is the name of the area containing the line and n is the number of lines. Additionally BEFORE ADVANCING can be used or BEFORE|AFTER ADVANCING TOP to skip to the top of a new page. ===PL/I=== PL/I uses the syntax PUT SKIP(n) ... to skip n lines before printing, or PUT PAGE ... to skip to a new page.
Cite this
"IBM Machine Code Printer Control Characters". 1782048189. e01 Encyclopedia. CC BY-SA 4.0. https://en.wikipedia.org/w/index.php?oldid=1360449543 JSON record · API collection · BibTeX · RIS · CSL-JSON · citation policy