|
PRINT
Sends a text file to a printer.
Syntax
PRINT [/D:device] [pathname(s)]
Key
device : either a local printer (LPTx, COMx )
or a network printer by its sharename
(\\servername\print_share)
pathname : The file or files to be printed
A file can print in the background if you send it to a
printer connected to a serial or parallel port on the local
computer.
The default device is PRN. The values PRN and LPT1 refer to
the same parallel port.
You can perform many configuration tasks from the command
line by using the MODE command.
Examples
To send the file File.txt in the current directory to a
printer connected to LPT2 on the local computer, type:
print /d:LPT2 file.txt
Cmd Commands
|