Skip to main content

Devices (Tools/APIs)

Work programmatically with devices such as printers; configure; query for list of devices.

Background Information

ObjectScript provides commands for working with devices. For details, see the I/O Device Guide and ObjectScript Reference.

Available Tools

In addition, InterSystems provides the following tools:

Provides a set of class methods for working with devices. These include:

  • Broadcast()

  • ChangePrincipal()

  • Get()

  • GetReadTerminators()

  • GetReadType()

  • And others

Availability: All namespaces.

Exposes some NLS properties of the current device and provides methods for changing those properties.

Availability: All namespaces.

Enable you to modify and obtain information about the [Devices] and [DeviceSubTypes] sections of the CPF. (Note that you usually modify this file via the Management Portal. See Devices and DeviceSubTypes.)

Each class also provides a class query called List().

The class documentation includes examples and details.

Availability: %SYS namespace.

See Also

FeedbackOpens in a new tab