locked
Retrieving and modifying the default paper type with PowerShell RRS feed

  • Question

  • The paper size is easily retrieved, but not paper type. The command below with both properties desired brings back an empty string. When trying to write a value to it, it is read only. Is there another method? Having the wrong papertypr setting can cause the printer to always seek the manual feed and is a big problem over a large enterprise. 

    Get-WmiObject -Class Win32_Printer -Filter "Name = 'Headspace'" | Select-Object CurrentPaperType, DefaultPaperType


    Friday, January 19, 2018 1:06 AM

All replies

  • Not available for network printers.  Only works with physically attached printers and only if the vendor has support for WMI.


    \_(ツ)_/

    • Proposed as answer by I.T Delinquent Friday, January 19, 2018 10:34 AM
    Friday, January 19, 2018 1:27 AM