- A+
Clearing up confusion
Before we dive into the steps for adding a network printer through CMD, let us first understand what a network printer is. A network printer is a printer that is shared across multiple computers through a network connection. This means that instead of having multiple printers for different computers, you can have one single printer that can be accessed by all the computers in your network.
Prerequisites for adding a network printer through CMD
Before we start with the steps for adding a network printer through CMD, there are a few prerequisites that you should keep handy.
Name or IP address of the printer: This is the most important information that you will require. You will need to know the name or IP address of the network printer that you want to add.
Driver software for the printer: You will need to have the driver software for the printer that you want to add. This can be downloaded from the manufacturer's website.
Step-by-step guide to add a network printer through CMD
Now, let's dive into the steps for adding a network printer through CMD.
Press the Windows key + R to open the Run dialogue box.
Type in 'cmd' and press Enter.
Type in the following command: 'net use LPT1 \\
Replace '
If the printer requires a username and password, then replace '
Press Enter.
Type in the following command: 'cscript C:\Windows\System32\Printing_Admin_Scripts\en-US\prnport.vbs -a -r IP_
Replace '
Press Enter.
Type in the following command: 'cscript C:\Windows\System32\Printing_Admin_Scripts\en-US\prndrvr.vbs -a -m "
Replace '
Press Enter.
Type in the following command: 'cscript C:\Windows\System32\Printing_Admin_Scripts\en-US\prnmngr.vbs -a -p "
Replace '
Press Enter.
You have successfully added the network printer through CMD.
Conclusion
Now that you have a step-by-step guide to add a network printer through CMD, you can easily add a network printer without any hassles. Just ensure that you have the printer name or IP address and the driver software handy, and you should be good to go.





