Print and Edit Through DOS Mode
If you are working at the Command Prompt your can modify and print the text file very easily. There are different ways to print text a file while working at the Command Prompt. Assuming the file you want to print is in your current folder, you can type here with your file name with extension. For example
and press Enter. Here .txt is the file extension. You must use the extension. Now in the same way you can edit this file before printing with given command
and press Enter. This command opens the MS-DOS Editor to edit this file. Edit the file and then press Alt, F, P to print it.