PRINT

Prints a text file.

PRINT [/D:device] [[drive:][path]filename[...]]

Where:

  • /D:drive - Specifies a printing device. You can use the LPTn format for parallel ports, where n is a number, or COMn for serial ports (see MODEMODE). The default device is LPT1.
  • [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