OpenWindows Advanced User's Guide

6.4 Printing a File

Once you have quit a vi file, you can print the file with the following command:

$ lp filename

where filename is the name of the vi file to be printed. This command prints the file to your default printer. The file is printed without any formatting, line for line, just as it appears on the screen. See Chapter 8, Using Printers, for more information on printer commands.