none
v4 printer device app and snmp RRS feed

  • Question

  • Hi guys,

    Can someone confirm that it is possible to do direct snmp communication between a printer device app and a printer? This is considering that the printer device app will be using its own snmp library using metro compatible socket APIs. It will not be using windows snmp API as they are not available in metro. Thanks.

    Thursday, July 25, 2013 12:23 AM

Answers

  • In some scenarios, it's possible to get the endpoint's IP address, but this isn't true universally, so we don't recommend the route you're looking at. Also, making these kinds of queries directly from your UI leads to some messy layering, as it means the UI will need to know the exact OIDs to query for each device supported.

    You'd be much better off looking into implementing a Bidi extension in your v4 print driver. This way, it doesn't matter if you're connected by USB, TCP/IP or WSD, the interface for getting information from the device is the same, and you don't need to rev your app for new devices.

    http://msdn.microsoft.com/en-us/library/windows/hardware/jj659904(v=vs.85).aspx

    Thursday, July 25, 2013 4:50 PM

All replies

  • In some scenarios, it's possible to get the endpoint's IP address, but this isn't true universally, so we don't recommend the route you're looking at. Also, making these kinds of queries directly from your UI leads to some messy layering, as it means the UI will need to know the exact OIDs to query for each device supported.

    You'd be much better off looking into implementing a Bidi extension in your v4 print driver. This way, it doesn't matter if you're connected by USB, TCP/IP or WSD, the interface for getting information from the device is the same, and you don't need to rev your app for new devices.

    http://msdn.microsoft.com/en-us/library/windows/hardware/jj659904(v=vs.85).aspx

    Thursday, July 25, 2013 4:50 PM
  • Thanks. Bidi looks promising. However, it currently cant cover all the configuration data in our mfp devices. Some configuration data can only be accessed using snmp set operation which Bidi cant support. It can run under secure snmp v3 mode which Bidi cant support as well. In our case, we target compatibility with our previous devices so I'm not sure we can go with Bidi all the way. 
    Friday, July 26, 2013 5:01 AM