Table of Contents
The Print Command in Windows is easier to understand when the core ideas are paired with practical examples. The sections below explain the topic clearly, highlight useful steps, and point out details that can prevent common errors.
The print command sends text files to the printer.
To learn more about how to use this command, see the example at the end of the article.
Syntax print command
Print [/ d:] [:] [] [.]
The command parameter print
Parameters
Describe
/ d:
Specify the printer you want to use.To print to a locally connected printer, specify the port on your computer (printer location is connected).
- 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 printer network by using its queue name (Server name * Printer name *).If you do not specify a printer, the print job will be sent to LPT1 by default.
:
Specify the logical drive or physical drive where the file you want to print is located (where the print file is stored).This parameter is not required if the file you want to print is already on the current drive.
Specify the location of the file you want to print.This parameter is not required if the file you want to print is in the current directory.
[.]
Reference is required.Specify the file you want to print.You can attach multiple files in one print job.
/?
Show help at thecommand prompt.
Command statement print
A file can be printed in the background if you send it to a printer connected to a serial or parallel port on the local computer.
You can perform many configuration tasks from thecommand promptusing the Mode command.
Refer to the Mode command for more information on:
- Configure the printer connected to the parallel port.
- Configure the printer connected to the serial port.
- Displays the status of the printer.
- Set up a printer to convert code pages.
Example print command
- The net print command in Windows
- Netcfg command in Windows
- Nbtstat command in Windows
- Bitsadmin create command in Windows
FAQ
What should you know about command statement print?
A file can be printed in the background if you send it to a printer connected to a serial or parallel port on the local computer.
What is The Print Command in Windows?
The print command sends text files to the printer.
Why is The Print Command in Windows important?
A clear understanding of The Print Command in Windows helps you make informed decisions, avoid common mistakes, and use the relevant tools or techniques more effectively.
Reader Comments 0
Sign in with email or Google to join the discussion.