Compartilhar via


Installed (TCP/IP)

O constructo TCP/IP Instalado contém a ID do objeto (OID) da linha da tabela MIB e uma lista de valores de pesquisa. If any of the lookup values exists in the row, this algorithm returns TRUE. A maioria das consultas relacionadas à configuração da impressora deve determinar se há um valor específico armazenado no MIB da impressora e, em seguida, retornar um resultado booliano. O constructo instalado é definido em Tcpbidi.xsd.

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 (Opcional) Um valor booliano que indica se o monitor de porta envia notificações ao driver. 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 O nome do valor do esquema.
oid A linha da tabela MIB, como um OID.
refreshInterval O valor do intervalo de sondagem, em segundos. O valor padrão é 600 segundos.

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>

O exemplo anterior resulta na seguinte consulta:

\Printer.Configuration.DuplexUnit:Installed