Prints a text file.
PRINT [/D:device] [[drive:][path]filename[...]]
Where:
/D:drive
- Specifies a printing device. You can use theLPTn
format for parallel ports, wheren
is a number, orCOMn
for 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