Hello world/Line printer: Difference between revisions

→‎{{header|N/t/roff}}: Fix typos and stuff
(Add language: NROFF. Also, I was born in 2000, so I don't actually know what a line printer is, but I remember somewhere how to typeset documents for the line printers.)
(→‎{{header|N/t/roff}}: Fix typos and stuff)
Line 568:
=={{header|N/t/roff}}==
 
/.ROFF/, being a document formatting language, is especially suited for formatting documents and sending them to printers of nearly all types. In fact, /.ROFF/ has been used to print documents on line printers.
To send the output to the line printer, you must compile the source file with the following command on the shell, assuming the source file is <code>file.roff</code> and that the line printer is already setup properly.
 
Line 575:
</code>
 
In this case, you must use NROFF, not TROFF, to compile the source file., Asas NROFF is better-suited for monospaced, typewriter-style line formatting.
 
Because /.ROFF/ is a document formatting language, the majority of lines in a typical /.ROFF/ source file is to be textual input. This input is typeset directly onto the output medium. Therefore, the user need not call a procedure to print text to any terminal.
Anonymous user