Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>For printers without SNMP support, you'll probably have to implement a manufacturer-specific solution. If you want to write an AIR app that talks to SNMP-enabled printers, I can see the following approaches:</p> <h3>Implement SNMP client in ActionScript</h3> <p>Since SNMP is usually based on UDP, you could use <a href="http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/net/DatagramSocket.html" rel="nofollow">flash.net.DatagramSocket</a> to implement your own SNMP client in AIR. AFAIK, there are no ready-to-use ActionScript libraries, so you'd need expert knowledge of the SNMP protocol and a lot of development time.</p> <h3>Write an AIR Native Extension</h3> <p>With a Native Extension (ANE) you could implement the SNMP client in C/C++. This has the advantage that you could use an open source library like <a href="http://www.net-snmp.org/" rel="nofollow">Net-SMTP</a> to do the heavy lifting, but you'd still need some experience in developing and building C/C++ libraries.</p> <h3>Use a command-line tool</h3> <p>The easiest solution is probably to use one of the free SNMP command-line utilities from <a href="http://www.net-snmp.org/" rel="nofollow">Net-SMTP</a> or <a href="http://www.snmpsoft.com/freetools/index.html" rel="nofollow">SnmpSoft</a>, for example. All you have to do is to call one of these programs using <a href="http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/desktop/NativeProcess.html" rel="nofollow">flash.desktop.NativeProcess</a> providing the correct arguments and then parse the output.</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload