Print
Prints a text file while you are using other Windows NT commands.
This command can print in the background if you have an output device
connected to one of your system's serial or parallel ports.
print [/d:device] [drive:][path] filename[ ...]
Parameters
none
Type print without parameters to display the contents of the print queue.
/d:device
Specifies the name of the print device. Valid values for parallel ports are
LPT1, LPT2, and LPT3. Valid values for serial ports are COM1, COM2, COM3, and
COM4. You can also specify a network printer by its sharename (\\servername\print_share). The default value is PRN. The values PRN and LPT1 refer to the same
parallel port.
[drive:][path] filename
Specifies the location and name of a file or set of files you want to print.
You can include multiple files on one command line.
See Also
For information about configuring a printer connected to a parallel port, see
the MODE (configure printer) command.
For information about displaying the status of a printer, see the MODE (display device status) command.
For information about configuring a printer connected to a serial port, see
the MODE (redirect printing) command.
For information about preparing printers for code-page switching, see the MODE (set device code pages) command.
More Information About Print
Print--Notes
Print--Examples