Prints a text file.
PRINT [/D:device] [[drive:][path]filename[...]]
Where:
/D:drive- Specifies a printing device. You can use theLPTnformat for parallel ports, wherenis a number, orCOMnfor serial ports (see MODEMODE). The default device isLPT1.[drive:][path]filename- Specifies the text file to print.
Example: Print the file C:\Hello foo\bar.docx:
print "C:\Hello foo\bar.docx"
Comments