DigiCruncher

Crunching Digital Bytes

  • Home
  • Gadgets
  • Internet
  • Saas
  • Windows
  • Software
  • Tech
  • About Us
  • Contact Us
You are here: Home / Windows / In-depth Guide On How To List Printers In Command Line

In-depth Guide On How To List Printers In Command Line

December 12, 2022 by Sanmay Chakrabarti 1 Comment

Windows 10 includes multiple features that cater to the users’ needs. The Windows operating system has always been known for its easy user interface and being able to execute almost anything using the command line interpreters.

In Windows 10, it is possible to list printers in command line on your PC. This command line is particularly useful because you can get the printers in a list and export them into .txt file. In this article, I have discussed how to get a printers list using the command line in Windows 10.

Also read:

  • What To Do When Printer Is Not Responding 
  • Fix: HP Printer Not Printing Black

Use List Printers Command Line

Contents

There are two command-line interpreters in Windows 10. One is the old Command Prompt and the other is the newer Windows PowerShell. Both the command line interpreters are capable of listing printers using different command lines. Below I have mentioned the command lines used by both the command line interpreters to show the printers list.

View List of Printers With Command Prompt

The Command Prompt or CMD list printers using the wmic command line. To use the wmic command line in Command Prompt, follow the steps given below:

  1. Press Windows + R keys to launch the Run utility.
  2. Type cmd and press Ctrl + Shift + Enter to open an elevated Command Prompt.
  3. Now, type wmic printer list brief command and press Enter. This will list the printers and show it in the Command Prompt.

You can export the printer list from Command Prompt to a text file. To do it, follow the steps given below:

  1. After listing the printers in the command prompt, type the following command and press Enter.
    wmic printer list brief > %userprofile%\Desktop\printers_list.txt
  2. When the above command is initialized, a new file will be created on your Desktop that will contain the printers list.

list_printers_command_line_cmd

View List of Printers With PowerShell

You can also use the Windows PowerShell in the place of command prompt. However, both the interpreters use different commands to execute them. To view the list of printers with PowerShell, follow the steps given below:

  1. Right-click on the start button and select the Windows PowerShell option from the pop-up menu.
  2. Type the following command and press Enter:
    Get-Printer | Format-Table

The printers list will appear on your screen after the above command runs. You can also export it into a .txt file. To do it, follow the steps given below.

  1. After following the above two steps, type the following command:
    Get-Printer | Format-Table | Out-File “$env:userprofile\Desktop\installed_printers.txt”
  2. The file will be created on your desktop with a list of all the printers.

list_printers_command_line_powershell

How To View Printers In PC Without Using Command-Line?

It is not required that you must use the command line to view the printer on your PC. However, using the command line will allow you to view them in a list. You can check the printers in your computer from the Settings app and Control Panel. The following are the steps you need to follow to view the printers in the Settings app and Control Panel:

To view the printers in the Settings app, follow the steps given below:

  1. Right-click on the start menu and select the Settings option to open the Settings app.
  2. Select the Devices option and then click on the Printers and scanners option to view the printers in your PC.

To view the printers in the Control Panel, follow the steps given below:

  1. Type Control Panel in the search bar and select the appropriate option to open the Control Panel on your computer.
  2. Click on the Devices and Printers option to view the printers listed in Control Panel.

These are the two methods you can use to view the printers in your PC without using the Command-Line. Using the Command Line to view printers list is a much faster alternative than thee two.

Wrapping Up

So, there you have it. Now you know how to use the list printers command line on Command Prompt and PowerShell. If you have any questions related to this topic, ask them in the comment section.

Filed Under: Windows Tagged With: How To

About Sanmay Chakrabarti

Sanmay is a Tech enthusiast. He has been troubleshooting PC issues for 6 years and writing about them for 4. Reading books, traveling to new places and listening to music are some of his favorite hobbies.

Comments

  1. Leo says

    August 4, 2021 at 10:02 am

    brilliant! exactly what i was looking for! thank you Sanmay!

    Reply

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Digicruncher_Twitter_handle Digicruncher_Facebook_handle Digicruncher_pin_handle Digicruncher_Rss_Feed

Recent Posts

  • Your In Browser Storage For Mega Is Full – How To Resolve?
  • MTG Arena Invalid Command Line Error – 2 Easy Fixes
  • The Creative Toolbox: Innovations in Visual Storytelling
  • Easy Fixes: Audio Render Error
  • How To Fix System 5 Error Has Occurred On Windows?

16 shares