Powershell, no printer available.

Filip 831 Reputation points
2021-05-04T19:16:02.817+00:00

Hello.

I tried this code: See-the-code.
But i got an error. That I have no available printer (i think).

93412-a.png

But i don't understand what is wrong when. Printer is turn on and i can print stuff from it .
Can somebody help me?

Thanks for answare.

Windows for business | Windows Server | User experience | PowerShell
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Anonymous
    2021-05-05T09:45:13.817+00:00

    Hi,

    It means the printer is not recognized as a WIA device. You can list the printers with the Win32_Printer WMI class.

    Get-WmiObject -Class Win32_Printer  
    

    Best Regards,
    Ian Xue

    ============================================

    If the Answer is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.