Installed (TCP/IP)

Das installierte TCP/IP-Konstrukt enthält die Objekt-ID (OID) der Zeile der MIB-Tabelle und eine Liste der Nachschlagewerte. If any of the lookup values exists in the row, this algorithm returns TRUE. Die meisten Abfragen im Zusammenhang mit der Konfiguration des Druckers sollten bestimmen, ob ein bestimmter Wert im MIB des Druckers gespeichert ist und dann ein boolesches Ergebnis zurückgibt. Das Installed-Konstrukt wird in Tcpbidi.xsd definiert.

Attribute Description
deviceIndex (Optional) A flag that, when TRUE, means that the associated algorithm must include the device index in the specified OID; when FALSE, a trailing zero is appended to the OID. The default value is FALSE. For more information, see the note on the page for Value.
drvPrinterEvent (Optional) Ein boolescher Wert, der angibt, ob der Portmonitor Benachrichtigungen an den Treiber sendet. A TRUE value indicates that the port monitor sends notifications to the driver; FALSE indicates that the port monitor does not send notifications to the driver.
name Der Name des Schemawerts.
oid Die Zeile der MIB-Tabelle als OID.
refreshInterval Der Wert des Abrufintervalls in Sekunden. Der Standardwert beträgt 600 Sekunden.

Code Example

In the following code example, the lookup algorithm retrieves the MIB table row from 1.3.6.1.2.1.43.13.4.1.9.<deviceIndex>. If this table row contains either 3 or 4, the query returns TRUE; otherwise the query returns FALSE.

<Property name="DuplexUnit">
  <Installed name="Installed" oid="1.3.6.1.2.1.43.13.4.1.9" deviceIndex="true">
    <Lookup value="3"/>
    <Lookup value="4"/>
  </Installed>
</Property>

Im vorherigen Beispiel wird die folgende Abfrage angezeigt:

\Printer.Configuration.DuplexUnit:Installed