Windows.Devices.Printers

Overview

The Windows.Devices.Printers namespace provides access to printer-related APIs. These APIs are used to discover, connect, and manage printers on the system.

APIs

Category Name Description Link
Printer AddPrinter Adds a printer to the system. https://learn.microsoft.com/en-us/windows/desktop/api/win32dpi/fn-addprinter
Printer DeletePrinter Deletes a printer from the system. https://learn.microsoft.com/en-us/windows/desktop/api/win32dpi/fn-deleteprinter
Printer GetPrinterCapabilities Retrieves the capabilities of a printer. https://learn.microsoft.com/en-us/windows/desktop/api/win32dpi/fn-getprintercapabilities
Printer GetPrinterDriverName Gets the name of the driver associated with a printer. https://learn.microsoft.com/en-us/windows/desktop/api/win32dpi/fn-getprinterdrivername
Printer GetPrinterInfo Retrieves the information about a printer. https://learn.microsoft.com/en-us/windows/desktop/api/win32dpi/fn-getprinterinfo
Printer GetPrinterLocation Gets the location of a printer. https://learn.microsoft.com/en-us/windows/desktop/api/win32dpi/fn-getprinterlocation
Printer GetPrinterName Gets the name of a printer. https://learn.microsoft.com/en-us/windows/desktop/api/win32dpi/fn-getprintername
Printer GetPrinterPort Gets the port associated with a printer. https://learn.microsoft.com/en-us/windows/desktop/api/win32dpi/fn-getprinterport
Printer GetPrinterStatus Gets the status of a printer. https://learn.microsoft.com/en-us/windows/desktop/api/win32dpi/fn-getprinterstatus
Printer ListPrinters Lists all printers on the system. https://learn.microsoft.com/en-us/windows/desktop/api/win32dpi/fn-listprinters