locked
How can I get Printer Information from Metro Apps

    Question

  • Hi All,

    I'm developing an application using C# and XAML and I want to know if there is a way to get printer information from Metro Apps? Can I use Windows.Devices.Enumeration to get the printers list and printer information like printer model, printer name, printer status, ...?

    Another question is what are the printer properties I can have access in a metro app?

    Thanks in advance for your help.

    Tuesday, February 05, 2013 11:30 PM

Answers

All replies

  • Doing a lot of research regarding this topic now I'm able to know what printers are installed in my device using PnpObject.FindAllAsync() method and filtering by System.DeviceInterface.PrinterName property.

    Right know I'm getting some property information and taking a look on System.DeviceInterface.PrinterPortName property I noticed that it returns WSD address.

    So, my question is, can I use WSD API's to get printer information like printer status?

    Thanks in advance.

    Thursday, February 07, 2013 2:06 PM
  • Friday, February 08, 2013 7:16 AM